Back to Top
The nuts and bolts for
Creative web development

Using own images: how to get rollovers?

Question:
I'm using my own images for the scroller instead of one of the predefined designs. But how can I get the rollovers?

Answer:


The file names of your scroll control images can be anything you like, however the implementation of the rollovers is based on a naming convention for the images used.

If you would like to use the rollover effect for your own images, then make sure the images have the suffix '_up' in their name (e.g. scrollback_up.gif).
When generating the scroller, for each specified image Scroller Genie looks in the same directory for a corresponding image with the exact same name but with the suffix '_over' (e.g. scrollback_over.gif).
If it finds one, then it automatically uses that one to create the rollover effect using the standard DW 'Swap Image' behavior and it will make sure that the rollover image gets pre-loaded.

Marja Ribbers-de Vroed

Marja Ribbers-de VroedWell, what's there to tell?

I worked as a software engineer for a well-known Dutch software company for about 10 years. But then I decided I did not want to work there anymore.
Since then, I've been working with my husband in our own company.

I "discovered" web development early 2000, and I soon found out that I could actually create my own extra (DHTML) features in Dreamweaver by building custom extensions.
My first extension was Cross-browser AutoScroller, but I've developed several other ones since then.

See All Postings From Marja Ribbers-de Vroed >>

Share this Article