/    Sign up×
Community /Pin to ProfileBookmark

text rollover

The question would be:
Do you know of anyway to make text only a rollover? By this I mean, when you roll over the text a popup (like a definition for a word) would happen. Like an image alt tag, but text only?
Thank you

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@havikApr 01.2003 — Here's something that'll work. Just change it a little to work with text only because it works with links right now.

http://javascript.internet.com/navigation/pop-up-link-with-description.html

Havik
Copy linkTweet thisAlerts:
@VladdyApr 01.2003 — You can use title attribute with any element you need the pop up for (and with images as well!!! since alt poping up is IE only hack). If needed you can use span element to delimit a word you need the popup for:

some text <span title="info">word</span> more text.

If you want to get fancy see this:

http://klproductions.com:8080/KLToolTipsDemo.html
Copy linkTweet thisAlerts:
@JannaauthorApr 01.2003 — THANK YOU SO MUCH! J
×

Success!

Help @Janna 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 5.8,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...