|  13-02-2009, 20:37 | رقم المشاركة : ( 1 ) | 
	| مؤسس الشبكة 
 
 
			
	
			| لوني المفضل : 
		
		darkslateblue |  
			| رقم العضوية : 
		1 |  
			| تاريخ التسجيل : 
		1 - 8 - 2007 |  
			| فترة الأقامة : 
		6666 يوم |  
			| أخر زيارة : 
		يوم أمس |  
			| المشاركات : 
		11,990 [
		
		+ ] |  
			| عدد النقاط : 
		10437 |  
			| الدوله ~ |  
			| الجنس ~ |  
			| S M S ~ 
								
								 |  
			| M M S ~ |  
			|  |  | 
				 منع استخدام الزر الأيمن وحماية المواضيع 
 
 
 
  السلام عليكم ورحمة الله وبركاته 
 
 لحماية مواضيع المنتدى بمنع تظليل النص أو استخدام الزر الأيمن للفأرة
 
 يتم استخدام الكود التالي:
 
 
 في أعلى قالب headinclude أضف التالي واحفظ القالب
 
| كود |  |  <****** language="Java******1.2">
var message="Text Here";
function click(e)
{
  if (document.all)
  {
    if (event.button==2||event.button==3)
    {
      alert(message);
      return false;
    }
  }
  else
  {
    if (e.button==2||e.button==4)
    {
      e.preventDefault();
      e.stopPropagation();
      alert(message);
      return false;
    }
  }
 
}
 
if (document.all) // for IE
{
  document.onmousedown=click;
}
else // for FF
{
  document.onclick=click;
}
</******>
<****** type="text/java******">
function ehan( evnt )
{
  if( evnt.which == 3 )
  {
    alert( "Text Here" );
    return false;
  }
  return true;
}
function ocmh()
{
  alert( "Text Here" );
  return false;
}
document.oncontextmenu = ocmh;
document.captureEvents( Event.MOUSEDOWN );
if( document.layers ) document.onmousedown = ehan;
</******>
 
<****** language="Java******">
if (******!=top){top.location.href=location.href;}
</******>
<****** type="text/java******">
<!--
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
-->
</******>
 
 
    <****** language="Java******">
if (******!=top){top.location.href=location.href;}
</******>
<****** type="text/java******">
<!--
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
-->
</******>   |  وقد وضعت الكود في ملف بالمرفقات كإضافة
 
 
 مع تمنياتي لكم بالتوفيق
 
 
 | 
| 
 
 | 
	|  |   |