Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Staff Directory > WEC Staff Directory and image rollover
Total Posts: 2 - Pages (1): [1]
Author: Jogvan Olsen
Posted: Sep 30 2007 - 04:54 AM
Subject: WEC Staff Directory and image rollover
Is it possibly to use image rollover in WEC Staff Directory?

What I would like to do is:
In the view 'list by 2 columns' I would like all the images to be black and
white - when I hold the mouse over the image, it changes to color.

Is it possibly - and if, how?

Thanks in advance
Jogvan Olsen [/quote]
Author: Dave Slayback
Posted: Oct 04 2007 - 09:51 AM
Subject: re: WEC Staff Directory and image rollover
Hi Jogvan,

That would be a cool feature. Right now, the Staff Directory does not support it. What you would have to do is add it to extra code in the extension. To support IMAGE1 and IMAGE1-a. You could either hardcode it by adding a given "-a" or "-rollover" to file name and output if file exists, or add an extra field in the database (photo_main_rollover) that holds the image. You would then change the template to support ###PHOTO_MAIN### and ###PHOTO_MAIN_ROLLOVER### with CSS and/or Javascript code that would support mouseover.

I can look at doing it for future versions, although that is likely months away. Thanks for your suggestion though and if you or you find someone to add the code for this, send it my way and I will incorporate it into the extension so everyone can benefit.

-Dave


Total Posts: 2 - Pages (1): [1]
You must login to post a message to this conference.