All source code in Java/ Javascript Ask a Java/ Javascript Pro Discussion Forum Categories All jobs in Java/ Javascript
ONLY,WORKS,WITH,ever,wanted,navigation,menu,i
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 484,040. lines
 Jobs: 194. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login





Latest postings for Java/ Javascript.
Click here to see a screenshot of this code!My First Struts2 Application
By nagesh borate on 2/7

(Screen Shot)

Click here to see a screenshot of this code!Peg solitaire
By Mario Segura on 2/4

(Screen Shot)

Simple TicTacToe
By Atishay Jain on 2/4


moon info
By marcojetson on 2/3


Click here to see a screenshot of this code!SLOT MACHINE
By Husain Limdiyawala on 2/1

(Screen Shot)

Click here to see a screenshot of this code!NLabs' Password Generator
By nagesh borate on 2/1

(Screen Shot)

DragAndDrop
By Masood Fallahpoor on 1/30


Click here to see a screenshot of this code!HTML Learning By Azhar Khan
By Azhar Khan Website Designer on 1/30

(Screen Shot)

Beautiful Graphics applet
By Tejas Jayantilal Gandhi on 1/28


Click here to see a screenshot of this code!The Picture Grapher 2010 beta
By ROD LEWIS on 1/26

(Screen Shot)

xo
By ahmed wagih on 1/26


Click here to see a screenshot of this code!Mobile Tracer by Azhar Khan
By Azhar Khan Website Designer on 1/26

(Screen Shot)

Click here to see a screenshot of this code!tic tac toe AI with multiple difficulties
By Michael Nipper on 1/23

(Screen Shot)

Click here to see a screenshot of this code!A Basic tutorial on JavaScript and HTML
By Ronald Holland on 10/27

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

RIGHT CLICK MENU

Print
Email
 
VB icon
Submitted on: 4/5/2000 4:32:49 AM
By: SeRkaL_7  
Level: Advanced
User Rating: By 4 Users
Compatibility:JavaScript

Users have accessed this code 19395 times.
 
 
     Have you ever wanted a navigation menu instead of Internet Exporer's right click menu. Well now you can. This script will have a menu (which you can adjust the height, amount of links, font and color in the source. BUT THIS ONLY WORKS WITH MICROSOFT INTERNET EXPLORER 5.0
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

//**************************************
//     
// Name: RIGHT CLICK MENU
// Description:Have you ever wanted a na
//     vigation menu instead of Internet Expore
//     r's right click menu. Well now you can. 
//     This script will have a menu (which you 
//     can adjust the height, amount of links, 
//     font and color in the source. BUT THIS O
//     NLY WORKS WITH MICROSOFT INTERNET EXPLOR
//     ER 5.0
// By: SeRkaL_7
//
//This code is copyrighted and has// limited warranties.Please see http://
//     www.Planet-Source-Code.com/vb/scripts/Sh
//     owCode.asp?txtCodeId=1802&lngWId=2//for details.//**************************************
//     

<HTML>
<HEAD>
<TITLE>Right Click Menu</TITLE>
<style>
<!--
/*
this Script only works with Internet Explorer 5.0
*/


    #ie5menu{
    position:absolute;
    width:150px;
    border:2px solid blue;
    background-color:navy;
    font-family:Tahoma;
    line-height:20px;
    cursor:default;
    visibility:hidden;
}

.menuitems{ padding-left:15px; padding-right:15px; }
--> </style> <!--[if IE]> <DIV id="ie5menu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()"> <DIV class="menuitems" url="http://your-site.com">LINK 1</DIV> <DIV class="menuitems" url="http://your-site.com">LINK 2</DIV> <DIV class="menuitems" url="http://your-site.com">LINK 3</DIV> <DIV class="menuitems" url="http://your-site.com">LINK 4</DIV> <HR> <DIV class="menuitems" url="http://your-site.com">LINK 5</DIV> <DIV class="menuitems" url="http://your-site.com">LINK 6</DIV> <DIV class="menuitems" url="http://your-site.com">LINK 7</DIV> <DIV class="menuitems" url="http://your-site.com">LINK 8</DIV> <HR> <DIV class="menuitems" url="mailto:yourname@domain.com">Email Me</DIV> </DIV> <![endif]--> </HEAD> <BODY bgcolor="#000000 fontcolor="#FFFFFF" bgproperties="fixed"> <SCRIPT LANGUAGE=JAVASCRIPT> var display_url=1 function showmenuie5(){ ie5menu.style.left=document.body.scrollLeft+event.clientX 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") window.location=event.srcElement.url }</SCRIPT><SCRIPT
language="JavaScript1.2"> document.oncontextmenu=showmenuie5 if (document.all&&window.print) document.body.onclick=hidemenuie5</SCRIPT> Right click to see the menu<BR> </BODY> </HTML>


Other 7 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
4/29/2004 6:19:40 AM

Great code,

Can this code be modified to show me different menus , on right click of different links or texts.

I would be obliged if u cud lemme know the same
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2010 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Exhedra solutions has no affiliation with Sun Microsystems, Inc.. Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.