Team:NCTU Formosa/source/header-Achievement
From 2014.igem.org
(Difference between revisions)
Line 206: | Line 206: | ||
$( "#opener" ).click(function() { | $( "#opener" ).click(function() { | ||
$( "#dialog" ).dialog( "open" ); | $( "#dialog" ).dialog( "open" ); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | <script src="//code.jquery.com/jquery-1.10.2.js"></script> | ||
+ | <script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script> | ||
+ | <link rel="stylesheet" href="/resources/demos/style.css"> | ||
+ | <script> | ||
+ | $(function() { | ||
+ | $( ".dootest" ).dialog({ | ||
+ | autoOpen: false, | ||
+ | show: { | ||
+ | effect: "blind", | ||
+ | duration: 1000 | ||
+ | }, | ||
+ | hide: { | ||
+ | effect: "explode", | ||
+ | duration: 1000 | ||
+ | } | ||
+ | }); | ||
+ | $( "#movetest" ).click(function() { | ||
+ | $( ".dootest" ).dialog( "open" ); | ||
}); | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 16:09, 17 October 2014