You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Forum user: Simon http://www.demodia.com/

Basic information

Registered Jun 9, 2009
Last login Feb 17, 2010
Forum posts 8
Direct URL http://www.flowplayer.org/forum/users/11595

Latest forum posts

Posts:

Registered:

Dynamically sizing tooltips

Posted: Feb 17, 2010

I've seen a couple of other people asking this, but I couldn't see an answer as yet.

I am writing a web application and want to use jQTools to provide the tooltip capability as I already have the library imported for other reasons. My problem is that I don't seem to be able to find a way to readily scale tooltips to fit the size of the content within them. Sometimes I just have a couple of words of help text, others I have several lines.

Does anyone know how to achieve this?

Thanks!

Posts:

Registered:

Been playing...

Posted: Aug 25, 2009

Hi,

I've been playing with your updated version of Scrollable. It is a great update, you've been busy! I know it is not complete so not sure if you are collecting issues or not yet. However, just thought I would post this question:

I have multiple scrollable areas on one page. Whilst I am able to manually trigger them individually with no issues, when I add an automatic scrollable on the page, all the other auto-scrollables trigger at the same time not at the time they have been set to. Is this a "feature", or is there some way to stop it?

Thanks

Posts:

Registered:

» » » » » » Tooltip trigger object

Posted: Jun 10, 2009

I seem to recall trying just


e.target = this;

but if I remember correctly it threw an error as "this" is a jQuery object, where as e.target is expecting a DOM member.

Posts:

Registered:

» » » » Tooltip trigger object

Posted: Jun 10, 2009

Not sure whether or not this is a good solution, but I have found that I can cure the problem by modifying the bind function as below:

trigger.bind(isInput ? "focus" : "mouseover", function(e) {
	e.target = $(this)[0];  // - added this line
	self.show(e);  
	tip.hover(function() { self.show(); }, function() { self.hide(); });
});

Posts:

Registered:

» » Tooltip trigger object

Posted: Jun 10, 2009

Sure, i've put up a sample page here showing the problem.

http://dev.demodia.com/jquery-tools/trigger-test.html

The tooltip shows the element that the tooltip is being triggered by. In this example, I always want the tooltip to appear centered above the top of the main table.

Posts:

Registered:

» » Tooltip trigger object

Posted: Jun 10, 2009

Unfortunately I have tried that and it always seems to trigger on the top most element of the DOM hierarchy that is moused-over.

Posts:

Registered:

Tooltip trigger object

Posted: Jun 9, 2009

I am trying to set up a tooltip to show whenever a user enters a table. I have the jQuery initialisation like so:

$(".my_table").tooltip();

My hope is that when someone mouses-over the table, the tooltip appears above the top-middle of the overall table.

However, in reality what is happening is that the trigger event is not being fired on the expected element. Very often what I see is that it is fired on one of the TD elements, so the tooltip appears in seemingly random places across my table.

Is this the correct operation, or is this a bug? Either way, any suggestions how I can work around it?

Posts:

Registered:

Using jQuery tools with jQueryUI

Posted: Jun 9, 2009

I've run in to a problem where jQuery Tools and jQueryUI both want to initialise themselves using the .tabs() method. Surely given that many people will want to use these tools together this method should have been called something different. Or have I just missed something obvious?