Page 1 of 1

Left hand side menu question

Posted: Fri Aug 18, 2006 5:02 am
by iampedro
I was wondering is it possible to make a lefthand side menu with roll over images?

Posted: Fri Aug 18, 2006 12:29 pm
by abdussamad
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):

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");
}

That should help.You may need to set a width or height.

Re: Left hand side menu question

Posted: Fri Aug 18, 2006 1:26 pm
by garvinhicking
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