Template:Team:Waterloo/JS/jgallery
From 2014.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 2: | Line 2: | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | ||
- | |||
<link rel="stylesheet" type="text/css" media="all" href="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/css/font-awesome.min.css" /> | <link rel="stylesheet" type="text/css" media="all" href="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/css/font-awesome.min.css" /> | ||
<link rel="stylesheet" type="text/css" media="all" href="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/css/jgallery.min.css" /> | <link rel="stylesheet" type="text/css" media="all" href="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/css/jgallery.min.css" /> | ||
Line 8: | Line 7: | ||
<script src="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/js/tinycolor-0.9.16.min.js"></script> | <script src="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/js/tinycolor-0.9.16.min.js"></script> | ||
<script src="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/js/jgallery.min.js"></script> | <script src="https://cdn.rawgit.com/jakubkowalczyk-pl/jgallery/c4cdb0467c8e9cb60dcdc086d411ad62ba09288a/js/jgallery.min.js"></script> | ||
- | |||
+ | <!-- | ||
<style> | <style> | ||
/*! | /*! | ||
Line 52: | Line 51: | ||
J = (J) ? J : ""; | J = (J) ? J : ""; | ||
G = G || {}; | G = G || {}; | ||
- | if | + | if (typeof J == "object") { |
+ | if (J.hasOwnProperty("_tc_id")) { | ||
return J | return J | ||
+ | } | ||
} | } | ||
var L = p(J); | var L = p(J); | ||
Line 759: | Line 760: | ||
function u(G) { | function u(G) { | ||
- | + | if (typeof G == "string") { | |
+ | return failand(G.indexOf(".") != -1, parseFloat(G) === 1); | ||
+ | } | ||
+ | return false; | ||
} | } | ||
function E(G) { | function E(G) { | ||
- | + | if (typeof G === "string") { | |
+ | return G.indexOf("%") != -1 | ||
+ | } | ||
+ | return false; | ||
} | } | ||
Line 2,930: | Line 2,937: | ||
</script> | </script> | ||
+ | --> | ||
</html> | </html> |
Latest revision as of 09:54, 17 October 2014