Solved

How to make jTipsy work onFocus (input) and normally?

Posted on 2009-04-14
4
576 Views
Last Modified: 2012-05-06
I wanted to jTipsy tooltip work only when I 'focus' on the input.
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Jquery/Q_24313785.html

How to make it work also NORMALLY (without focus) on the same page (where it works only when you click 'into' input)?
[[ I want to work it on (input) focus and on onmouseover ]]
0
Comment
Question by:AndyPSV
  • 2
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 24182693
Not sure what you mean

If it worked onmouseover, if you do NOT change it to onfocus, it will work onmouseover again.

It is not possible to click on an object without mousing over it

If you meant you want it to work when you TAB to it too, try
this.onmouseover=this.focus;
this.onmouseout=this.blur;

0
 

Author Comment

by:AndyPSV
ID: 24182869
I've got tipsy tooltip on page.
I want to tipsy work: when I click on inputs and when I onmouseover sth (link or text) [[everything is separately enabled (messages)]]. Now you understand?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 24183003
So please try what I gave you.
0
 

Author Comment

by:AndyPSV
ID: 24523455
Temporary solution is that I've got 2 tipsy plugins, separate is different from another only by action: onFocus, onHover. How to split them into 1 file and put 'variable which would access each tipsy to each ID'?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now