Implement windows desktop and easyuiwindows desktop based on EasyUI
Previously, I introduced the windows desktop Effect Based on jquery tool. Today, we bring you a windows desktop based on EasyUI. This desktop browser is applicable to: 360, FireFox, Chrome, Safari, Opera, aoyou, sogou, and windows of the world. IE8 and the following browsers are not supported. As follows:
Download Online Preview source code
Implementation code.
Js Code:
$ (Function () {$. messager. alert ("webmaster materials", "Welcome to webmaster materials. Now you can try and change the app. For more JavaScript code, see <a style = 'color: green 'target = '_ blank' href = 'HTTP: // www.w2bc.com '> special effect of webmaster material webpage </a> "); if ($. browser. msie & parseInt ($. browser. version) <8) {$. messager. alert ("tip", "you are currently using IE" + $. browser. version + ". This program supports <a style = 'color: green' target = '_ blank' href = 'HTTP: // windows.microsoft.com/zh-cn/internet-assumer/products/ie/home'> IE8.0 </a> or later versions and Google, Firefox .. ");} try {top. location. hostname; if (top. location. hostname! = Window. location. hostname) {top. location. href = window. location. href ;}} catch (e) {top. location. href = window. location. href ;}});
Vis: http://www.w2bc.com/Article/18340