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

Your preferred username that is used when logging in.

1.2.0 problems? Created May 6, 2010

This thread is solved

Views: 3330     Replies: 13     Last reply Dec 1, 2011  
You must login first before you can use this feature

attila

Posts: 6

Registered:
May 6, 2010

1.2.0 problems?

Posted: May 6, 2010

Hello,

Tootip opacity does not work in 1.2.0?

Also in the 4/7 demo (http://flowplayer.org/tools/demos/tooltip/form.html ) if you click into a text box and then move the mouse over the drop down both tooltips are visible. This was different in the previous version. Is this the expected behavior now?

Attila

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» 1.2.0 problems?

Posted: May 7, 2010

Reply to: 1.2.0 problems?, from attila
where do you see the opacity bug and with what browser?

and yes. the tooltip behaviour is now different in 1.2/Forms. In previous version. In previous version a same tooltip element was used by all fields by default.
http://flowplayer.org/tools-1.1/demos/tooltip/form.html

Now a separate element is auto-generated for each field. This leads to a simpler architecture in code and makes the tooltips works more smoothly in various situations. You can use a same tooltip element in this version too. Like here:

http://flowplayer.org/tools/demos/tooltip/table.html

Which will lead to similar behaviour as in 1.1. Haven't tested that with forms.

There is another little fix in 1.2. When you focus a field and then move the mouse over the tooltip it won't disappear upon mouseout. Like it did in 1.1.

attila

Posts: 6

Registered:
May 6, 2010

» » 1.2.0 problems?

Posted: May 7, 2010

Reply to: » 1.2.0 problems?, from tipiirai
Ok, it seems opacity and fade together are not working. I get transparent tooltips with opacity: 0.7, but when I add the fade effect without changing anything else the transparency is lost. Tested in IE8 and FF3.5.

Going to test the other thing (same tooltip with forms) later.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » 1.2.0 problems?

Posted: May 10, 2010

Reply to: » » 1.2.0 problems?, from attila
try configuring slideFade: true. See:

http://flowplayer.org/tools/tooltip/slide.html

does that fix it?

attila

Posts: 6

Registered:
May 6, 2010

» » » » 1.2.0 problems?

Posted: May 12, 2010

Reply to: » » » 1.2.0 problems?, from tipiirai
Slide with slideFade: true works.
So, to summarize:
Transparency works:
$('a[title]').tooltip({position: 'top right', offset: [0, 0], opacity: 0.7});
Transparency works:
$('a[title]').tooltip({position: 'top right', offset: [0, 0], opacity: 0.7, effect: 'slide', slideFade: true });
Transparency does not work - but worked in 1.1:
$('a[title]').tooltip({position: 'top right', offset: [0, 0], opacity: 0.7, effect: 'fade'});

Sam Miller

Posts: 1

Registered:
Mar 18, 2010

» » » » » 1.2.0 problems?

Posted: May 13, 2010

Reply to: » » » » 1.2.0 problems?, from attila
Ya, I have the same problem with combing effect:'fade' with opacity. The fade effect cancels any settings I make to the opacity.

I tried the following, as was suggested above:

$('img[title]').tooltip({position: 'top right', offset: [0, 0], opacity: 0.7, effect: 'slide', slideFade: true });

However, the tooltip just defaults to the browser's tooltip. I get not'n. Is there any thing special I need to do with the CSS?

Thanks,
Sam

attila

Posts: 6

Registered:
May 6, 2010

» » » » » » 1.2.0 problems?

Posted: May 13, 2010

Reply to: » » » » » 1.2.0 problems?, from sammiller
The slide effect is not part of the tooltip by default. Did you include it?

attila

Posts: 6

Registered:
May 6, 2010

» » 1.2.0 problems?

Posted: May 12, 2010

Reply to: » 1.2.0 problems?, from tipiirai
Tried to use the same tooltip in a form as you suggested, but could not make it to use the title texts of the individual elements.
Is it possible to do that?

On the other hand the following gives a result similar to what I want, so I will use this:
events: {
def: "mouseover,mouseout",
input: "focus mouseover,blur mouseout",
widget: "focus mouseover,blur mouseout",
tooltip: "mouseover,mouseout"
}

mjatharvest

Posts: 2

Registered:
May 17, 2010

fade and opacity conflict

Posted: May 17, 2010

Reply to: » » 1.2.0 problems?, from attila
wanted to say I'm experiencing the same thing, when setting an opacity and using the fade effect, the tooltip always fades in to 100%


$('#pg-thumbs a').tooltip(
{
	opacity: 0.7,
	effect: 'fade',
	position: 'bottom center',
	predelay: 1000,
}
);

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» fade and opacity conflict

Posted: May 19, 2010

Reply to: fade and opacity conflict, from mjatharvest
this is now fixed and committed to github

http://github.com/jquerytools/jquerytools/commit/cec9dc09f2dcb2ecad550eb6283c855c2ed13016#diff-0

will be out in v1.2.2.

thanks!

attila

Posts: 6

Registered:
May 6, 2010

» » fade and opacity conflict

Posted: May 21, 2010

Reply to: » fade and opacity conflict, from tipiirai
It works now.
Thank you!