PDA

View Full Version : Help with dhtml slide show



spanishuser
03-02-2010, 08:36 PM
Hi there, just a question regarding

http://www.dynamicdrive.com/dynamicindex14/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

ddadmin
03-03-2010, 02:33 AM
Certainly. Inside the script, simply change the function:


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

to:


function transport(){
parent.myframename.location=photoslink[which]
}

Where "myframename" is the name of the frame you wish to target.

spanishuser
03-03-2010, 09:31 AM
Many thx indeed!

spanishuser
03-03-2010, 09:54 AM
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