/    Sign up×
Community /Pin to ProfileBookmark

hide div but keep mouse controls

Is there a way to hide a div, but still allow it to interact with the mouse? I am trying to hide/show a div on mouse over and mouse out, but I can’t use opacity because my div contains a png image, and IE strips it of its transparency.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@skywalker2208Feb 25.2010 — Is the div collapsed when it is hidden meaning are you using display: none or are you using visibility: hidden? I don't think you can do this with display: none, but you might be able to do it with visibility: hidden.
×

Success!

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