Team:UNIK Copenhagen/test3

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
</style>
</style>
-
<script>(function() {with [this[2]) {with (this[1]) {widht (this[0]) {return function(event) {initDialog('#helprojekttitel', 'Hjælp', null, null, null);};}}}})</script>
+
<script>(function() {with [this[2]) {with (this[1]) {widht (this[0]) {return function(event) {initDialog('#helprojekttitel', 'Hjælp', null, null, null);};}}}})
 +
</script>
 +
 
 +
<SCRIPT LANGUAGE="JavaScript">
 +
funtion iniDialog(target, title, focus, completecode, closecode) {
 +
$(target).dialog({
 +
modal:true,
 +
//title:title,
 +
width:450;
 +
closeText:'Luk',
 +
buttons:{Ok:function(){$(this).dialog('close');}},
 +
open:function(event,ui){if(focus !=null){$(focus).focus();}if(completecode !=null){setTimeout(completecode, 50);}},
 +
colse: function(event,ui) {if(closecode !=null){eval(closecode);}}
 +
});
 +
}
 +
</script>
  <div id="helpprojekttitel" class="hidden"><h2><img src="https://static.igem.org/mediawiki/2014/e/ed/Team_UNIK_Copenhagen_go_to_the_top.PNG" width="24" height="24" alt="" />Hjælp</h2>Max. 100 anslag</div>
  <div id="helpprojekttitel" class="hidden"><h2><img src="https://static.igem.org/mediawiki/2014/e/ed/Team_UNIK_Copenhagen_go_to_the_top.PNG" width="24" height="24" alt="" />Hjælp</h2>Max. 100 anslag</div>

Revision as of 19:33, 16 August 2014

Hjælp