Greybox no overlay

480 views Asked by At

How can you prevent an overlay in greybox?

I am using the following code:

<script type="text/javascript">
 var GB_ROOT_DIR = "greybox/";
</script>

<script type="text/javascript" src="greybox/AJS.js"></script>
<script type="text/javascript" src="greybox/AJS_fx.js"></script>
<script type="text/javascript" src="greybox/gb_scripts.js"></script>
<link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" media="all" />
1

There are 1 answers

1
Colum On BEST ANSWER

In the css, you need to remove

#GB_overlay {
background-color: #000;
position: absolute;
margin: auto;
top: 0;
left: 0;
z-index: 100;
}  

In order to remove the overlay