/    Sign up×
Community /Pin to ProfileBookmark

Javascript menu always shown

Hi,

Need some help with this: I´ve got a javascript menu thet works fine. My problem is that i’ve got another script that when i click on a image it opens a larger on right over my website, all site appears being the image. That all works fine except the menu that when i enlarge the picture still appears in front of the image, not being as all the rest of the site.

Can anyone help me with this? How can i make the menu to not appear always in front?

Thanks

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@MrNobodyJan 04.2009 — Check the [B]zIndex[/B] (z-index) for the menu as compared to the overlay image. For example, the normal content of your page is at z-index:0 and, perhaps your menu is at z-index:2 while the image is at z-index:1. Thus, the menu will always be over the top of the overlay image. In this case, you can either change the [B]zIndex[/B] of the overlay image to, say, 4; or you can change the menu to 1 and the overlay image to 2.
Copy linkTweet thisAlerts:
@frpinauthorJan 04.2009 — I´m a little newbbie at javascript. Could you tell me how to change the zIndex?
Copy linkTweet thisAlerts:
@MrNobodyJan 04.2009 — Can you find either zIndex or z-index in your page or in any of the linked external files such as js files or css files?
Copy linkTweet thisAlerts:
@frpinauthorJan 04.2009 — Found it! The problem was resolved with changing de z-indez.

Thanks! ?
Copy linkTweet thisAlerts:
@MrNobodyJan 04.2009 — You're welcome.
×

Success!

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