PDA

View Full Version : New Window in DHTML Slideshow(manual)



Edge
10-15-2004, 02:37 AM
DHTML SLIDE (http://www.dynamicdrive.com/dynamicindex14/dhtmlslide.htm)

when I click on a image it opens in it's own window. I don't really know much about javascript but I tried to _new and _blank in several different places with no success. Just wondering if anyone knows what I need to do to change this.

cr3ative
10-15-2004, 01:21 PM
So when you click Previous or Next, it comes up in a new window?

This is very odd.

cr3ative

Edge
10-16-2004, 06:19 AM
Sorry my first post was miss typed when I click on a image that is linked to a full size image it opens in the same window I want the image to open in a new window.

cr3ative
10-16-2004, 07:53 AM
Ok, can you provide an example online as to how you have made the images linked so I can further investigate please.

Cheers :)
cr3ative

ddadmin
10-18-2004, 08:13 PM
Try modifying the line:


window.location=photoslink[which]

within the script of Step 1 to:

window.open(photoslink[which])

This will cause all slideshow links to open in a new window.

Edge
10-24-2004, 01:05 PM
That did what I was looking for thanks ddadmin.

lemonnade
06-16-2006, 09:02 AM
Hello,

I'm using the same code from this url: http://www.dynamicdrive.com/dynamicindex14/dhtmlslide.htm but I was wondering on how to add a code that determines the slide number?

Example. Slide Number 1 of 5

Please help. Thank you. :)


Regards,

Lemon