أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

طلب : كود منع النسخ


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif طلب : كود منع النسخ
  22-05-2010 01:52 مساءً  
jeltiyassir
معلومات الكاتب
ضع الكود التالي في الهيدر

CODE
 
[color=#000000][font=Times New Roman]<!------ disable Select ------->
<head>
<meta http-**="Content-Language" content="en-us">
</head>
<script language="JavaScript1.2">
<!--
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//  -->
</script>
<!------ /disable Select ------->  [/font][/color]
[color=#000000][font=Times New Roman][/font][/color] 
[color=#000000]
[/color]
وهذا الكود في اسفل الكود السابق كذلك في الهيدر


CODE
[/color] 
[color=#000000][color=#000000][color=#000000][font=Courier New][color=#000000][font=Times New Roman]<!------ disable right click ------->
<script language="JavaScript">
<!--
 
var message="";
///////////////////////////////////
function clickIE()
 
{if (document.all)
{(message);return false;}}
 
function clickNS(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=clickNS;}
else
{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
 
document.oncontextmenu=new Function("return false")
// -->
</script>
<!------ /disable right click ------->  
[/font][/font][/color][/color]
[/color][/color]
[color=#000000]



لا تنساني من صالح دعائك , أخوك ياسر .


تم تحرير المشاركة بواسطة :jeltiyassir بتاريخ:22-05-2010 01:53 مساءً



الساعة الآن 09:11 AM