منتديات الأمل ادارة ميمي
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

منتديات الأمل ادارة ميمي

شامل ومتنوع
 
الرئيسيةالبوابةأحدث الصورالتسجيلدخول

 

 روابط تظهر عند النقر بزر الماوس اليمين 1

اذهب الى الأسفل 
كاتب الموضوعرسالة
Admin
Admin



المساهمات : 827
تاريخ التسجيل : 28/05/2011

روابط تظهر عند النقر بزر الماوس اليمين 1 Empty
مُساهمةموضوع: روابط تظهر عند النقر بزر الماوس اليمين 1   روابط تظهر عند النقر بزر الماوس اليمين 1 Icon_minitimeالأربعاء يونيو 22, 2011 10:45 am

<style>
<!--


.skin0{
position:absolute;
width:200px;
border:2px solid black;
background-color:menu;
font-family:Tahoma;
line-height:18px;
cursor:default;
visibility:hidden;
}

.skin1 {cursor: hand; position: absolute; width: 165px; background-color: #CCFF33; visibility: hidden; border: 1px; font-variant:normal; font-weight:normal}

.menuitems{
padding-left:15px;
padding-right:10px;
}
-->
</style>



<script language="JavaScript1.2">
/* Translated By www.star28.com/
// Visit our site at http://www.star28.com/ for more code
// This notice must stay intact for use */
//set the skin of the menu (0 or 1, with 1 rendering a default Windows menu like skin)
var menuskin=1

//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=0


function showmenuie5(){
//Find out how close the mouse is to the corner of the window
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<ie5menu.offsetWidth)
//move the horizontal position of the menu to the left by it's width
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
//position the horizontal position of the menu where the mouse was clicked
ie5menu.style.left=document.body.scrollLeft+event.clientX

//same concept with the vertical position
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY

ie5menu.style.visibility="visible"
return false
}

function hidemenuie5(){
ie5menu.style.visibility="hidden"
}

function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}

function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="black"
window.status=''
}
}

function jumptoie5(){
if (event.srcElement.className=="menuitems"){
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
</script><center><font face=tahoma size=2 color=black>
<!--[if IE]>
<div id="ie5menu" class="skin0" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" url="http://www.">الرابط 1</div>
<div class="menuitems" url="http://www.">الرابط 2</div>
<div class="menuitems" url="http://www.">الرابط 3</div>
<div class="menuitems" url="http://www.">الرابط 4</div>
<div class="menuitems" url="http://www.">الرابط 5</div>
<div class="menuitems" url="http://www.">الرابط 6</div>
<div class="menuitems" url="http://www.">الرابط 7</div>
<hr>
<div class="menuitems" url="http://www.">الرابط 8</div>
<div class="menuitems" url="http://www.">الرابط 9</div>
</div>
<![endif]--></center></font>
<script language="JavaScript1.2">
if (document.all&&window.print){
if (menuskin==0)
ie5menu.className="skin0"
else
ie5menu.className="skin1"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
</script>



الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://magdolen-123.own0.com
 
روابط تظهر عند النقر بزر الماوس اليمين 1
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» روابط ضمن مربع اختيار
» كلام يتحرك من اليمين الى اليسار
» كلام يأتي من اليمين الى منتصف الصفحة
» كلام يتحرك من اليمين الى اليسار و بالعكس
» صورة يستطيع تحريكها الزائر الى اليمين و اليسار

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
منتديات الأمل ادارة ميمي  :: منتدى الاكواد-
انتقل الى: