|
|
|
With a FEW LINEES OF CODE you have an excellent tree menu.
You can load a root menu in static mode, preparing .htm (example01.htm) or better
using .php to prepare it.
Then you prepare a second file .php (example01_01.php) where there is a code to
explode a sub-menu on a click of node of root tree menu.
This menu use the property of LAYER (.innerHTML). With innerHTML, is it possible to
substitute the part of code "inside" the LAYER.
This examples is written by Fabio Pintore (f.pintore@tiscalinet.it) and he have
modified an example written by George Chiang and published in (www.javascriptkit.com)
you can find an example in
(http://www.shooney.com/htm/examples/treemenu/default.htm ) |
| Complete Image Gallery. Categories : PHP, Java Script, HTML and PHP | | | PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use! Categories : HTML and PHP, Email, PHP, Perl, HTML and PHP | | | OverEasy - PHP generated JavaScript to do mouseovers on
your pages. Modify one file and one function does it all
for you! Categories : PHP, Java Script, HTML and PHP, MySQL | |
| | PHP4 session helper HTML file.
Categories : PHP, Java Script, HTML and PHP, Sessions | | | Local-to-user date and time display regardless of time zone or where the website's server is located Categories : PHP, Date Time, HTML and PHP, Java Script | | | Dynamic Calendar in PHP, Javascript and HTML. Categories : PHP, Java Script, HTML and PHP, Calendar | | | Dynamic generation of textboxes, select items etc in a table for use with databases applications, matrimonials and for job sites Categories : PHP, HTML and PHP, Java Script | | | Newbie Notes #9 - Hyperlinking a post Categories : PHP, Java Script, HTML and PHP, Beginner Guides | | | This PHP function creates dropdown select lists for time and date that you can change, outputs a 14 char MySQL timestamp in a text field Categories : PHP, MySQL, Java Script, HTML and PHP | | | Pull Down Surfing - Surf on Change Categories : Java Script, MySQL, HTML and PHP, PHP, Databases | | | Function that allows a Javascript cookie to be set after HTML has been outputted to the page.
Categories : PHP, Java Script, Cookies, HTML and PHP | | | Validator 98 - a PHP-script to generate form-validation-code in JavaScript. Categories : Complete Programs, Java Script, PHP, HTML and PHP | | | PHP alternating the colors of table rows with style. Categories : PHP, HTML and PHP, CSS | | | Customizable Calendar Class Categories : HTML and PHP, Date Time, PHP, PHP Classes, Calendar | |
|
|