:: Forum >> Version 2 >>

List of URLs

Hi,

Are there any examples of making a List control whose elements are actually clickable URL's?

Thanks
Panama Jack
Sunday, March 19, 2006
Use AW.Templates.Link as ItemTemplate -

var obj = new AW.UI.List;
    
obj.setItemTemplate(new AW.Templates.Link);
    
obj.setItemText(["Google""Yahoo""Microsoft"]);
    
obj.setItemImage(["search""home""favorites"]);
    
obj.setItemLink(["http://google.com""http://yahoo.com""http://microsoft.com"]);
    
obj.setItemCount(3);
    
document.write(obj);

 
Alex (ActiveWidgets)
Tuesday, March 21, 2006



This topic is archived.

Back to support forum

Forum search