Page 1 of 1
popup menu help!!! how to make it in php???
Posted: Thu Oct 23, 2008 9:21 am
by ecxzqute
good day guys!
im new in php and im currently making a page. i want to make a popup menu.. how do i make it? ex. 1(as main menu) and a,b,c,d... (as sub menus)
i rili need help guys...
thnks in advance!.
Re: popup menu help!!! how to make it in php???
Posted: Thu Oct 23, 2008 3:09 pm
by Syntac
You can't do it with PHP. Use JavaScript. Although I suppose you might be able to use Ajax as well, if the contents of the menu change often.
Re: popup menu help!!! how to make it in php???
Posted: Fri Oct 24, 2008 2:50 pm
by califdon
ecxzqute wrote:good day guys!
im new in php and im currently making a page. i want to make a popup menu.. how do i make it? ex. 1(as main menu) and a,b,c,d... (as sub menus)
i rili need help guys...
thnks in advance!.
Are you referring to a popup navigation menu? That's a user operation, so it must be done with client-side code, like Javascript. Of course, PHP can be used to send the Javascript code to the browser, but PHP executes on the server and by the time the page reaches the browser, there is no more PHP in it.
Re: popup menu help!!! how to make it in php???
Posted: Sat Oct 25, 2008 6:21 pm
by ecxzqute
well, uhmm can anyone help me to make even just a simple sample of it? how am i going to make a popup menu using javascript? i really need help with this one.
anyway, thanks for the idea sir califdon!
---------------
ecx,
Re: popup menu help!!! how to make it in php???
Posted: Sat Oct 25, 2008 7:01 pm
by califdon
ecxzqute wrote:well, uhmm can anyone help me to make even just a simple sample of it? how am i going to make a popup menu using javascript? i really need help with this one.
anyway, thanks for the idea sir califdon!
---------------
ecx,
Try Googling for
javascript menu. You will find hundreds of variations and scripts like
http://www.milonic.com/menusample2.php
Re: popup menu help!!! how to make it in php???
Posted: Sat Oct 25, 2008 8:15 pm
by ecxzqute
thank you sir caliifdon!
you've helped me alot!
___________________
ecx