P
philipp.hat.alles
Guest
Hi Leute,
wollte mal fragen ob jm. weiß, ob dieser Code 1. richtig ist und 2. wie ich dort Verlinkungen setzen kann bei den Bildern?:
Bei den Bilder: Wenn man da raufklick, soll man zum Anker gelangen...
Danke im Vorraus
MfG
wollte mal fragen ob jm. weiß, ob dieser Code 1. richtig ist und 2. wie ich dort Verlinkungen setzen kann bei den Bildern?:
HTML:
<table border="0" cellpadding="0">
<tr>
<td width="100%"><img src="Acura.png" name="photoslider"></td>
</tr>
<tr>
<td width="100%"><form method="POST" name="rotater">
<div align="center"><center><p><script language="JavaScript1.1">
var photos=new Array()
var which=0
/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="Acura.png"
photos[1]="Aston Martin.png"
photos[2]="Audi.png"
photos[3]="Bentley.png"
photos[4]="BMW.png"
photos[5]="Buick.png"
photos[6]="Cadillac.png"
photos[7]="Chevrolet.png"
photos[8]="Chrysler.png"
photos[9]="Dodge.png"
photos[10]="Ford.png"
photos[11]="GMC.png"
photos[12]="Honda.png"
photos[13]="Hummer.png"
photos[14]="Hyundai.png"
photos[15]="Infiniti.png"
photos[16]="Jaguar.png"
photos[17]="Jeep.png"
photos[18]="Kia.png"
photos[19]="Lamborghini.png"
photos[20]="Land Rover.png"
photos[21]="Lexus.png"
photos[22]="Maserati.png"
photos[23]="Mercedes-Benz.png"
photos[24]="Mercury.png"
photos[25]="MINI.png"
photos[26]="Mitsubishi.png"
photos[27]="Nissan.png"
photos[28]="Pontiac.png"
photos[29]="Porsche.png"
photos[30]="Rolls-Royce.png"
photos[31]="Saab.png"
photos[32]="Saturn.png"
photos[33]="Scion.png"
photos[34]="Subaru.png"
photos[35]="Suzuki.png"
photos[36]="Toyota.png"
photos[37]="Volkswagen.png"
photos[38]="Volvo.png"
function backward(){
if (which){
window.status=''
which--
document.images.photoslider.src=photos[which]
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
}
else window.status='End of gallery'
}
</script><input type="button" value="<<" name="B2"
onClick="backward()"> <input type="button" value=">>" name="B1"
onClick="forward()"><br>
<a href="#" onClick="which=1;backward();return false"><small>Zurück zum Anfang</small></a></p>
</center></div>
</form>
</td>
</tr>
</table>
Danke im Vorraus
MfG