Line 83: | Line 83: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
var L = $(window).width(); | var L = $(window).width(); | ||
− | var lp = $("#loading_icon | + | var lp = $("#loading_icon span").width() |
//加载图像 | //加载图像 | ||
$("#loading_icon").fadeOut(2000); //应用2000,调试1 | $("#loading_icon").fadeOut(2000); //应用2000,调试1 | ||
Line 89: | Line 89: | ||
//加载文字 | //加载文字 | ||
− | $("#loading_icon | + | $("#loading_icon span").css('left', (L - lp)*100 / (2 * L) + 'vw'); |
Line 107: | Line 107: | ||
<body> | <body> | ||
<div id="loading_icon"> | <div id="loading_icon"> | ||
− | < | + | <span>MOSFET</span> |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 23:23, 15 October 2018
MOSFET