PDA

View Full Version : problem with expanding vertical menu



maryb86
05-26-2006, 11:11 PM
hello all,

i am currently updating a website i am making for my uncle: www.createnbuild.com

I have added an expanding side menu on the left, where if you click on the heading it opens up a list of menu items. If you click on a different menu, the old one closes. The original site that i got the coding from, only had 4 main menus, so when i add 2 more menus, they don't function as well. I followed the instructions that they gave me, to add more menus, but it's still not working correctly. With the last two menus, when you click on a different menu they don't close! This makes the whole website look wierd when you have a load of menus open at once, and it mucks up the look of the site too.

Can anyone please help???

tech_support
05-27-2006, 05:48 AM
Have you tried looking at the scripts to see if they have the
window.onload line?

If so, then put it all in the
<BODY> tags.

Example:



window.onload = something


TO



<body onload = "something();">


__________

Peter

maryb86
05-27-2006, 04:07 PM
Thanks for you input, i did fix it a different way. I had just accidently closed the master div before the extra menus. So i opened it! Also, thankyou for not commenting on my coding. I know that it's not the best, but everyone has their opinions. It's nice to be helped by someone that doesn't slate my work :)