View Full Version : memory scroller linking

05-20-2005, 10:33 AM
Is there a way when clicking on the 'link' within the memory scroller for it to update the page the scroller is on rather than opening up a new _blank page ? Obviously the linked page will also have the memory scroller script within it.

05-20-2005, 07:37 PM
Your question is a little unclear to me. You could easily have one or all of the links inside the memory scroller go to another page with a memory scroller on it. Just make another page with the memory scroller on it and link to it from the memory scroller on the first page. To prevent a new window from opening, don't use any target attribute for the link. The links in the demo don't have targets and so open in the same window. If what you mean though is that you want to remain on the same page and just have the contents of the memory scroller change, that would require more doing. Probably at least adding a function (to switch and repopulate the memory scroller content) and an 'alternate content' variable (to hold the other content, while waiting for its use) to the script. An 'alternate content' array could allow for multiple scroller content changes.

05-25-2005, 12:50 PM
Cheers, sorry for the delay, i was being new to the whole scripting thing. you answer was great as it was the target attributes that are opening the link in a new window.