#1 (permalink)  
Old 05-20-2008, 12:41 PM
Junior Member
 
Join Date: May 2008
Posts: 2
Default Thumbnail Links

Hey,

I would like to have the thumbnails run a function on click, obviously doing something different for each image... I currently have this...

on (release){
txt.load("../_txt/buzz/buzz-1.xml");
}

How do I use the ID from data.xml to build each link?

Hope you can help.

Cheers, Rob.
Reply With Quote
  #2 (permalink)  
Old 05-20-2008, 12:56 PM
Junior Member
 
Join Date: May 2008
Posts: 2
Default Solved!

From line 105

function clickHandler(dat, lbl) {
txt.load("../_txt/text-"+dat+".xml");
}

Hope that helps someone!
Reply With Quote
  #3 (permalink)  
Old 05-20-2008, 07:39 PM
Super Moderator
 
Join Date: May 2008
Posts: 518
Send a message via Skype™ to Adrian
Default

Glad to hear that Rob, but I think you are referring to the horizontal/vertical scroller component. Anyway, glad you solved it
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.