[Typo3-UG Dutch] Javascript menu en frames
willem terpstra
willemterpstra at wanadoo.nl
Wed May 18 14:19:09 CEST 2005
Daniel,
er wordt gebruik gemaakt van een menu generator geschreven door ene Ger
Versluis (www.burmees.nl).
Het is erg veel en bijzonder complex, vooral zoals het nu geschreven
is, goed bedoeld hobbyisme.
Gelukkig hoef ik alleen het volgende maar te genereren:
************************************************************************************************************************
Menu1=new
Array("rollover?"+BaseHref+"gifs/menu/1.gif?"+BaseHref+"gifs/menu/1.gif","","",0,20,30,"","","","","","",-1,-1,-1,"","");
Menu2=new
Array("rollover?"+BaseHref+"gifs/menu/schepen_off.gif?"+BaseHref+"gifs/menu/schepen_on.gif","p1.htm","",6,20,120,"","","","","","",-1,-1,-1,"","");
Menu2_1=new Array("breehorn 37
","p2.htm","",3,20,120,"","","","","#8080ff","",-1,-1,0,"","");
Menu2_1_1=new
Array("exterieur","p3.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_1_2=new
Array("interieur","p4.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_1_3=new
Array("specificatie","p5.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_2=new Array("breehorn 44
","p6.htm","",3,20,110,"","","","","#8080ff","",-1,-1,-1,"","");
Menu2_2_1=new
Array("exterieur","p7.htm","",1,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_2_1_1=new Array("fotos zee
","nl_br44_exterieur/P_IMG1.htm","",0,20,120,"","","","","","",-1,-1,-1,"","");
Menu2_2_2=new
Array("interieur","p8.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_2_3=new
Array("specificatie","p9.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_3=new
Array("polyvalk","p10.htm","",0,20,110,"","","","","#8080ff","",-1,-1,-1,"","");
Menu2_4=new Array("fox
22","p13.htm","",3,20,110,"","","","","#8080ff","",-1,-1,-1,"","");
Menu2_4_1=new
Array("exterieur","p14.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_4_2=new
Array("interieur","p15.htm","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,-1,"","");
Menu2_4_3=new
Array("specificatie","","",0,18,90,"#e6e6ff","#e6e6ff","","","#8080ff","",11,-1,1,"","");
Menu2_5=new Array("maxfun
25","p17.htm","",0,20,110,"","","","","#8080ff","",-1,-1,-1,"","");
Menu2_6=new Array("maxfun
35","p18.htm","",0,20,110,"","","","","#8080ff","",-1,-1,-1,"","");
Menu3=new
Array("rollover?"+BaseHref+"gifs/menu/1.gif?"+BaseHref+"gifs/menu/1.gif","","",0,20,45,"","","","","","",-1,-1,-1,"","");
Menu4=new
Array("rollover?"+BaseHref+"gifs/menu/services_off.gif?"+BaseHref+"gifs/menu/services_on.gif","p19.htm","",2,20,120,"","","","","","",-1,-1,-1,"","");
Menu4_1=new
Array("winterberging","p20.htm","",0,20,120,"","","","","#8080ff","",-1,-1,-1,"","");
Menu4_2=new
Array("onderhoud","p21.htm","",0,20,120,"","","","","#8080ff","",-1,-1,-1,"","");
Menu5=new
Array("rollover?"+BaseHref+"gifs/menu/1.gif?"+BaseHref+"gifs/menu/1.gif","","",0,20,50,"","","","","","",-1,-1,-1,"","");
Menu6=new
Array("rollover?"+BaseHref+"gifs/menu/breehorn_off.gif?"+BaseHref+"gifs/menu/breehorn_on.gif","p23.htm","",3,20,120,"","","","","","",-1,-1,-1,"","");
Menu6_1=new
Array("contact","p24.htm","",0,20,120,"","","","","#8080ff","",-1,-1,-1,"","");
Menu6_2=new
Array("geschiedenis","p23.htm","",0,20,120,"","","","","#8080ff","",-1,-1,-1,"","");
Menu6_3=new
Array("route","p25.htm","",0,20,120,"","","","","#8080ff","",-1,-1,-1,"","");
Menu7=new
Array("rollover?"+BaseHref+"gifs/menu/1.gif?"+BaseHref+"gifs/menu/1.gif","","",0,20,50,"","","","","","",-1,-1,-1,"","");
Menu8=new
Array("rollover?"+BaseHref+"gifs/menu/link_off.gif?"+BaseHref+"gifs/menu/link_on.gif","","",5,20,130,"","","","","","",-1,-1,-1,"","");
Menu8_1=new
Array("ottenhomeheeg","www_ottenhomeheeg.html","",0,20,125,"","","","","#8080ff","",11,-1,0,"","");
Menu8_2=new
Array("messink","www_messink.html","",0,20,130,"","","","","#8080ff","",11,-1,-1,"","");
Menu8_3=new
Array("maxfun25","www_maxfun25.html","",0,20,130,"","","","","#8080ff","",11,-1,-1,"","");
Menu8_4=new
Array("breehornclub","www_breehornclub.html","",0,20,130,"","","","","#8080ff","",11,-1,-1,"","");
Menu8_5=new
Array("maxfunboats","www_maxfunboats.htm","",0,20,120,"","","","","#8080ff","",11,-1,-1,"","");
Menu9=new
Array("rollover?"+BaseHref+"gifs/menu/1.gif?"+BaseHref+"gifs/menu/1.gif","","",0,20,50,"","","","","","",-1,-1,-1,"","");
Menu10=new
Array("rollover?"+BaseHref+"gifs/menu/nederlands_off.gif?"+BaseHref+"gifs/menu/nederlands_on.gif","","",0,20,120,"","","","","","",-1,-1,-1,"","");
Menu11=new
Array("rollover?"+BaseHref+"gifs/menu/1.gif?"+BaseHref+"gifs/menu/1.gif","","",0,20,600,"","","","","","",-1,-1,-1,"","");
************************************************************************************************************************
Echt blij ben ik er niet mee. Bovendien zie ik nu dat hij de
positionering ook niet zelf doet (dat zijn de 4e, 5e en 6e argumenten ),
dat moet ik dan toch ook nog zelf doen
Een beetje redelijke menugenerator leest een xml of text file, maar dan
moet ik van allemaal uitzoeken of ze ook menu's naar boven kunnnen laten
uitklappen.
Een ander nadeel is natuurlijk dat het voor search engines onmogelijk is
om de content te benaderen, maar dat vond de klant geen probleem!
Maar ik vrees ook dat het met css nog lastiger wordt....
Groet Willem.
Daniel Doesburg schreef:
> Hoi Willem,
>
> Fijn dat ik je een beetje op weg kon helpen.
>
> Dat javascriptje zou *ik* gewoon gaan gebruiken. Is maar een kleintje
> (toch?). Scheelt je een stuk werk en met css zit je toch weer met de
> verschillen tussen de browsers. Niet dat dat laatste onoverkomenlijk
> is, maar je moet het wel allemaal uitvogelen.
>
> Groet,
>
> Daniel
>
>
> _______________________________________________
> Typo3-ug-dutch mailing list
> Typo3-ug-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
>
More information about the TYPO3-UG-dutch
mailing list