PDA

View Full Version : Carousel small modification help needed



simonbartlet
10-12-2005, 02:05 PM
Hi everyone.
I am hoping that someone can help me with a small modification to the brilliant carousel image script ( http://www.dynamicdrive.com/dynamicindex14/carousel.htm )

I have it working fine, just as it should do, with a full 12 rotating images, stopping on mouse-over and opening in the same window if clicked upon.

However I really would like the script to open the full size images in a NEW window, therefore keeping the original rotating carousel, rotating in the original window underneath (I hope that makes sense).

At present from the full size image window, when i click BACK button in IE I go back to the carousel start position (image 1) and have to wait for the next image i want to view to come around.

Hopefuly someone can help me out here with a command or bit of script that will work this for me.

Sorry I cannot point you to my webpage as an example, I am currently fixing up my server! but you can see the exact code at http://www.dynamicdrive.com/dynamicindex14/carousel.htm

Thanks very much in advance

Simon

simonbartlet
10-12-2005, 03:20 PM
'jscheuer1' has posted a thread here that kindly told me how to modify the script a little:

http://www.dynamicdrive.com/forums/archive/index.php/t-2813.html

I was looking in the wrong place to make modifications (as usual) but thankfully I stumbled on this response using different search criteria:

Without making more extensive modifications to allow us to choose which links to do what with, we can change this so that all links in the script open a new window like so:function C_LdLnk(){if(this.lnk)window.open(this.lnk)}

Thanks to 'jscheuer1' , it works just how i want it too now!
Cheers
Simon