Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-14
4
Medium Priority
?
611 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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The viewer will learn how to dynamically set the form action using jQuery.
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…
Suggested Courses

783 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