If you are using:
http://www.dynamicdrive.com/dynamici...ropitslide.htm
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
Fix that up please. But it doesn't look like that's the script you are using. It looks like another DD script though, or possibly an older version of Drop-in Slideshow Script.
If it is a DD script though, you do need to include the credit in the source code of the page and in the external script file.
To answer your question, here is where you should edit (assuming that you haven't already radically altered what happens when an image in the slideshow is clicked):
Code:
function rotatelink(){
window.location=droplinks[linkindex]
}
You can change it to:
Code:
function rotatelink(){
window.open(droplinks[linkindex], '_blank', 'top=50, left=100, width=250, height=400');
}
For the highlighted area you can use whatever window.open() specifications you prefer, what I used there is just an example.
Added Later:
I looked over what you are using for this script a bit more and see that there is a credit:
Code:
//Drop-in slideshow II (hyperlinked)- By Dynamic Drive
//visit http://www.dynamicdrive.com
It was just that it wasn't at the top of the script, that's why I missed it. The DD usage terms state though that it must also appear on the page:
Code:
<script type="text/javascript" src="http://thenext2shine.com/N2S/templates/ja_corona/js/custom/image_slide_chat.js">
//Drop-in slideshow II (hyperlinked)- By Dynamic Drive
//visit http://www.dynamicdrive.com
</script>
And I see that the advice I gave you isn't going to work without further modification. These lines also need to be changed (highlighted):
Code:
function movepic(){
if (curpos<0){
curpos=Math.min(curpos+degree,0)
tempobj.style.top=curpos+"px"
}
else{
clearInterval(dropslide)
nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1"
tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj.innerHTML='<a href="'+droplinks[curimageindex]+'" onclick="rotatelink();return false;"><img src="'+dropimages[curimageindex]+'" border=0></a>'
nextimageindex=(nextimageindex<dropimages.length-1)? nextimageindex+1 : 0
setTimeout("rotateimage()",pause)
}
}
Code:
function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'" onclick="rotatelink();return false;"><img src="'+dropimages[curimageindex]+'" border=0></a>'
rotateimage()
}
Bookmarks