:: Forum >>

List of URLs


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

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"]);
Alex (ActiveWidgets)
Tuesday, March 21, 2006

This topic is archived.

Back to support forum

Forum search