/    Sign up×
Community /Pin to ProfileBookmark

Drop down menu code

Could someone explain to me how to use this code??

[CODE]function showEm(id,imgName,hoverImg) { document.getElementById(id).style.display=”block”; document.images[imgName].src=hoverImg; }[/CODE]

[CODE]onmouseover=”showEm(‘myDivID’,’imgName’,’hoverImgPath’)”[/CODE]

I dont understand what to put for the imgName and hoverImgPath

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzAug 23.2006 — Why did you start a new thread to ask this in addition to asking it in your other thread? [url=http://www.webdeveloper.com/forum/showpost.php?p=625929&postcount=19]Your question was answered here.[/url]
Copy linkTweet thisAlerts:
@IliketheWebauthorAug 23.2006 — Dont worry about it
×

Success!

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

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

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