Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

float z-index of a menu

 
William Rouse
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a demo version of a jQuery accordion menu that I liked. I want to implement it on my soon to be published home page, What it does not do is that it pushes and pulls the content below it, as down as the accordion expands and contracts. I thought I could solve this by setting the z-index to a large number like 50 so it would sit “Zwise” above the other HTML mark-up. This does not work.
Is there any way to float the z-index above the markup?
Here is the code from the CSS file:


Thanks?
WBR
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only way you would get that to work is to dynamically position it with absolute positioning.

Why don't you search the JQuery Plugins for a menu since that is what a menu is designed to do?

Eric
 
William Rouse
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric:
When I looked at the jQuery plugins they did not do exactly what I wanted to do but as I study this issue more I think I need to carefully study the jQuery UI accordion plugin and hopefully when I understand it better it will be the solution.

WBR
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic