Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <HTML>
- <HEAD>
- <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <META name="GENERATOR" content="IBM Software Development Platform">
- <META http-equiv="Content-Style-Type" content="text/css">
- <LINK href="theme/Master.css" rel="stylesheet" type="text/css">
- <TITLE></TITLE>
- <!-- script for disable text selection - function implemented -->
- <script type="text/javascript">
- <!--
- /***********************************************
- * Text Selection script- Disable
- ***********************************************/
- function disableMouseSelection(target){
- if (typeof target.onselectstart!="undefined") // for IE
- target.onselectstart=function(){return false}
- else if (typeof target.style.MozUserSelect!="undefined") // for Firefox
- target.style.MozUserSelect="none"
- else //All other route (ie: Opera)
- target.onmousedown=function(){return false}
- target.style.cursor = "default"
- }
- // -->
- </script>
- </HEAD>
- <BODY>
- <!-- Script for mouse right click disable -->
- <script language=JavaScript>
- <!--
- //Mouse Right click disable
- var message="";
- function clickinIE() {if (document.all) {(message);return false;}}
- function clickinNS(e) {if
- (document.layers||(document.getElementById&&!document.all)) {
- if (e.which==2||e.which==3) {(message);return false;}}}
- if (document.layers)
- {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickinNS;}
- else{document.onmouseup=clickinNS;document.oncontextmenu=clickinIE;}
- document.oncontextmenu=new Function("return false")
- // -->
- </script>
- <!-- Layer for table background with rows and cols bordrer is 1 -->
- <div id="gdgdg" style="position:absolute; left:10; top:15;">
- <TABLE bgcolor="#A0A0A0" BORDERCOLOR="#A0A0A0" border="1" CELLPADDING="0" cellsp acing="0" WIDTH="170" height="30">
- <TR height="10px" bgcolor="#888888">
- <TD width="34"></TD>
- <TD width="34"></TD>
- <TD width="34"></TD>
- <TD width="34"></TD>
- <TD width="34"></TD>
- </TR>
- <TR height="5px" bgcolor="#888888"><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD> <TD></TD></TR>
- <TR height="10px" bgcolor="#888888"><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD ><TD></TD></TR>
- <TR height="5px" bgcolor="#888888"><TD></TD><TD></TD><TD></TD><TD></TD><TD></TD> <TD></TD></TR>
- </TABLE>
- </div>
- <!-- Layer contains table with 5 cols (width is divide by no of chars) contains Captcha Chars -->
- <div id="captchdiv" style="position:absolute; left:10; top:15;">
- <TABLE BORDER="0" CELLSPACING="0" WIDTH="170" height="30">
- <tr>
- <td width="34" align="center" valign="top"><span
- style="font-family:cursive; FONT-SIZE:13.2 pt; color:#FF FFFF; text-decoration:none;">
- <b>Q</b></span></td>
- <td width="34" align="center" valign="bottom"><span
- style="font-family: cursive; FONT-SIZE:13.2 pt; color: # FFFFFF; text-decoration: none;">
- <b>W</b></span></td>
- <td width="34" align="center" valign="top"><span
- style="font-family: cursive; FONT-SIZE:13.2 pt; color: # FFFFFF; text-decoration: none;">
- <b>S</b></span></td>
- <td width="34" align="center" valign="bottom"><span
- style="font-family: cursive; FONT-SIZE:13.2 pt; color: # FFFFFF; text-decoration: none;">
- <b>T</b></span></td>
- <td width="34" align="center"><span
- style="font-family: cursive; FONT-SIZE:13.2 pt; color: # FFFFFF; text-decoration: none;">
- <b>F</b></span></td>
- </tr>
- </table></div>
- <!-- script for disable text selection call function above implemented -->
- <script type="text/javascript">
- disableMouseSelection(document.body) //disable text selection on entire body of page
- </script><script type="text/javascript">
- var somediv=document.getElementById("captchdiv")
- disableMouseSelection(somediv) //disable text selection within DIV with id="mydi v"
- </script><script type="text/javascript">
- var alltables=document.getElementsByTagName("table")
- for (var i=0; i<alltables.length; i++)
- disableMouseSelection(alltables[i]) //disable text selection within all tables o n the page
- </script>
- </BODY>
- </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement