Falsche Baustelle. Bitte den Gang entlang und 3. Tür rechts, dort befindet sich unser Traum-Projekt JavaScript Forum![]()
Hallo an alle schlauen Leute hier,
ich habe ein tolles Java Script im Internet gefunden, mit welchem ich (durch kleine Veränderungen" ein Angebotsmodul gebastelt habe.
Testversion (Juni-Juli) zu bewundern auf: http://www.go4camp.nl/page/3531
Wenn ich jetzt zwischen Juni-Juli wechsele "verspringen" die Resultate.
Da ich echt und absolut kein JS - Crack oder etwas in der Art bin und der Verzweiflung naha hier meine Frage:
WAS IST GOTTES NAMEN HABE ICH FALSCH GEMACHT?
Hier kommt der Code:
Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Unbenanntes Dokument</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> span:hover { text-decoration:none; color:#FF9A00; font-weight:bold; font-family:arial; } </style> </head> <body> <div id="Layer1" style="position:absolute; left:31px; top:60px; width:6093395px; height:262px; z-index:1"> <SCRIPT> <!-- var content=new Array() //verander hieronder de teksten die als toelichting onder het link menu moet verschijnen content[0]='<table cellpadding="10px"><tbody> <tr valign="top"><td colspan="2"><b><font color=#990000>Aankomst 23 Juni - Bungalowtent</font></b></td></tr><br><tr valign="top" bgcolor= "#ffffcc"><td><img src="img/casavio.jpg" width="130" height="79"></td><td><font color=#990000><b>Camping Ca Savio</b></font><br>10 nachten<br>van <del> EUR 520</del> <b><font color="#FF0000"> nu slechts EUR 274 </b></font><br><br><a href="http://www.go4camp.nl/page/2679" target="new">Meer info & boeken</a></td></tr> <br><tr valign="top" bgcolor= "#ffffcc"><td><img src="img/europa.jpg" width="130" height="79"></td><td><font color=#990000><b>Camping Europa</b></font><br> 7 nachten: van <del> EUR 343</del> <b><font color="#FF0000"> nu slechts EUR 133 </b></font><br>14 nachten: van <del> EUR 756</del> <b><font color="#FF0000"> nu slechts EUR 424 </b> <br><br><a href="http://www.go4camp.nl/page/3185" target="new">Meer info & boeken</a></td></tr> .... etc... </tbody></table>' content[1]='<table cellpadding="10px"><tbody> <tr valign="top"><td colspan="2"><b><font color=#990000>Aankomst 1 Juli - Bungalowtent</font></b></td></tr><br><tr valign="top" bgcolor= "#99ccff"><td><img src="img/tridente.jpg" width="130" height="79"></td><td><font color=#990000><b>Camping Il Tridente</b></font><br> 7 nachten: van <del> EUR 483</del> <b><font color="#FF0000"> nu slechts EUR 336 </b></font><br>14 nachten: van <del> EUR 1036</del> <b><font color="#FF0000"> nu slechts EUR 777 </b> <br><br><a href="http://www.go4camp.nl/page/2257" target="new">Meer info & boeken</a></td></tr> <br><br><tr valign="top"><td colspan="2"><b><font color=#990000>Aankomst 7 Juli - Bungalowtent</font></b></td></tr><br><br><tr valign="top" bgcolor= "#ffffcc"><td><img src="img/spiaggia.jpg" width="130" height="79"></td><td><font color=#990000><b>Camping Spiaggia e Mare</b></font><br> 7 nachten: van <del> EUR 693</del> <b><font color="#FF0000"> nu slechts EUR 483 </b></font><br>10 nachten: van <del> EUR 990</del> <b><font color="#FF0000"> nu slechts EUR 720 </b> <br><br><a href="http://www.go4camp.nl/page/2689" target="new">Meer info & boeken</a></td></tr> ....etc... </tbody></table>' .... function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers) setTimeout("window.onresize=regenerate",450) } function changetext(whichcontent){ if (document.all) descriptions.innerHTML='<font face="Arial"><small>'+whichcontent+'<font></small>' else if (document.layers){ document.d1.document.d2.document.write('<font face="Arial"><small>'+whichcontent+'</small></font>') document.d1.document.d2.document.close() } } //--> </SCRIPT> <DIV id=scriptmenu style="LINE-HEIGHT: 20px; cursor: pointer;"> <!-- verander hieronder de positie en het lettertype --> <P align="left"><STRONG><FONT face=Arial color="#000C73"> <!-- verander hieronder de url en de tekst van de links --> <a onclick="changetext(content[0])"><SMALL><span>Juni</span></SMALL></a><FONT face=Arial size=3px><br> <a onclick="changetext(content[1])"><SMALL><span>Juli</span> </SMALL></a><br> <a onclick="changetext(content[2])"><SMALL><span>Augustus</span></SMALL></a><br> <a onclick="changetext(content[3])"><SMALL><span>September</span></SMALL></a><BR> </FONT></STRONG></P> </DIV><ILAYER id=d1 left="-15" top="-71" width="6093920" height="155"><LAYER id=d2 height="155" width="155"> <!-- verander hieronder de positie van de toelichting --> <DIV id=descriptions align=left style="position:absolute; left:42px; top:-198px; width:558px; height: 790px;"></DIV> </ILAYER> </LAYER></div> <div id="Layer2" style="position:absolute; left:4px; top:2px; width:795px; height:25px; z-index:2; font-family: Arial, Helvetica, sans-serif; color: #990000; font-weight: bold;">AANBIEDINGEN IN ITALIË <br> </div> </body> </html>
Falsche Baustelle. Bitte den Gang entlang und 3. Tür rechts, dort befindet sich unser Traum-Projekt JavaScript Forum![]()
#.Viele Grüße - Andreas
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
PHP Tutorials und kostenlose Scripts gibt's bei phpBuddy.eu
Follow phpBuddy on Twitter
LTFB - anfängerfreundliche Tutorials
.
sorry.... aber vielleicht weiss ja jetzt auch jemand ne Antwort zu meiner Frage? Gruss Dagmar
Ich habe jetzt nicht genauer geschaut, aber Du hast da noch ein größeres Problem als nur das hin und her springen bei Juni-Juli. So wie es gerade ist funktioniert bei mir im Firefox 2.0.0.4 nämlich gar kein Link in dieser Rubrik - es passiert einfach nichts beim Klick auf Juni, Juli.
#.Viele Grüße - Andreas
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
PHP Tutorials und kostenlose Scripts gibt's bei phpBuddy.eu
Follow phpBuddy on Twitter
LTFB - anfängerfreundliche Tutorials
.
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)