Christof Donat schrieb: > <script type="text/javascript"> > myconf = { > bgcolor: '<?= $bgcolor ?>', > color: '<?= $color ?>', > haircolor: '<?= $haircolor ?>' > } > </script> > <script src="jQuery.js" type="text/javascript"></script> > <script src="mystuff.js" type="text/javascript"></script> > > Then you can use the global variable myconf in mystuff.js and keep mystuff.js > unchanged. >
I have something like this: <head> <script src="jQery.js" type...></..> <script src="mystuff.js" type...></..> </head> <body><?php // $menu default = array[0] $menu = http_sGet(array('menu1','menu2','menu3')); include($menu); ?></body> So wit this jQuery get loaded only once ? Also if i select a different menu(same .php file only other $_GET parameter) ? best regards, Truppe Steven _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/