mppp
Oct 3 2009, 08:10 AM
is it possible to use a php navigation with this script...
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htmi have the menu set up on my website, but when i try to put the PHP function where the link is supposed to go in the .js file, i get coding errors.
http://www.earledavies.com/iPhone/tcpv2/site
Hayden
Oct 3 2009, 01:56 PM
You could use a combination of PHP and Javascript.
Use a separate PHP script to get menu options and export them out to JSON then use Javascript to get the JSON data and create the elements.
Seems a bit much for a navigation menu though. You can do like Google does on their main page, the "more" option, use CSS to hide/display the menu.
mppp
Oct 3 2009, 02:05 PM
Yeah, that sounds a bit complicated, and what I originally wanted to do was to use a DHTML tab menu and have a sub navigation but it was frustrating me after trying to figure it out for 2 days.
What other options do I have for a unique navigation?
mppp
Oct 4 2009, 06:13 PM
i figured it out
http://earledavies.com/iPhone/tcpv2/site/index.phpit works and im good to go on the hard coding