In PHP when you click on the menu text Update The Record the menu doesn?t open it takes you to another page. But in HTML when you click on the menu text Update The Record the menu dose open. <A HREF='page1.html' onClick='return toggleMenu('menu1')'>Update The Record</A> </H3> Niel Archer <spamfree@xxxxxxxxxxxxxxxx> wrote: Hi > Can some one explain to me why this code (Sliding menus) works fine with HTML but it doesn?t work with PHP? Please define 'doesn't work', as it does exactly the same for me whether PHP or HTML. BTW hopefully a typo, but your example has no tag only the closing one. I also wouldn't spread a string over several lines like that without using "here document" syntax, as I'm not sure echo supports it. Niel -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.