Results 1 to 4 of 4

Thread: Help with dhtml slide show

  1. #1
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Help with dhtml slide show

    Hi there, just a question regarding

    http://www.dynamicdrive.com/dynamici...dhtmlslide.htm

    Is it possible to use it with frames so hyperlinks open in different frame.

    I mean using the slide show as some kind of menu in index frame and content opens in the other one.

    thx in advance

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

    Default

    Certainly. Inside the script, simply change the function:

    Code:
    function transport(){
    window.location=photoslink[which]
    }
    to:

    Code:
    function transport(){
    parent.myframename.location=photoslink[which]
    }
    Where "myframename" is the name of the frame you wish to target.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    spanishuser (03-03-2010)

  4. #3
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Many thx indeed!

  5. #4
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    by the way, is it possible that once you get to the last photo, if you press the "next" button it takes you to the first one? Same when going back and getting to first then goes back to last pic?

    thx once more

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
  •