Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-04-14
4
Medium Priority
?
601 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
Suggested Courses

721 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