Events "list.onItemClicked" and "tree.onItemClicked" don't trigger anymore inside "group.setContent" since version 2.5.1
In IE6 & IE7, the event "onItemClicked" doesn't fire when "list" is inside a "group" field. It works excellent, when the objects "list" or "tree" are outside of "group" (bottom example). In Version 2.0.2 this was working fine and as expected.
Please check the code below.
Any hints & tips are greatly appreciated. Thank you all in advance for your responsed!
Please check the code below.
Any hints & tips are greatly appreciated. Thank you all in advance for your responsed!
<HTML>
<HEAD>
<SCRIPT src="aw.js"></SCRIPT>
<LINK href="aw.css" rel=stylesheet></LINK>
<STYLE>
.aw-mouseover-item { background:#101060 }
#group1 { height:180px }
</STYLE>
<BODY>
<CENTER>
<SCRIPT>
var listText = ["test1","test2","test3","test4"];
var listLink = ["http://www.google.de","http://www.google.de","http://www.google.de","",""];
var list1 = new AW.UI.List;
list1.setId("list1");
list1.setItemText(listText);
list1.setItemCount(4);
list1.onItemClicked = function(event,i){alert("..." + i + "..." + listLink[i] + "...") ; if(listLink[i])window.location=listLink[i];}
var list2 = new AW.UI.List;
list2.setId("list2");
list2.setItemText(listText);
list2.setItemCount(4);
list2.onItemClicked = function(event,i){alert("..." + i + "..." + listLink[i] + "...") ; if(listLink[i])window.location=listLink[i];}
var group1 = new AW.UI.Group;
group1.setId("group1");
group1.setContent("", "<center>" + list1.toString() + "</center>" ) ;
document.write(group1);
</SCRIPT>
<br><br>
<SCRIPT>
document.write(list2);
</SCRIPT>
</CENTER>
</BODY>
</HTML>
sysadm
April 11,