/    Sign up×
Community /Pin to ProfileBookmark

Convert ‘onmouseove’r to ‘onclick’

I hope this is the right forum for this.

Some of you may be familiar with [URL=”http://www.walterzorn.de/en/tooltip/tooltip_e.htm”]Walter Zorn[/URL] who made some simple and effective hover tooltips. I’ve used the tooltips now and then but with the proliferation of touch devices I’ve read and had feedback from some that the hover function doesn’t work that well on phones, pads, etc. Is there a simple way of converting hover to click/push or perhaps a media query where I could leave the hover on a large monitor screen and then have it go to push/click at around 768? Or, I can have it onclick for the large screen too if that makes it easier. I’m figuring this is done in the .js file since I’m not sure if it can be done in CSS. [URL=”http://sitesetis.com/wz_tooltip.js”][U]This is the tooltip .js[/U][/URL]

I’m sure Zorn himself would have readily answered this question but he passed away in 2009.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@riyaz123Nov 04.2014 — hello...................

this link will help you to resolve your problem so please check it now

(1) http://api.jquery.com/mouseover/

(2) http://www.htmlgoodies.com/tutorials/forms/article.php/11895_3901166_2/jQuery-Basics-for-Web-Developers-Mouse-Events.htm
×

Success!

Help @DV1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...