PDA

View Full Version : Target iframes in 'Ultimate Fade-in slideshow V1.5'



collide007
06-04-2007, 11:18 PM
1) Script Title: Ultimate Fade-in slideshow V1.5

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:

I need a link applied to an image using this script to target an iframe. I've tried using this javascipt:


javascript:top.frames['maincntnt'].location = '../onebyone/onebyone.htm';return true;

in the section of the script for the URL but to no prevail. Any help would be hugely appreciated.

Thanks.

tech_support
06-04-2007, 11:34 PM
In your array, you need to specify the target.
eg.


fadeimages[0]=["photo3.jpg", "http://www.javascriptkit.com", "maincntnt"]

collide007
06-06-2007, 02:23 AM
Thanks very much, can't believe I actually missed that. :o