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

Your preferred username that is used when logging in.

difficulty using tipClass Created Aug 16, 2010

This thread is solved

Views: 1314     Replies: 2     Last reply Aug 17, 2010  
You must login first before you can use this feature

tfearnow

Posts: 2

Registered:
Aug 16, 2010

difficulty using tipClass

Posted: Aug 16, 2010

Hi.

I would like to change the name of the tooltip class but am having difficulty using tipClass. It seems very straight forward, but when I try to change the name to tooltip2, I only get the text on hover.

So, using the basic example found here:

http://flowplayer.org/tools/demos/tooltip/index.htm

I simply duplicated .tooltip...

.tooltip2 {
display:none;
background:transparent urlhttp://flowplayer.org/tools/img/tooltip/black_arrow.png);
font-size:12px;
height:70px;
width:160px;
padding:25px;
color:#fff;
}

and called it like so...

<script>
$("#demo img[title]").tooltip({tipClass:'.tooltip2'});
</script>

You can see the test here:

http://www.boounce.com/test.html

Am I missing something?

Thank you.

randyfyfe

Posts: 17

Registered:
Aug 17, 2010

» difficulty using tipClass

Posted: Aug 17, 2010

Reply to: difficulty using tipClass, from tfearnow
rewwrite it like so:


<script>
$("#demo img[title]").tooltip({tipClass:'tooltip2'});
</script>

lose the period on "tooltip2". im pretty sure thats it

tfearnow

Posts: 2

Registered:
Aug 16, 2010

Thank you!

Posted: Aug 17, 2010

Reply to: » difficulty using tipClass, from randyfyfe
Two hours over a period! Thank you!