Log in

View Full Version : Images links not working


phantom15
06-07-2008, 10:33 PM
Hey guys,

I have some code:

<!-- PreLoad Show -->
<script language="JavaScript">
var myimages=new Array();
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image();
myimages[i].src=preloadimages.arguments[i]
}
}
preloadimages("Xploder/360T.jpg","Xploder/PS3T.jpg","Xploder/XploderT.jpg")
</script>

<!-- Show -->
<script language="JavaScript1.1">
<!--

var slideimages=new Array()

function slideshowimages(){
for (i=0;i<slideshowimages.arguments.length;i++){
slideimages[i]=new Image()
slideimages[i].src=slideshowimages.arguments[i]
}
}
function slideshowlinks(){

}
//-->
</script>


<!-- Start show -->
<tr><td>
<img src="www.xploder.net" target="_blank" name="slide" height="600" width="160" border="0"></a>
<script>
<!--
slideshowimages("Xploder/360T.jpg","Xploder/PS3T.jpg","Xploder/XploderT.jpg")

var slideshowspeed=3500

var whichimage=0
function slideit(){
if (!document.images)
return
document.images.slide.src=slideimages[whichimage].src
whichlink=whichimage
if (whichimage<slideimages.length-1)
whichimage++
else
whichimage=0
setTimeout("slideit()",slideshowspeed)
}
slideit()
//-->
</script>
</td></tr>

And I have no idea why the link for the rotating images doesnt appear (the image do though) Please help

Dismounted
06-08-2008, 05:15 AM
Where are you putting the code?

phantom15
06-08-2008, 08:54 AM
In:
- A template module in vBabvanced
- In a Ultimate Side Column
- And the same code with different images at the bottom of the FORUMDISPLAY