/    Sign up×
Community /Pin to ProfileBookmark

Hover over link

I want to make a picture a link, and when you hover hover it a picture shows up in a different position.

Example:

{this is the link/picture}

you hover over that link(picture)

{picture displays here upon hover over link}

obviously when you bring the cursor off of the link that picture that displays lower will disappear.

/example

i know there is a way to do this with css, i’ve seen it done before, but i can’t remember the location of this nor how to do it.

i think i’ve explained this out good enough, but sometimes what makes sense in my head doesn’t make sense in someone else’s. any help is much appreciated. and i know quite a bit about html/css so you don’t have to explain every step and what it does ? a general answer that can lead me into the right direction should suffice.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@g2k556authorNov 16.2006 — perfect. thanks a lot ?
Copy linkTweet thisAlerts:
@WebJoelNov 16.2006 — Yeah that is pretty neat, that method. I used that before too. ?

http://ca.geocities.com/hobby_site/
Copy linkTweet thisAlerts:
@g2k556authorNov 17.2006 — okay, i'm tryin' that method, but on myspace, you can't use the #nogo thing because they don't want people usin' the # thing for id's, so is there any other way to make a link that doesn't go anywhere? that's one of the things i don't like about myspace is you can't use js or # sign, but that doesn't matter too much, it's a great place to mess around with css.
Copy linkTweet thisAlerts:
@WebJoelNov 18.2006 — okay, i'm tryin' that method, but on myspace, you can't use the #nogo thing because they don't want people usin' the # thing for id's, so is there any other way to make a link that doesn't go anywhere? that's one of the things i don't like about myspace is you can't use js or # sign, but that doesn't matter too much, it's a great place to mess around with css.[/QUOTE]

<a href="#"></a> ( or <a href="#nogo"><a/> ) is just a quite-&-dirty way to prevent the hyperlink from, well, 'hyperlinking' if clicked on. Building from an HTML editor on one's desktop (let's say "offline") and while using an '[I]always-on internet connection'[/I] such as what I have, it prevents one from accidentally clicking a link and having to wait for it to resolve. If you do not want the link to go anywhere, removed the "#" (or "#nogo") and either leave it blank, insert a <!-- just a comment -->, or insert the URL of the page that you are [I]actually already on[/I]. The latter being probably the most 'correct'. That way, if you do not want to leave that page, or cannot leave that page, you are essentially re-loading/refreshing that page.

For Accessibility though, this is a bit confusing because if you are on "index.html", you click a hyperlink to "index.html", you then hyperlink [I]to the page[/I] "index.html", -this could be confusing to someone without sight...

But that was not my first thought... my first thought is that if a host will not allow you to use such basic, well entrenched elements as "#" and won't let you use scripts... -why would anyone even want to stay with them?? (Rhetorical question..., -no need to answer).
×

Success!

Help @g2k556 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.16,
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,
)...