Results 1 to 3 of 3

Thread: Switch Content - back/next as trigger?

  1. #1
    Join Date
    Nov 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content - back/next as trigger?

    In the Switch Content script, [ http://www.dynamicdrive.com/dynamici...tchcontent.htm ] how can the dynamic content divs be triggered by a "back" / "next" pair of links/buttons... instead of each div having its own dedicated link?

    More detail: I have 20 div blocks of dynamic content to be "switched." But instead of 20 different "trigger" links, I'd like just a simple "back/next" nav that can cycle through the 20 divs, in consecutive order.

    I thought maybe somehow replacing "sc1" in the trigger onclick with a variable, like "scX" or "sc[i]" might be the idea, but i couldn't figure out the rest of it.

    Any help GREATLY appreciated!
    - todd
    Last edited by toddz; 11-21-2004 at 04:45 PM. Reason: forgot link to script

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.

    Linkage to script please.

    cr3ative
    Last edited by cr3ative; 11-21-2004 at 02:56 PM.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Unfortunately due to time constraints, we currently cannot help with many customization requests. Have you tried looking at this script instead: http://www.dynamicdrive.com/dynamici...artcontent.htm

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
  •