1. Keyboard key monitor event and prohibit copy operation
<textarea id="runcode74815"><pead> <script language=javascript> document.onkeydown=nextpage var prevpage= "http://www.jb51.net/ 1.htm "var nextpage=" http://www.jb51.net/2.htm "var indexpage="/readindex/index_0011020986.html "function nextpage ( Event) {event = Event event: (Window.event window.event:null); if (event.keycode==13) location=indexpage if (event.keycode==37) location=prevpage if (event.keycode==39) location= NextPage} </script> <script language=javascript> function nocopy () {alert ("not allowed to replicate"); Event.returnvalue=false; } </SCRIPT> </pead> <body leftmargin= "0" oncopy=nocopy () > <script language= "JavaScript" Type= "Tex" T/javascript "> <!--function Mm_openbrwindow (theurl,winname,features) {//v2.0 window.open (theurl,winname, Features); }//--> </script> <p> disable replication </p> </body></textarea>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
jquery table Operation instance, originally wanted to add in the message, but Javaeye's administrator is very baffling always hide my posts, post sent less than a minute to be the judges hidden stickers, I really admire ah, black-and-black operation is to be rated as hidden stickers, oh oh, where I sent a garbage paste, I am the prototype of the lightboxhuanchengjquery of the Facybox so send a post, who knows directly the judges hide affixed, hard not to send that kind of emotional stickers can not hide, send technical stickers are hidden!!!!
Copy Code code as follows:
The rendering of tables in the Thai climate
Beui. E.THAILAND_QH = function () {
Tbody the first column in the left, the 3,5,7 column font bold
$ (' table#thailand-qh tbody tr '). each (function () {
$ (' Td:even ', this). css (' font-weight ', ' bold ');
$ (' td:eq (0) ', this). css ({' text-align ': ' Left ', ' font-weight ': ' normal '});
});
$ (' Table#thailand-qh tbody tr:odd '). addclass (' thailand-qh-tbody-tr-odd ');
$ (' Table#thailand-qh tbody tr:even '). addclass (' Thailand-qh-tbody-tr-even ');
};
Current 1/2 page
12 Next read the full text