File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Image Blocks a Portion of the Sliding Menu from View Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Image Blocks a Portion of the Sliding Menu from View" Watch "Image Blocks a Portion of the Sliding Menu from View" New topic
Author

Image Blocks a Portion of the Sliding Menu from View

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I created a cascading menu bar and placed it on top of the web page. And I placed the Company Logo right underneath the menu bar.

When I slide the menu down, a portion of the menu is blocked from the view by that Logo image.

How to make the cascading slide menu to show on top of the image? How is the situation to be handled?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Give the image a lower z-index than the menu.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Yeah, the answer is to set the style to z-index:-1;
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image Blocks a Portion of the Sliding Menu from View
 
Similar Threads
Certificate SCJP 1.4
How to Disbale ViewSource and SaveAs
Difference between MenuBar and MenuItem
Need Cascading Slide Menu
Images in JFrame look like they are covered up