THE MORE INFO CHANNEL
Blogs
DHTML Scripts & Javascripts
Free Fonts
Friends
Free Games
Music directory
Shareware & Freeware
Free Sounds
Web Search
 
DHTML script
 

SimplytheBest
Scripts

ASP scripts
PERL scripts
PHP scripts
JavaScripts & Ajax
Snippets
Online scripts

Ajax, DHTML
& JavaScripts

Animation
Background
Bookmarks
Buttons
Calculators
Cookies
Data handling
E-mail
Enhancements
Forms
Image rotation
Menus
Messages
Miscellaneous
Music
Password protection
Redirection
Scrollers
Tables
Time & date
Windows

Publishers
Add script
Account login
Publisher list



 

Home > Scripts > DHTML scripts & JavaScripts > Menus > Left click popup menu script

 

Left click popup menu script

AUTHOR: Colin Barron
TYPE: Freeware
BROWSERS:
IE 4+, IE 5+, IE 6+, NS 4+

This script is a popup navigation menu that appears when and wherever you left click on any space in the web page. It's very easy to configure.


EXAMPLE

Left click anywhere on the page to see the menu popup.


1)
Insert this style command in the <HEAD> section of the page.

then copy (CTRL-C) & paste (CTRL-V)

2) Insert this script in the <HEAD>, between <HEAD> and <BODY> or in the <BODY> section of the page.

then copy (CTRL-C) & paste (CTRL-V)

3) Insert the following HTML code anywhere in the <BODY> section of the page.

then copy (CTRL-C) & paste (CTRL-V)

4) Insert the onload event handler inside the <BODY> tag as follows:

<body onload="detect()", followed by other tags such as bgcolor, etc..

copy (CTRL-C) & paste (CTRL-V)

5) Change these variables to customize the style of the popup menu and the links in this section of the HTML code:

<!-- Start of Popup Menu -->
<div id=itemopen >
<table cellspacing="0" cellpadding="2" border="1" bordercolor="#87C2C2" bgcolor="#FFFFCC">
<tr><td><a href="http://simplythebest.net">Home page</a></td></tr>
<tr><td><a href="http://blogs.simplythebest.net">Blogs</a></td></tr>
<tr><td><a href="http://simplythebest.net/scripts/">DHTML Scripts & Javascripts</a></td></tr>
<tr><td><a href="http://simplythebest.net/fronts/">Free Fonts</a></td></tr>
</table>
</div>
<!-- End of Popup Menu -->


[BACK] [TOP]

 


Copyright © 1997-2009 SimplytheBest Inc. Terms of Use and Legal Disclaimer.
All copyrights are acknowledged. All rights reserved.