Custom Nav
Permalink
Hello all. Does anyone have a suggestion on styling my navigation with custom graphics without having to embed a list into the content of the site.
It would be great if each list item was generated with a custom id.
Franz? Andrew? is this possible
It would be great if each list item was generated with a custom id.
Franz? Andrew? is this possible
It would probably have to use a combination of a file page attribute, which lets you specify an image in the page properties menu, and then a custom autonav template, which grabs this image (if it exists) and outputs it. I think there are examples of other people using this in the forum... Does anybody have them?
I've attached an autonav template and a css files needed to build a menu like I did here:
http://www.listo-jugendberatung.ch/...
It uses code of stu nichols:
http://www.cssplay.co.uk/menus/final_drop.html...
A pure css menu that doesn't need javascript and works with ie6!
I had to modify the css a bit since I didn't want a fixed width top level menu. I couldn't find a "nice" solution, the css contains some ugly code now.
Please not that I never built the template to be published. You might run into some problems:
1. You must have two attributes (picture_active, picture_inactive)
2. you must select a picture for all the sites on the top level!
3. I don't know what happens when you use a third level
It would probably be nice to make that menu solid like concrete but I'm too busy to do this right now.. But feel free to use and optimize my code!
http://www.listo-jugendberatung.ch/...
It uses code of stu nichols:
http://www.cssplay.co.uk/menus/final_drop.html...
A pure css menu that doesn't need javascript and works with ie6!
I had to modify the css a bit since I didn't want a fixed width top level menu. I couldn't find a "nice" solution, the css contains some ugly code now.
Please not that I never built the template to be published. You might run into some problems:
1. You must have two attributes (picture_active, picture_inactive)
2. you must select a picture for all the sites on the top level!
3. I don't know what happens when you use a third level
It would probably be nice to make that menu solid like concrete but I'm too busy to do this right now.. But feel free to use and optimize my code!
Hey Thanks Let me wrap my non-technical brain around this and get it rolling.
I am trying to use the code posted to generate pulldown menus for the navigation but get the following error: Fatal error: Call to a member function getFileRelativePath() on a non-object on line 67. I have put the file menu.php under blocks/autonav/templates and added menu.css to the header.php file under the themes.