Team:NCTU Formosa/source/header/Test
From 2014.igem.org
(Difference between revisions)
Line 167: | Line 167: | ||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css"> | <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css"> | ||
+ | <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() { | ||
+ | $( "#dialog" ).dialog({ | ||
+ | autoOpen: false, | ||
+ | show: { | ||
+ | effect: "blind", | ||
+ | duration: 1000 | ||
+ | }, | ||
+ | hide: { | ||
+ | effect: "explode", | ||
+ | duration: 1000 | ||
+ | } | ||
+ | }); | ||
+ | $( "#opener" ).click(function() { | ||
+ | $( "#dialog" ).dialog( "open" ); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | <link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css"> | ||
<script src="//code.jquery.com/jquery-1.10.2.js"></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> | <script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script> |
Latest revision as of 15:05, 17 October 2014