关于程序升级为 HTML5 的问题和建议
By
ruitang
at 2015-06-06 • 0人收藏 • 2480人看过
关于程序升级为 HTML5 的问题和建议
看到Carbon-Forum的 Doctype,请问是否有升级为HTML5的计划呢?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
如果直接更改为 <!DOCTYPE html> 可以吗?
4 个回复 | 最后更新于 2015-06-06
登录后方可回帖
现在程序里已经有不少地方使用了HTML5。

粤公网安备 44030602003677号
为什么UEditor代码不会着色?
//Button go to top $(function(){ //Initialize position of button $("#go-to-top").css('left',(Math.max(document.body.clientWidth, 960) - 960)/2 + 690); $("#go-to-top").click(function(){ $("html, body").animate({"scrollTop": 0}, 400); return false; }); $(window).scroll(function() { var top = $(document).scrollTop(); var g = $("#go-to-top"); if (top > 500 && g.is(":hidden")) { g.fadeIn(); } else if(top < 500 && g.is(":visible")) { g.fadeOut(); } }); $(window).resize(function() { $("#go-to-top").css('left',(Math.max(document.body.clientWidth, 960) - 960)/2 + 690); }); //Search box $("#SearchButton").click(function() { if($("#SearchInput").val()){ location.href = WebsitePath + "/search/" + encodeURIComponent($("#SearchInput").val()); } }); $("#SearchInput").autocomplete({ serviceUrl: WebsitePath + '/json/tag_autocomplete', minChars: 2, type: 'post' }); })