Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have java-script menu that is getting behind openlayers OSM layer (only after it loads). I've tried giving z-index:9999 to the menu div but it didn't work. Any idea ? enter image description here

share|improve this question
    
can we see your app? –  Aragon Dec 17 '12 at 8:19
    
Is the map div wrapped in the same parent as the menu? –  U2ros Dec 17 '12 at 8:33
    
U2ros - Yes it does. Aragon - I'm not sure I can show the app because of NDA. If I won't solve it soon I'll have to do something about it. –  Alophind Dec 17 '12 at 20:07
    
Attached example : hadav.com/ZIndexTest/Assets/ShowAssetsTable.aspx Ignore the error message, its just example :) –  Alophind Dec 20 '12 at 9:57

1 Answer 1

up vote 1 down vote accepted

I opened the example and found that your menu div id=ctl00__MenuV_MultiLevelMenun0Items has a fixed z-index = 1.

Update it to a value like 1100 so it will be on top of other things. Your menu code is pushing z-index back to 1. Fix this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.