This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>图片垂直居中demo</title> | |
</head> | |
<style> | |
/*全局样式*/ | |
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { margin: 0; padding: 0; } | |
body, button, input, select, textarea { font: 12px/1.5 Arial,"microsoft yahei","微软雅黑E\8F6F\96C5\9ED1"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
动态加载jQuery并等待载入完毕后回调main | |
Author:McFog | |
*/ | |
_unique_main = function() { | |
//maincode with jquery support | |
}//end of main | |
if(typeof $ != 'function' || typeof $().jquery != 'string') { | |
_unique_doc = document.getElementsByTagName('head')[0]; | |
_unique_js = document.createElement('script'); |
NewerOlder