Board Logo

dynamically generated scroller content
asleepwheel - 8/4/2005 at 10:52 PM

i have a scroller all setup to read in an external file for the scrolling contents. this works fine in situations where i'm using the scroller in multiple files because i can keep the path/filename to the contents static.

what i really want to do is set the path to the external contents file programatically (with PHP or ASP, etc.). i want to be able to populate the scroller element with different contents when the page is loaded.

is there a way to pass the external contents path into the 'scroll.tpl0.js' file from my HTML page at load time? is there a better way to dynamically change the source of my scrolling content?

thanks for any help provided!


asleepwheel - 8/4/2005 at 11:27 PM

sorry, i just figured it out. i edited 'scroll.tpl0.js' to properly build the path on the fly. it works great!

Back to forum: