Left hand side menu question
Left hand side menu question
I was wondering is it possible to make a lefthand side menu with roll over images?
-
abdussamad
- Regular
- Posts: 117
- Joined: Fri Apr 21, 2006 10:11 pm
- Location: Karachi, Pakistan
- Contact:
You can do this with css. You will need to modify your styles.css files in your serendipity_directory/templates/template_name/ directory. Just set a background image for the category plugin links and another for the hover class. Something like this (untested):
That should help.You may need to set a width or height.
Code: Select all
.container_serendipity_categories_plugin a{background-image:url("{TEMPLATE_PATH}img/path.gif");
}
.container_serendipity_categories_plugin a:hover {
{background-image:url("{TEMPLATE_PATH}img/rollover.gif");
}
Abdussamad
Serendipity templates
Serendipity templates
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Left hand side menu question
Hi!
Yes, that's possible with Smarty templating, some Javascript and/or CSS adaptation.
Have a look at many themes from Carl Galloway, where he has often implemented roll overs.
Best regards,
Garvin
Yes, that's possible with Smarty templating, some Javascript and/or CSS adaptation.
Have a look at many themes from Carl Galloway, where he has often implemented roll overs.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/