| MouseoversliderJP |
|
This small tutorial will help you to customize the mouseoversliderJP module.
Setting Up Mouseoversliderjp If you are looking for a tutorial for setting this module up on your site please read the tutorial for the sliderjp module. The instructions are the same for both modules.
Changing color, font size and backgrounds To customize the CSS customization, first open the CSS file in a text editor. You can find the CSS files at modules/mod_mouseoversliderjp/scripts/ajaxcss.css. Let's take a look at some of the changes you can make.
This segment:
#wrapper{ sets the width of the whole slider module and background color as shown. This segment: .trigger,.trigger:link{ sets the alignment of the text in the slide bar. This segment:.trigger:hover,.trigger:active{
More styling is possible for the "on active event" (when the slide is opening) and "on background event" (when the slide is closing). To make changes in these styling options you need to change the style color in javascript code in the module's php file. Simply replace #ffffff to a color code of your choice. You can find this code around line numbers 63 and 67:
To add more style, such as the background color, write:
Feel free to change the background color on opening or closing the slide.
Using mouseoversliderjp with original Sliderjp on the same page If you want to use both the sliderjp and mpuseoversliderjp on the same page and show different modules in each slider module, then use the position sliderjp for one slider. For the other, create a new position and publish the modules in this position in the same way as the sliderjp module. These two modules use similar javascripts though. While I have tested them on every possible version of IE, FF, Mozilla and Opera, I can't promise that it will work without a problem on every website and server configuration. Use them together on the same page and you may have trouble. That's all you would probably need to change, but if you do want to customize the image of the slidebar, you can replace the images marked shadeh.jpg and shade.jpg. A good place to make an image of your choice is the dynamic drive css library . |
| Login to view your licenses |