Cat
12-28-2008, 08:48 PM
السلام عليكم ورحمة الله وبركاته
هذا تعديل بسيط في تمبلت headinclude
يمنع استخدام زر الماوس الأيمن في المنتدى
::::::::::::::::::::
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
تعديل على تمبلت HEADINCLUDE
يمنع استخدام زر الماوس الأيمن في المنتدى
طريقة التركيب :-
~~~~~~~~~~
افتح تمبلت HEADINCLUDE
أضف الكود التالي أسف التمبلت آآآآآخر شئ :-
~~~~~~~~~~~~~~~~~~~~~~~~~
رمز PHP:
<****** LANGUAGE="**********1.1">
<!-- Original: Martin ***b (martin@irt.org) -->
<!-- This ****** and many more are available free online at -->
<!-- The ********** Source!! http://**********.internet.com -->
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
*****("عذراً .. لا يمكنك استخدام زر الماوس الأيمن!");
return false;
}
return true;
}
********.onmousedown=right;
********.onmouseup=right;
if (********.layers) ******.captureEvents(Event.MOUSEDOWN);
if (********.layers) ******.captureEvents(Event.MOUSEUP);
******.onmousedown=right;
******.onmouseup=right;
// End -->
</******>
انتهى التركيب
هذا تعديل بسيط في تمبلت headinclude
يمنع استخدام زر الماوس الأيمن في المنتدى
::::::::::::::::::::
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
تعديل على تمبلت HEADINCLUDE
يمنع استخدام زر الماوس الأيمن في المنتدى
طريقة التركيب :-
~~~~~~~~~~
افتح تمبلت HEADINCLUDE
أضف الكود التالي أسف التمبلت آآآآآخر شئ :-
~~~~~~~~~~~~~~~~~~~~~~~~~
رمز PHP:
<****** LANGUAGE="**********1.1">
<!-- Original: Martin ***b (martin@irt.org) -->
<!-- This ****** and many more are available free online at -->
<!-- The ********** Source!! http://**********.internet.com -->
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
*****("عذراً .. لا يمكنك استخدام زر الماوس الأيمن!");
return false;
}
return true;
}
********.onmousedown=right;
********.onmouseup=right;
if (********.layers) ******.captureEvents(Event.MOUSEDOWN);
if (********.layers) ******.captureEvents(Event.MOUSEUP);
******.onmousedown=right;
******.onmouseup=right;
// End -->
</******>
انتهى التركيب