Difference between revisions of "Template:FAFU CHINA/try"
(Created page with "<html lang="zh"> <head> <meta charset="UTF-8"> <title>FAFU_SHOW</title> <link href='http://fonts.useso.com/css?family=Roboto:400,300,700' rel='stylesheet' type='text/css'> <l...") |
|||
Line 1: | Line 1: | ||
− | <html | + | <html xmlns="http://www.w3.org/1999/xhtml"> |
− | < | + | <HEAD> |
− | + | <TITLE>自动循环图片展示幻灯片banner_懒人建站</TITLE> | |
− | < | + | |
− | < | + | <META http-equiv=Content-Type content="text/html; charset=UTF-8"> |
− | < | + | <SCRIPT src="https://2015.igem.org/Template:FAFU_CHINA/head2/js/jquery?action=raw&ctype=text/javascript"></script> |
+ | <SCRIPT src="https://2015.igem.org/Template:FAFU_CHINA/head2/js/jquery.cross-slide?action=raw&ctype=text/javascript"></script> | ||
+ | <STYLE type=text/css> | ||
+ | BODY { | ||
+ | background-color:#333; | ||
+ | } | ||
+ | #rotator { | ||
+ | WIDTH: 981px; HEIGHT: 235px; TEXT-ALIGN: left; | ||
+ | display:block; | ||
+ | margin:0 auto; | ||
+ | } | ||
+ | </STYLE> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </HEAD> | |
− | + | <BODY> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <DIV id=rotator> | |
− | + | <SCRIPT type=text/javascript> | |
− | + | jQuery(function($) {$(document).ready(function() { | |
− | + | $('#rotator').crossSlide( | |
− | + | {sleep: 4, fade: 1, debug: true}, | |
− | </ | + | [ |
− | + | {src: 'https://static.igem.org/mediawiki/2015/e/e4/Fafu_1.jpg', href: 'https://2015.igem.org/Team:FAFU-CHINA'}, | |
+ | {src: 'https://static.igem.org/mediawiki/2015/a/aa/Fafu_2.jpg', href: 'https://2015.igem.org/Team:FAFU-CHINA'}, | ||
+ | {src: 'https://static.igem.org/mediawiki/2015/b/b2/Fafu_3.JPG', href: 'https://2015.igem.org/Team:FAFU-CHINA'}, | ||
+ | {src: 'https://static.igem.org/mediawiki/2015/9/91/Fafu_4.JPG', href: 'https://2015.igem.org/Team:FAFU-CHINA'}, | ||
+ | {src: 'https://static.igem.org/mediawiki/2015/3/36/Fafu_5.JPG', href: 'https://2015.igem.org/Team:FAFU-CHINA'} | ||
+ | ] | ||
+ | ); | ||
+ | });}); | ||
+ | </SCRIPT> | ||
+ | </DIV> | ||
− | + | </BODY> | |
− | + | </HTML> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | </ | + |
Revision as of 08:16, 15 September 2015