ONLY,WORKS,WITH,ever,wanted,navigation,menu,i
Quick Search for:  in language:    
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: 155,451 lines
 Jobs: 364 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Java/ Javascript.
Protect Your Source Code ??
By christopher.rav en on 10/18


format date
By Sam Collett on 10/18


Click here to see a screenshot of this code!Applicant assessment
By SP Tang on 10/18

(Screen Shot)

Emulated Typewriter
By Mike Powers on 10/17


Click here to see a screenshot of this code!Java-Asp chat
By Paul R. Richards on 10/17

(Screen Shot)

Click here to see a screenshot of this code!The Data Markup Language
By Tanwani Anyangwe on 10/16

(Screen Shot)

ordered binary tree
By Eric Repec InetSolution on 10/16


Infinite tree w/XML
By Eric Repec InetSolution on 10/16


Click here to see a screenshot of this code!Shiznit Javascript Color Picker
By Chris Towers on 10/15

(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!





Affiliate Sites



 
 
   

RIGHT CLICK MENU

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

Users have accessed this code 6978 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/xq/ASP/txtCod
//     eId.1802/lngWId.2/qx/vb/scripts/ShowCode
//     .htm//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.).
Reason:
 
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

 There are no comments on this submission.
 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

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.
 
Name:
Comment:

 

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 | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.