Skip to content

Commit

Permalink
add in overlay, defaulting to clear
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Apr 7, 2008
1 parent 38153e7 commit e4e7aac
Show file tree
Hide file tree
Showing 2 changed files with 227 additions and 139 deletions.
37 changes: 28 additions & 9 deletions facebox.css
@@ -1,26 +1,25 @@
#facebox .b {
background:url(b.png);
background:url(/facebox/b.png);
}

#facebox .tl {
background:url(tl.png);
background:url(/facebox/tl.png);
}

#facebox .tr {
background:url(tr.png);
background:url(/facebox/tr.png);
}

#facebox .bl {
background:url(bl.png);
background:url(/facebox/bl.png);
}

#facebox .br {
background:url(br.png);
background:url(/facebox/br.png);
}

#facebox {
position: absolute;
width: 100%;
top: 0;
left: 0;
z-index: 100;
Expand All @@ -32,14 +31,12 @@
}

#facebox table {
margin: auto;
border-collapse: collapse;
width:auto;
}

#facebox td {
border-bottom: 0;
padding:0;
padding: 0;
}

#facebox .body {
Expand Down Expand Up @@ -74,3 +71,25 @@
overflow: hidden;
padding: 0;
}

#facebox_overlay {
position: fixed;
top: 0px;
left: 0px;
height:100%;
width:100%;
}

.facebox_hide {
z-index:-100;
}

.facebox_overlayBG {
background-color: #000;
z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

0 comments on commit e4e7aac

Please sign in to comment.