Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.2
Component:
Views Data
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2011 at 19:42 UTC
Updated:
7 Nov 2011 at 12:40 UTC
Okay so in views, I've got two image fields, a normal and zoomed version of the same image created via imagecache. Cool. Now I'm trying to get it to the zoomed pic to show when the normal one is hovered. I used the "rewrite this output" space my last field to create tokens so that I can use css, but now i'm stumped as to how to get it to do a hover effect as I can't use the tokens in the actual css code. Does anyone know how to use css, or any method really, to make the zoomed version appear on mouseover? or hover?
Comments
Comment #1
dawehnerYou could use for example print out two different images.
Once you did this you can use $jquery.hover to display the other image.
This requires some knowledge of writing js.