Henrik Hansen wrote: > > [EMAIL PROTECTED] (Web Manager) wrote: > > > Hello, > > > > I am testing a new DHTML code for navigation menus. I plan to use it > > throughout my web pages made with PHP. The script is about 600 lines > > long! > > > > Beside making a : > > > > define (script1, "" . > > "" . > > "" . > > ""); > > > > and calling the script1 name in my PHP pages... > > > > this will be very, very long, is there a another way to create a kind of > > variable ($myscript == 600 lines of the DHTML) that I could simply call > > out in all my pages. Something like a <script src="../myscript.js"> > > I would go with the script tag if I were you. > > -- > Henrik Hansen Hello, well, I can't... I have HTML code (image tags) in the DHTML script and this can not be in a .js file... Thanks for your input! -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Marc Andre Paquin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]