I have read the other post in this group where they were having issues
with the setStyle background image code, but I am still having trouble
getting this to work. It appears to be executing the setStyle
background code but instead of changing to the specified image, it
changes to no background
This is probably because when You set url for image from stylesheet
which probably You've got in some css/ directory You set it like '../
images'. But when You set in in inline styles this files are in ./
images path.
On 5 Sty, 11:23, Matt matthew.jones...@gmail.com wrote:
I have read the other
One way to work around this is to use addClassName and removeClassName
instead. If you have working CSS, then extend it like this:
#featured:hover, #featured.over {
//your styles here
}
Then add and remove the over class to get the same style as the CSS
hover from the zoom event.