Solved

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

Posted on 2009-04-14
4
573 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
listing all functions in JavaScript 19 112
jQuery CSS Scroll Issue 3 35
angularls and plnkr 14 19
gif overlay 3 32
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

760 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

27 Experts available now in Live!

Get 1:1 Help Now