SiteExperts.com Logo Home | Community | Developer's Paradise | Jobs
User Groups | Site Tools | Site Information | Search

Inside Technique : Introduction : Sample Index

Below is a collection of interesting context menu samples and demonstrations. If you are interested in creating your own context menu extensions, we highly recommend you read the tutorial.

Resize to 640x480 (resizes the browser window to 640x480 pixels)
Add Style (adds a stylesheet rule to the current page)
Add Style 2 (the sequel to Add Style)
Document Properties (tons of info for the current HTML document)
Execute Script (type in some custom code to be run)
Explode All Tables (shows/hides table borders)
Favorites 2 HTML (your favorites as an HTML page)
Hide Image
Show Hidden Images
(fade in/out images)
Info Overlay (an image has it's info placed over it)
Pop Images (replaces all images with a color chip)
Show Cookies (show a document's cookies)
Show Cookies 2 (show a document's cookies attractively)
List All Tags (lists every HTML tag in a document)
Toggle 8-bit Display (switches to/from 8-bit colour temporarily)
URL to Clipboard (places the current URL into the clipboard)
Validate (via W3C) (validate HTML with the W3C's validator)
Validate (via WDG) (validate HTML with the WDG's validator)

Installation Instructions

Each context menu can be installed in two ways: automatically from an INF file, or manually with the help of a REG file. The INF method handles all the copying for you, and allows you to uninstall the context menu addition from the "Add/Remove Programs" control panel. The REG method allows you see the registry changes for yourself. If you aren't sure which one to use, I'd recommend the easier INF method.

INF method

  1. Download (not open!) all the required files, except those ending in "REG". Save them anywhere convenient.
  2. Find the INF file you just downloaded. Right-click on it, and select the "Install" option in the pop-up menu.
  3. You may see a dialog box pop up, asking where to find the other files you downloaded. If the proper directory is already listed in the drop-down list, you can just click the "OK" button. If not, click on the "Browse" button to open up a directory tree. Find and select the directory on that tree that contains the file (the file's name will be listed in two places if you have the right one).
  4. If you wish, you can also delete the downloaded files, since copies of them have been put in the proper spots.

REG method

  1. Download (not open!) all the required files, except those ending in "INF". Save them anywhere convenient. Make a note of the directories listed in front of each file, however.
  2. If you have installed Windows to a directory other than the usual "C:\WINDOWS", you will have to edit the "REG" file. Open it up in any ASCII text editor (like NotePad), and replace every occurance of "C:\\WINDOWS" with the directory you installed Windows to (remember to double the backslashes).
  3. Double-click on that "REG" file. If done properly, you will be asked if you want to add some information to the registry. If you click "Yes", an alert will tell you that the data has been added. The "REG" file is no longer needed after this.
  4. Copy the other files to the directories listed in front of each file. If your copy of Windows was not installed to "C:\WINDOWS", adjust the file's location appropriately. If the script requires a new directory to be created, be sure to get the name exactly right.
  5. You may delete the downloaded copies if you wish; just be sure you don't accidentally remove a file necessary for the context menu!

All the samples are also available in one Zip file.