PHP, Javascript, SQL drop down menu

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
milanm
Forum Newbie
Posts: 3
Joined: Tue Jul 22, 2008 6:46 am

PHP, Javascript, SQL drop down menu

Post 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?
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Re: PHP, Javascript, SQL drop down menu

Post 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.
milanm
Forum Newbie
Posts: 3
Joined: Tue Jul 22, 2008 6:46 am

Re: PHP, Javascript, SQL drop down menu

Post 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.
Post Reply