Team:Columbia-Cooper-NYC/trial
From 2012.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<body> | <body> | ||
<script type="text/javascript" src="https://static.igem.org/mediawiki/2011/1/1b/IGEM_HokkaidoU_JS_Slideshow.txt"></script> | <script type="text/javascript" src="https://static.igem.org/mediawiki/2011/1/1b/IGEM_HokkaidoU_JS_Slideshow.txt"></script> | ||
+ | |||
+ | |||
<style type="text/css"> | <style type="text/css"> | ||
@charset "utf-8"; | @charset "utf-8"; | ||
Line 185: | Line 187: | ||
</style> | </style> | ||
- | + | ||
+ | |||
<style> | <style> | ||
- | + | ||
#hokkaidou-container{ | #hokkaidou-container{ | ||
width: 980px; | width: 980px; | ||
Line 194: | Line 197: | ||
} | } | ||
</style> | </style> | ||
- | + | ||
- | + | ||
<style> | <style> | ||
#hokkaidou-content | #hokkaidou-content | ||
Line 211: | Line 214: | ||
} | } | ||
</style> | </style> | ||
+ | |||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
jQuery.cookie = function (d, f, b) { function e(j, i) { if (j) { if (i) { return true } } return false } if (e(arguments.length > 1, String(f) !== "[object Object]")) { b = jQuery.extend({}, b); if (f === null || f === undefined) { b.expires = -1 } if (typeof b.expires === "number") { var h = b.expires, c = b.expires = new Date(); c.setDate(c.getDate() + h) } f = String(f); return (document.cookie = [encodeURIComponent(d), "=", b.raw ? f : encodeURIComponent(f), b.expires ? "; expires=" + b.expires.toUTCString() : "", b.path ? "; path=" + b.path : "", b.domain ? "; domain=" + b.domain : "", b.secure ? "; secure" : ""].join("")) } b = f || {}; var a, g = b.raw ? function (i) { return i } : decodeURIComponent; return (a = new RegExp("(?:^|; )" + encodeURIComponent(d) + "=([^;]*)").exec(document.cookie)) ? g(a[1]) : null }; | jQuery.cookie = function (d, f, b) { function e(j, i) { if (j) { if (i) { return true } } return false } if (e(arguments.length > 1, String(f) !== "[object Object]")) { b = jQuery.extend({}, b); if (f === null || f === undefined) { b.expires = -1 } if (typeof b.expires === "number") { var h = b.expires, c = b.expires = new Date(); c.setDate(c.getDate() + h) } f = String(f); return (document.cookie = [encodeURIComponent(d), "=", b.raw ? f : encodeURIComponent(f), b.expires ? "; expires=" + b.expires.toUTCString() : "", b.path ? "; path=" + b.path : "", b.domain ? "; domain=" + b.domain : "", b.secure ? "; secure" : ""].join("")) } b = f || {}; var a, g = b.raw ? function (i) { return i } : decodeURIComponent; return (a = new RegExp("(?:^|; )" + encodeURIComponent(d) + "=([^;]*)").exec(document.cookie)) ? g(a[1]) : null }; | ||
Line 237: | Line 242: | ||
}); | }); | ||
</script> | </script> | ||
- | + | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function () { | ||
+ | var buttons = { | ||
+ | previous: $('#lofslidercontent45 .lof-previous'), | ||
+ | next: $('#lofslidercontent45 .lof-next') | ||
+ | }; | ||
+ | $obj = $('#lofslidecontent45').lofJSidernews({ | ||
+ | interval: 5000, | ||
+ | direction: 'opacitys', | ||
+ | easing: 'easeInOutExpo', | ||
+ | duration: 1200, | ||
+ | auto: true, | ||
+ | maxItemDisplay: 7, | ||
+ | startItem: 0, | ||
+ | navPosition: 'horizontal', // horizontal | ||
+ | navigatorHeight: 32, | ||
+ | navigatorWidth: 80, | ||
+ | mainWidth: 780, | ||
+ | buttons: buttons | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<div id="hokkaidou-container"> | <div id="hokkaidou-container"> | ||
<div id="hokkaidou-content"> | <div id="hokkaidou-content"> | ||
- | + | ||
- | + | <div id="lofslidecontent45" class="lof-slidecontent"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<div style="display: none;" class="preload"> | <div style="display: none;" class="preload"> | ||
<div> | <div> | ||
Line 351: | Line 361: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | |||
+ | <div id="hokkaidou-right-content"> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 13:21, 3 October 2012