Team:UNIK Copenhagen/test3

From 2014.igem.org

(Difference between revisions)
 
(14 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
-
#helpprojekttitel{
+
.helpicon{vertical-align:text-top;}
-
border: 1px solid grey;
+
.hand{cursor:hand;
-
width:200ps;
+
cursor:pointer;}
-
height:auto;
+
 
-
}
+
.hidden{display:none;}
 +
 
 +
.modalicon{vertical-align:bottom;
 +
margin-right5px;}
 +
 
</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('#helpprojekttitel', 'Hjælp', null, null, null);};}}}})
 +
</script>
 +
 
 +
<SCRIPT>
 +
function initDialog(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);}},
 +
close: 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" class="modalicon" alt="" />Hjælp</h2>Blablablablablablab</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>
 
           <img src="https://static.igem.org/mediawiki/2014/e/ed/Team_UNIK_Copenhagen_go_to_the_top.PNG" title="Hjælp" alt="Hjælp" width="12" height="12" class="helpicon hand" onclick="initDialog('#helpprojekttitel', 'Hjælp', null, null, null);" />
           <img src="https://static.igem.org/mediawiki/2014/e/ed/Team_UNIK_Copenhagen_go_to_the_top.PNG" title="Hjælp" alt="Hjælp" width="12" height="12" class="helpicon hand" onclick="initDialog('#helpprojekttitel', 'Hjælp', null, null, null);" />
 +
 +
-
<div id="helpprojekttitel" class="hidden"><p>Skriv noget her</p></div>
 
</html>
</html>

Latest revision as of 20:12, 16 August 2014

Hjælp