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:
-
{{CSS/Main}}
+
<script type="text/javascript">
-
<html>
+
$(function(){
-
<style>
+
    $('#maximage').maximage({
-
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear {display: none;}, table/*-- hides default wiki settings --*/
+
        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>
-
 
-
<style type="text/css" media="screen">
 
-
#maximage {
 
-
/* position:fixed !important;*/
 
-
}
 
-
 
-
/*Set my logo in bottom left*/
 
-
#logo {
 
-
bottom:30px;
 
-
height:auto;
 
-
left:30px;
 
-
position:absolute;
 
-
width:34%;
 
-
z-index:1000;
 
-
}
 
-
#logo img {
 
-
width:100%;
 
-
}
 
-
 
-
</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;

}

  1. maincontent {
 position: absolute;
 top: 0;
 left: 0;
 z-index: 50;
 width: 100%;

} </style>