Comments (13)
I have the same problem did you ever find the solution?
from makisu.
Hi, we can close this Issue (question), i set correctly the z-index property and the problem is solved.
Example:
#menu {
position: relative;
z-index: 12;
}
#menu li {
position: relative;
z-index: 13;
}
do a test, and let me know.
Best regards.
from makisu.
I did this, which is I think what you suggested:
.nigiri {
-webkit-transform: perspective(1200px) rotateY(40deg) !important;
-moz-transform: perspective(1200px) rotateY(40deg) !important;
-ms-transform: perspective(1200px) rotateY(40deg) !important;
-o-transform: perspective(1200px) rotateY(40deg) !important;
transform: perspective(1200px) rotateY(40deg) !important;
-webkit-transform-origin: 110% 25%;
-moz-transform-origin: 110% 25%;
-ms-transform-origin: 110% 25%;
-o-transform-origin: 110% 25%;
transform-origin: 110% 25%;
left: 20%;
position:relative;
z-index: 12;
}
and
.nigiri dt, .nigiri dd, .nigiri a {
background: #789962;
position:relative;
z-index:13;
}
on style.css but the whole thing disappeared, it didn't fix it. I am using this index.html from the master zip file. I have not set any other z-index properties.
from makisu.
I don't have the problem after a good revision of all z-index.
https://developer.mozilla.org/en-US/docs/CSS/Understanding_z-index
In my case:
with this html (JADE):
body(data-spy="scroll", data-target="#nav") <-- this because i use bootstrap scrollspy
#header
ul#menu.nav
li#menu-page1.mainmenu
a.nav-button(href='#page1') page1
.menu-caption
p page1
li#menu-page2.mainmenu
a.nav-button(href='#page2') page2
.menu-caption
p page2
ul#services-submenu
li#menu-page3.submenu
a.subnav-button(href='#page3') page3
.submenu-caption
p page3
li#menu-page4.submenu
a.subnav-button(href='#page4') page4
.submenu-caption
p page4
li#menu-page5.mainmenu
a.nav-button(href='#page5') page5
.menu-caption
p page5
my css (in less)
body { position: relative; z-index: 0; } #header { position: fixed; top: 0; z-index: 1000; } #nav { position: fixed; top: 150px; left: 10px; width: 62px; z-index: 1001; } #menu { position: relative; z-index: 1002; } #menu { >li { >a:hover { background-color: transparent; } } } .nav-button { position: relative; display: block; height: 62px; width: 62px; text-indent: 100%; overflow: hidden; z-index: 1004; } .subnav-button { position: relative; display: block; height: 47px; width: 62px; text-indent: 100%; overflow: hidden; z-index: 1004; }
I hope that can help you.
from makisu.
Thank you. I understand about z-index. I have used it before. The problem is you are not using the same web page that I am trying to work on. I am commenting and working on Makisu ~ CSS 3D Dropdown Concept which also a .js file which contains transform commands for the animation translateZ(-0.1px. I believe these are affecting things as well and if they are removed or changed they adversely affect the animation of the foldout.
I understand what you're doing with yours I'm just not sure how to apply that to this project.
Thanks again for trying to help me.
from makisu.
ok, help is not a problem :)
I studied the makisu js, but for my problem my solution was found only with the correct settings of murkup and css. The css trasformation that makisu js does on murkup and on css's property not create problem on selection of a link inside the list element.
Regards :)
from makisu.
Ah I see :) Well for this Nigiri, the section on the HTML looks like this:
<section class="demo">
<dl class="list nigiri">
<dt><a href="one.html" id="default" onClick="changeFrame(this.href); return false;">One</a></dt>
<dd><a href="two.html" id="default" onClick="changeFrame(this.href); return false;">Two</a></dd>
<dd><a href="three.html">Three</a></dd>
<dd><a href="four.html">Four</a></dd>
<dd><a href="five.html">Five</a></dd>
<dd><a href="six.html">Six</a></dd>
<dd><a href="seven.html">Seven</a></dd>
<dd><a href="eight.html">Eight</a></dd>
<dd><a href="nine.html">Nine</a></dd>
</dl>
</section>
I made the " .list dd " to z-index: 999; and also the .list to z-index: 999; and I tried to make .demo:after to z-index: 999; but nothing changed. The top < dt > works to link but not the < dd > (in Firefox)
from makisu.
I have found that in Makisu.js on lines 346 & 350 I changed:
'transform': 'translateZ(-0.1px)'
to
'transform': 'translateZ(-1px)'
Now the links are showing in both Firefox and Chrome but they do not show in IE.
from makisu.
like I said, I tried to change the css trasformation that the makisu.js applies to the markup, but my problem was due only to the properties of z-index of the elements (z-index only works on positioned elements (position:absolute, position:relative, or position:fixed)), and that the dimensions (width and height) assigned to the link actually covered up all the space element of the list
sorry.
from makisu.
Yes now I'm trying to figure out where to place the position statement to satisfy IE.
from makisu.
SOLVED!
Okay here is the complete solution to make this work with links in all 3 browsers:
On style.css line 244 change:
.nigiri dt, .nigiri dd, .nigiri a {
background: #789962;
}
to
.nigiri dt, .nigiri dd, .nigiri a {
background: #789962;
position: relative;
z-index:999;
}
Then on Makisu.js on lines 346 & 350 change:
'transform': 'translateZ(-0.1px)'
to
'transform': 'translateZ(-1px)'
:)
from makisu.
This isn't solved, with (-1px) translateZ things turn upside down in Firefox.
from makisu.
Looks fine in Firefox to me...
The Z is for the layer depth not for direction.
from makisu.
Related Issues (17)
- A list of CSS requirements in the root readme.md which browsers need to support.
- Safari 5.x support?
- Linking (SOLVED) HOT 1
- Opera 12 / Win 8 HOT 2
- Item links are not functioning in Firefox HOT 2
- no more working on the last chrome version
- Menu items text not appearing
- Implement API Callback functions
- is there any non jQuery version?
- Mobile safari support HOT 4
- Issues with Chrome 24 HOT 5
- Wiki Issue
- Unfocused tab causes rapid wrap/unwrap HOT 1
- Safari 5.1.7 for Mac OS X Snow Leopard issue HOT 2
- Opera don't work
- Safari 5.1.7 on Windows XP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makisu.