Team:Evry

From 2013.igem.org

(Difference between revisions)
Line 2: Line 2:
<html>
<html>
 +
<script type="text/javascript">
 +
 
 +
    $(document).ready( function() {
 +
 
 +
        // When site loaded, load the Popupbox First
 +
        loadPopupBox();
 +
 
 +
        $('#popupBoxClose').click( function() {         
 +
            unloadPopupBox();
 +
        });
 +
     
 +
        $('#container').click( function() {
 +
            unloadPopupBox();
 +
        });
 +
        function unloadPopupBox() {    // TO Unload the Popupbox
 +
            $('#popup_box').fadeOut("slow");
 +
            $("#container").css({ // this is just for style     
 +
                "opacity": "1"
 +
            });
 +
        } 
 +
     
 +
        function loadPopupBox() {    // To Load the Popupbox
 +
            $('#popup_box').fadeIn("slow");
 +
            $("#container").css({ // this is just for style
 +
                "opacity": "0.3"
 +
            });       
 +
        }     
 +
    });
 +
</script>   
-
<div id="dialog" title="Basic dialog">
+
 
 +
<div id="popup_box" title="Basic dialog">
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>

Revision as of 17:07, 14 October 2013

Iron coli project