Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Custom tooltip using jquery.tooltip
11/06/2010
12:13
Avatar
khards
Member
Members
Forum Posts: 3
Member Since:
11/06/2010
sp_UserOfflineSmall Offline

Hi,

Thank you for the great product.

I have a page with a static html table that I am using the 'table to jqgrid' module on.

Once I have called table to html grid my table appears as a jqgrid, my impromptu plugin is still functioning on the buttons in my table.

My table is using the jquery.tooltip on links which binds to the mousemove event to display custom HTML tooltips, however this stops working after I call table to jqgrid and convert my standard HTML table table into a jqgrid.

I think that the jqgrid must be overriding the bind mousemove that the tooltip uses. (FYI I call the tooltip from a function for each link before I call the 'table to jqgrid' command).

I would be gratful for any suggestions on how to get my tooltips working on links within the grid or preferably stop jqgrid overriding / removing the mouseover binding on the links within the cells of the grid.

The tooltip I am using is the following bassistance.de/jquery-plugins/jquery-plugin-tooltip/

I can supply a demo url if required. Thank you for any help in advance.

14/06/2010
09:57
Avatar
khards
Member
Members
Forum Posts: 3
Member Since:
11/06/2010
sp_UserOfflineSmall Offline

I have a small update to this.

I have discovered the following:

 $(document).ready(function(){
   $("a").hover(function(event){
     alert("Thanks for visiting!");
   });
 });

The above code makes all links on the page display "Thanks for visiting!". Once the table has been converted to a jqgrid using tableToGrid you lose the hover action for all links within the grid.

I have still not been able to find a workaround for this, however adding a onhover="alert('FooBar'');" works.

Does anyone know a workaround that can be used without adding onhover="" to all my links?

Andvance thanks for any help you may be able to give.

14/06/2010
11:38
Avatar
khards
Member
Members
Forum Posts: 3
Member Since:
11/06/2010
sp_UserOfflineSmall Offline

Hi All,

I have found a soloution to my problem.

The tool tips need to be initalised after jqgrid. Why? I do not know. But adding the following

gridComplete: initTooltips

Then initializing the tooltips in this function works.Smile

25/11/2010
03:40
Avatar
Candrairawan78
Indonesia
Member
Members
Forum Posts: 39
Member Since:
30/01/2010
sp_UserOfflineSmall Offline

Dear all,

I have tried to use tooltip above and did not success, does anybody can guide me with a working sample tumbnail image hover pease?I have a project with a lot of goods and i need tumbnail images to make it easy.

Best regards,

Candra

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
37 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information