Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to dynamically set the form action using jQuery.
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)

763 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