made IE lightbox auto display when on IE
This commit is contained in:
parent
fed09404e6
commit
7805871ec2
1 changed files with 40 additions and 0 deletions
|
@ -24,6 +24,46 @@
|
|||
require.config({baseUrl: '/famous/'});
|
||||
require(['main']);
|
||||
</script>
|
||||
|
||||
<!--[if (IE)]>
|
||||
<style type="text/css">
|
||||
#lightbox_overlay {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#lightbox_main {
|
||||
top: 50%;
|
||||
margin-top: -281px;
|
||||
}
|
||||
|
||||
#lightbox_screen {
|
||||
height: 100%;
|
||||
opacity: 0.42;
|
||||
}
|
||||
|
||||
.lightboxContent {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#noIE {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#lightbox_close {
|
||||
display: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#lightbox_screen").unbind().click(function(event){
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body data-env="<%= Rails.env %>">
|
||||
|
|
Loading…
Reference in a new issue