I want to make my menu graphical, instead of text, can this be done?
If so, i guess it would involve editing the php layers file to add an if switch or something to check if an image exists in a given directory..
Is there any other way to do this, and if not.. how would i go about editing phplayers (which file??)
- [maCe]
Graphical Menu's?
Re: Graphical Menu's?
Take a look at the CSS List Style Image and List Style Position properties (list-style-image: url(/blah/whatever) ). I'm not 100% sure that the PHP layers menu uses ULs for its menus, but bulletmenu does.Anonymous wrote:I want to make my menu graphical, instead of text, can this be done?
If so, i guess it would involve editing the php layers file to add an if switch or something to check if an image exists in a given directory..
Is there any other way to do this, and if not.. how would i go about editing phplayers (which file??)
- [maCe]
These will allow you to add a graphic to a text link, and, if you do it to the link, you can add rollovers, etc. For example:
Code: Select all
#menu a {text-decoration: none; padding-left: 15px; background: url(/uploads/images/off.gif) no-repeat 0px 50%;}
#menu a:hover {padding-left: 15px; background: url(/uploads/images/over.gif) no-repeat 0px 50%;}
#menu a.active {padding-left: 15px; background: url(/uploads/images/on.gif) no-repeat 0px 50%;}
#menu a.current {padding-left: 15px; background: url(/uploads/images/selected.gif) no-repeat 0px 50%;}
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
- ghostrifle
- Forum Members

- Posts: 54
- Joined: Wed Mar 02, 2005 11:03 pm
Re: Graphical Menu's?
Did someone test the proposed solution of sjg ??
-
chris_e
Re: Graphical Menu's?
because this is just html and css basically, it should work. there's a few sites on the web that deal with css-styled list menus. it's easy to implement (just as sjg wrote here).
a good start would be http://www.projectseven.com/tutorials/css/uberlinks/
a good start would be http://www.projectseven.com/tutorials/css/uberlinks/
