1. مهمان گرامی، جهت ارسال پست، دانلود و سایر امکانات ویژه کاربران عضو، ثبت نام کنید.
    بستن اطلاعیه

منو کلیک راست فارسی

شروع موضوع توسط ♥ yakamoz ♥ ‏29/12/10 در انجمن JS

  1. کاربر ویژه

    تاریخ عضویت:
    ‏25/11/10
    ارسال ها:
    8,716
    تشکر شده:
    4,394
    امتیاز دستاورد:
    123
    حرفه:
    Telegram: vahid_yakamoz instagram: vahid_yakamoz
    ღ❤ღ_______ yakamoz _______ღ❤ღ



    <!--<html>-->
    <!--<head>-->
    <!--</head>-->
    <!--<body>-->
    <SCRIPT language="javaScript" link="www.js4ir.com">
    menuItems = new Array();
    menuItemNum = 0;
    function addMenuItem(text, url, img){
    if(img) menuItems[menuItemNum] = new Array(text, url, img);
    else if(text) menuItems[menuItemNum] = new Array(text, url);
    else menuItems[menuItemNum] = new Array();
    menuItemNum++;
    }
    menuWidth = 131;
    menuHeight = 230;
    menuDelay = 1;
    menuSpeed = 10;
    menuOffset = 20;
    addMenuItem("<center>جاوا اسکریپت</center>","http://www.js4ir.com");
    addMenuItem();
    addMenuItem("<center>آر اس اس</center>","http://rss.js4ir.com");
    addMenuItem();
    addMenuItem("<center>پی اچ پی</center>","http://php.js4ir.com");
    addMenuItem();
    addMenuItem("<center>اچ تی ام ال</center>","http://html.js4ir.com");
    addMenuItem();
    addMenuItem("<center>جستجوگر فارسی</center>","http://search.js4ir.com");
    addMenuItem();
    addMenuItem("<center>صفحه 5</center>","your adress");
    addMenuItem();
    addMenuItem("<center>ایمیل به سایت جاوا</center>","mailto:javascript4ir@gmail.com");
    addMenuItem();
    addMenuItem("<center>صفحه7</center>","your adress");
    addMenuItem();
    addMenuItem("<center>خفن ترین سایت</center>","http://www.js4ir.com");
    addMenuItem();

    if(window.navigator.appName == "Microsoft Internet Explorer" && window.navigator.appVersion.substring(window.navig ator.appVersion.indexOf("MSIE") + 5, window.navigator.appVersion.indexOf("MSIE") + 8) >= 5.5)
    isIe = 1;
    else
    isIe = 0;
    if(isIe){
    menuContent = '<table id="rightMenu" width="0" height="0" cellspacing="0" cellpadding="0" style="font:menu;color:menutext;"><tr height="1"><td style="background:threedlightshadow" colspan="5"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedhighlight" colspan="2"></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="10"><td style="background:threedlightshadow"></td><td style="background:threedhighlight"></td><td style="background:#F2F2F2"><table cellspacing="0" cellpadding="0" nowrap style="font:menu;color:menutext;cursor:default;">';
    for(m=0;m<menuItems.length;m++){
    if(menuItems[m][0] && menuItems[m][2])
    menuContent += '<tr height="17" onMouseOver="this.style.background=\'highlight\';this.style.col or=\'highlighttext\';" onMouseOut="this.style.background=\'#F2F2F2\';this.style.color =\'menutext\';" onClick="parent.window.location.href=\'' + menuItems[m][1] + '\'"><td style="background:#F2F2F2" width="1" nowrap></td><td width="21" nowrap><img src="' + menuItems[m][2] + '"></td><td nowrap>' + menuItems[m][0] + '</td><td width="21" nowrap></td><td style="background:#F2F2F2" width="1" nowrap></td></tr>';
    else if(menuItems[m][0])
    menuContent += '<tr height="17" onMouseOver="this.style.background=\'highlight\';this.style.col or=\'highlighttext\';" onMouseOut="this.style.background=\'#F2F2F2\';this.style.color =\'menutext\';" onClick="parent.window.location.href=\'' + menuItems[m][1] + '\'"><td style="background:#F2F2F2" width="1" nowrap></td><td width="21" nowrap></td><td nowrap>' + menuItems[m][0] + '</td><td width="21" nowrap></td><td style="background:#F2F2F2" width="1" nowrap></td></tr>';
    else
    menuContent += '<tr><td colspan="5" height="4"></td></tr><tr><td colspan="5"><table cellspacing="0"><tr><td width="2" height="1"></td><td width="0" height="1" style="background:threedshadow"></td><td width="2" height="1"></td></tr><tr><td width="2" height="1"></td><td width="100%" height="1" style="background:threedhighlight"></td><td width="2" height="1"></td></tr></table></td></tr><tr><td colspan="5" height="3"></td></tr>';
    }
    menuContent += '</table></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedhighlight"></td><td style="background:#F2F2F2"></td><td style="background:threedshadow"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threedlightshadow"></td><td style="background:threedshadow" colspan="3"></td><td style="background:threeddarkshadow"></td></tr><tr height="1"><td style="background:threeddarkshadow" colspan="5"></td></tr></table>';
    menuPopup = window.createPopup();
    menuPopup.document.body.innerHTML = menuContent;
    }
    function showMenu(){
    menuXPos = event.clientX + menuOffset;
    menuYPos = event.clientY + menuOffset;
    menuXIncrement = menuWidth / menuSpeed;
    menuYIncrement = menuHeight / menuSpeed;
    menuTimer = setTimeout("openMenu(0,0)", menuDelay);
    return false;
    }
    function openMenu(height, width){
    iHeight = height;
    iWidth = width;
    menuPopup.show(menuXPos, menuYPos, iWidth, iHeight, document.body);
    if(iHeight < menuHeight)
    menuTimer = setTimeout("openMenu(iHeight + menuYIncrement, iWidth + menuXIncrement)", 1);
    else
    clearTimeout(menuTimer);
    }
    if(isIe) document.oncontextmenu = showMenu;
    </SCRIPT>
    <!--</body>-->
    <!--</html>-->


    ღ❤ღ_______ yakamoz _______ღ❤ღ