Template:Debrecen Hungary Gallery

From 2011.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 2: Line 2:
<!-- Include ad-gallery script. -->
<!-- Include ad-gallery script. -->
<script type="text/javascript" src="http://yourjavascript.com/41113825191/jquery.ad-gallery-mini.js"></script>
<script type="text/javascript" src="http://yourjavascript.com/41113825191/jquery.ad-gallery-mini.js"></script>
 +
 +
<!-- Load the gallery. -->
 +
<script type="text/javascript">
 +
jQuery(document).ready(function($) {
 +
    var galleries = $('.ad-gallery').adGallery();
 +
});
 +
</script>
<!-- Gallery CSS. -->
<!-- Gallery CSS. -->
Line 8: Line 15:
width: 800px;
width: 800px;
         margin: auto;
         margin: auto;
-
         padding: 0;
+
         padding: 30px;
 +
        border-style: solid;
 +
        border-width: 1px;
}
}
.ad-gallery * {
.ad-gallery * {
Line 235: Line 244:
</div>
</div>
</div>
</div>
-
 
-
<!-- Load the gallery. -->
 
-
<script type="text/javascript">
 
-
window.addEvent('domready', function() {
 
-
    var galleries = $('.ad-gallery').adGallery();
 
-
});
 
-
/*$(document).ready(function(){
 
-
    var galleries = $('.ad-gallery').adGallery();
 
-
});*/
 
-
</script>
 
</html>
</html>

Latest revision as of 21:59, 18 September 2011