wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Implementing Hover in JQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Implementing Hover in JQuery" Watch "Implementing Hover in JQuery" New topic
Author

Implementing Hover in JQuery

Harjit Singh
Ranch Hand

Joined: Feb 01, 2007
Posts: 77
Hi there,

I have a method on my client side which actually gets some JSON data from the server which includes some images which are being displayed. How can I do the following things

1) Depending on the image on which the mouse is show price info and some other data pertinant to the item on which the mouse is hovered.

Thanks

- Harjit
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

There are several jQuery plugins that already offer this functionality. One that I really like is qTip.


GenRocket - Experts at Building Test Data
Harjit Singh
Ranch Hand

Joined: Feb 01, 2007
Posts: 77
I had looked at it but I guess for some reasons the qtips were not being shown on the demo pages and hence I didn't look further. This exactly does what I need.

- Harjit
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

There are a bunch of these available -- take a look around for another you like better.

Or, if you happen to have a copy of jQuery in Action, I show how to implement your own in Chapter 8.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

By the way, the qtip demos work fine for me.
Harjit Singh
Ranch Hand

Joined: Feb 01, 2007
Posts: 77
I just bought it and will look thru it.

Thanks

- Harjit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing Hover in JQuery
 
Similar Threads
some event in swing which is similar to mouse events, sensed throu touch screen
how to display an houglass cursor?
Mouse click event
Sending Image
Problem on Drawing line