WebsiteBaker Support (2.8.x) > Templates, Menus & Design
DHTML Menu with unlimited sublevels HOR and VERT.
Milian:
This DHTML menu shows al sub-levels in a foldout system.
With one parameter you can switch from Vertical to Horizontal.
Just change the divs positions for the right lay-out.
Note: You can change the design with the CSS.
The basic is the outstanding menu structure.
A readme.txt is enclosed.
Update:
New dhtml-vertical.zip is enclosed op 23-01-2007
Enjoy, Milian
doc:
Hello Milan,
thanks for the module. Tested it but it does not work. Have adjusted the path, is there something else I need to consider?
Regards Christian
styzer:
Hi Milian,
I've been trying to have a vertical menu which pop-ups the submenus. This could be it? I installed as I install any templates and got this error message:
Warning: main(/home/users/user/public/wb/config.php) [function.main]: failed to open stream: No such file or directory in /home/louisjim/public_html/templates/dhtml-vertical/read-menus.php on line 3
Fatal error: main() [function.require]: Failed opening required '/home/users/user/public/wb/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/louisjim/public_html/templates/dhtml-vertical/read-menus.php on line 3
Any idea? I do have showmenu2 installed.
andre
Milian:
The Menu works. The case is that you have to change the absolute path
in read-menus.php
This line 3 in read-menus.php you have to change in your own abs. pad.
'/home/users/user/public/wb/config.php' (this is an example)
In your case change it to
/home/louisjim/public_html/config.php
if WebsiteBaker is in the root.
else
/home/louisjim/public_html/website-baker/config.php
The path you can find with:
<?php
phpinfo();
?>
in a show-the-php-info.php
inyourcase
-------------
Here you can see a working version:
http://www.mdfolmer.nl/wb/
Milian
macsmet:
@ Doc: it didn't work for me at first either but cause I always install wb in the root I checked the index.php and saw the javascripts link to:
--- Code: ---<script type='text/javascript' src='/wb/templates/dhtml-vertical/menu.js'></script>
--- End code ---
After removing /wb from the link it worked!
The same for the images (small arrows) in the menu. Look into the HiddenFrames_var.js for: var ImageBase and correct it if wb is installed in the root.
greetings,
MacSmet
Navigation
[0] Message Index
[#] Next page
Go to full version