/    Sign up×
Community /Pin to ProfileBookmark

Javascript needed [noob]

Let’s say I have a list of cities:

Las Vegas
Moscow
Tallinn
etc

What I want to do is, when the cursor is dragged on a city’s name, it will show a picture and some info about that city (my pre-writen text). The info should be shown at a certain place.

I don’t think this should be too hard to make for someone who knows js…

Could someone help me out with this?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@gerald2authorApr 03.2009 — Isn't that something else?
Copy linkTweet thisAlerts:
@scragarApr 03.2009 — As far as your description goes that meets your requirements.

Anything, can go in the <span> tag he proposes, including images, paragraphs of text etc, and you can possition it wherever you want.
Copy linkTweet thisAlerts:
@gerald2authorApr 03.2009 — oh actually it is, I went on a wrong page ?

Thanks, I will let you know how I did implementing it to my own site.

I hope it works with images too.
×

Success!

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