Template:Team:KIT-Kyoto/MaxImage/basic
From 2014.igem.org
(Difference between revisions)
(Created page with "{{CSS/Main}} <html> <style> #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;}, table/*-- hides default wik...") |
|||
Line 1: | Line 1: | ||
- | {{ | + | <script type="text/javascript"> |
- | < | + | $(function(){ |
- | <style> | + | $('#maximage').maximage({ |
- | + | isBackground: true, | |
+ | overflow: 'auto', | ||
+ | verticalAlign:'top' | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <style type="text/css"> | ||
+ | img.bgmaximage{ | ||
+ | position:fixed !important; | ||
+ | } | ||
+ | |||
+ | #maincontent { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | z-index: 50; | ||
+ | width: 100%; | ||
+ | } | ||
</style> | </style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Revision as of 09:26, 19 May 2014
<script type="text/javascript"> $(function(){
$('#maximage').maximage({ isBackground: true, overflow: 'auto', verticalAlign:'top' });
}); </script> <style type="text/css"> img.bgmaximage{
position:fixed !important;
}
- maincontent {
position: absolute; top: 0; left: 0; z-index: 50; width: 100%;
} </style>