djohno24
11-17-2008, 06:20 AM
Hi all, this will be something simple to one of you guys but i am a novice.
Ok i have recently built a website for a social club i goto, i have used alot of script from dynmatic drive (my saviours) and i have tried to learn as i have gone along. I am having problems with one script and cant figure out how to get rid of the links.
The site is www.newheadingleyclub.co.uk on the home page i am using the below script to fade pictures in and out, i have taken the links away in the script but when uploaded on mouse over the hand appears as if they are still linked, when pressed the page returns that it has errors on it on the bottom left hand side. is there any way i can stop this so on mouse over it doesnt show as if there is a link. The code i am using is below
Thanks
<script language="JavaScript1.1">
<!--
//*****************************************
// Blending Image Slide Show Script-
// © Dynamic Drive (www.dynamicdrive.com)
// For full source code, visit http://www.dynamicdrive.com/
//*****************************************
//specify interval between slide (in mili seconds)
var slidespeed=3000
//specify images
var slideimages=new Array("front of club.png","outsidelesclub.JPG","Function Room 1.jpg","games room1.jpg","winzer 1.jpg","smoking 1.jpg","Ben Behind Bar.jpg")
var newwindow=0 //open links in new window? 1=yes, 0=no
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}
function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}
//-->
</script>
BODY PART
<a href="javascript:gotoshow()"><img src="front of club.png" name="slide" border=0 style="filter:blendTrans(duration=3)" width=445 height=310></a>
<script language="JavaScript1.1">
<!--
var whichlink=0
var whichimage=0
var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+blenddelay)
}
slideit()
//-->
</script>
Ok i have recently built a website for a social club i goto, i have used alot of script from dynmatic drive (my saviours) and i have tried to learn as i have gone along. I am having problems with one script and cant figure out how to get rid of the links.
The site is www.newheadingleyclub.co.uk on the home page i am using the below script to fade pictures in and out, i have taken the links away in the script but when uploaded on mouse over the hand appears as if they are still linked, when pressed the page returns that it has errors on it on the bottom left hand side. is there any way i can stop this so on mouse over it doesnt show as if there is a link. The code i am using is below
Thanks
<script language="JavaScript1.1">
<!--
//*****************************************
// Blending Image Slide Show Script-
// © Dynamic Drive (www.dynamicdrive.com)
// For full source code, visit http://www.dynamicdrive.com/
//*****************************************
//specify interval between slide (in mili seconds)
var slidespeed=3000
//specify images
var slideimages=new Array("front of club.png","outsidelesclub.JPG","Function Room 1.jpg","games room1.jpg","winzer 1.jpg","smoking 1.jpg","Ben Behind Bar.jpg")
var newwindow=0 //open links in new window? 1=yes, 0=no
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}
function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}
//-->
</script>
BODY PART
<a href="javascript:gotoshow()"><img src="front of club.png" name="slide" border=0 style="filter:blendTrans(duration=3)" width=445 height=310></a>
<script language="JavaScript1.1">
<!--
var whichlink=0
var whichimage=0
var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+blenddelay)
}
slideit()
//-->
</script>