/    Sign up×
Community /Pin to ProfileBookmark

Hyperlink instead of Button?

I have never attempted to use JS before but I would like to use a rollover effect in a web store I am setting up. I found code that will change button text on a rollover, but I’d like to change hyperlink text upon rollover instead…OR have text pop up upon rollover.

Specifically, when a customer puts the cursor on a product main category I’d like a brief explanation of the category to appear so shoppers know what to expect within the category.

Can anyone offer an suggestions?

Thanks!

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@CharlesSep 01.2006 — [code=html]<a href="url" title="brief explanation">category</a>[/code]
Copy linkTweet thisAlerts:
@Rossario123Sep 01.2006 — a more extensive way would be with this

<i>
</i>&lt;style type="text/css"&gt;
a.a1, a.a1:visited{color: #;font-family: #;position: relative;text-decoration: none;}
a.a1:hover {color: #;text-decoration: none;}

/* you may change the position to suite your needs */
a.a1 em{visibilty: hidden;position: absolute;left: 20px;top: 0;z-index: 100;}
a.a1:hover em{visibility: visible;z-index:100;}


[code=html]
<a class="a1" href="#"><em>what the popup will say</em>the links text</a>
[/code]
Copy linkTweet thisAlerts:
@DawnaldauthorSep 01.2006 — I can't believe how quickly people offered help in this forum. Thanks for the suggestions. I'll give one or both of those a try and report back to let you know how it worked.

Thanks so much!

Dawnald
×

Success!

Help @Dawnald 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.17,
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,
)...