Results 1 to 3 of 3

Thread: memory scroller linking

  1. #1
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default memory scroller linking

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default answered

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •