Page 1 of 1

PHP, Javascript, SQL drop down menu

Posted: Fri Oct 30, 2009 7:31 am
by milanm
:banghead: Hi, would anybody give me a hint, i got a bit lost.
I developed a backoffice system where pages are generated by the content manager and the links are generated in an array so when ever new page is created the new link shows. That works fine. As well the children pages could be generated and i could display a tree and site map as the pages are created. So far so good. The website i am developing is:
"www.1stopmoney.com"
What i could not figure out is how now to create a drop down menu that will diplay the children pages on mouse over the parent pages.
How dificult is this and which way i should go?

Re: PHP, Javascript, SQL drop down menu

Posted: Sat Oct 31, 2009 5:39 pm
by Skara

Code: Select all

<a href="parent01/" onmouseover="document.getElementById('child01').style.visibility = 'visible';" onmouseout="document.getElementById('child01').style.visibility = 'hidden';">parent01</a>
Is that the direction you want to head???

Also, I'm pretty sure this is not the correct forum, although I'm a little foggy on what you're wanting.

Re: PHP, Javascript, SQL drop down menu

Posted: Mon Nov 02, 2009 3:11 am
by milanm
Thanks, that looks very close. Yes, it is exactly what i want to do. Make the child links show on mouse over the prent links, where the link array is generated by the code every time somebody from the administration ads a new page.
I will try this and let you know if it worked. Thanks again.