Team:Paris Liliane Bettencourt/Template:paris2010 2

From 2010.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 166: Line 166:
#header {
#header {
  width: 970px;
  width: 970px;
-
  border-top: 1px solid #444444;
+
  border-top: 0px solid #444444;
  height: 120px;
  height: 120px;
  padding: 10px 0px;
  padding: 10px 0px;
Line 278: Line 278:
<script language="JavaScript">
<script language="JavaScript">
/************** Javascript Content *************/
/************** Javascript Content *************/
-
 
+
<script src="htemplate1js.js" type="text/javascript"></script><noscript><OBJECT id="htemplate1obj" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=970 HEIGHT=60> <PARAM NAME=movie VALUE="htemplate1.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="htemplate1.swf" menu=false quality=high bgcolor=#FFFFFF  WIDTH=970 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT></noscript>
//PLF-http://www.jejavascript.net/
//PLF-http://www.jejavascript.net/
var coeff=2;
var coeff=2;

Latest revision as of 00:35, 21 September 2010


//PLF-http://www.jejavascript.net/ var coeff=2; var speed=60; var coeffinit=coeff; function i_change() { if (document.image.width < i_width) { coeff = coeff-0.2; document.image.width = Math.round(i_width/coeff); document.image.height = Math.round(i_height/coeff); chang=window.setTimeout('i_change();',speed); } else {window.clearTimeout(chang);} } function initial() { if (document.image.width > i_width/coeffinit) { window.clearTimeout(chang); coeff = coeff+0.2; document.image.width = Math.round(i_width/coeff); document.image.height = Math.round(i_height/coeff); initi=window.setTimeout('initial();',speed); } else {window.clearTimeout(initi);} }