Announcement

Collapse
No announcement yet.

Section List Logos

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Section List Logos

    Is it possible to replace the top level section list with the section graphic, instead of the section name.

    I would like to show a list of brand logo's instead of the name of the brand...

    Is there someway of saying graphic instead of name in the yahooSections function:

    E.g, ar[i].sGraphic

    Thanks!
    Black Cat Watches

    #2
    Yep! Use

    ar[i].sImage

    and you can get the height and width from ar[i].nImageHeight and ar[i].nImageWidth

    You'll need to do something like
    Code:
    strIDs += ('<a href="' + ar[i].pChild[j].sURL + '">'
             + '<img src="' + ar[i].sImage + '" width="' + ar[i].nImageWidth 
             + '" height="' + ar[i].nImageHeight + '"></a><br>');
    PS. You might want two <br><br> at the end so the images don't run into each other.
    Last edited by NormanRouxel; 08-Mar-2006, 06:26 PM. Reason: Added wise thought.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X