I display set of images(small). I need to show the larger image(300*300) at some XY co-ordinate when mouseover event occurs on an image while mousout larger image has to disappear . Please give some solution.
You thus actually want an image map . Since I've never used this I can't tell the details from top of head, but the link should help you further. You can for example make use of HTML <map>
and <area>
elements , or go ahead with a pure CSS approach.
There is no standard JSF component which can represent the <map>
and <area>
elements. The Sun JSF tutorial however (by coincidence) covers a custom component example with which you can represent them using pure JSF.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.