Installation
- Add "<script language="JavaScript" src="linkkiller2.js"></script>"
to the <head></head> section of your pages.
- Add onDblClick="dbl = 1;" onunload=unload() onbeforeunload="unload()"
onload="grabbody()" to your body tag as shown below.
- Copy the LinkKiller2.js
file to your web server.
- Add the <div id=lnkkill_1>CONTENT</div> tags to
your pages.
- Optional: Add the MicroSoft Meta-Tag <meta name="MSSmartTagsPreventParsing"
content="TRUE"> to the <head></head>
section of your pages.
I have set-up the JavaScript up to clean two sections of the page by
default, these sections should be enclosed in DIV tags eg..
<div id=lnkkill_1>CONTENT</div>
<div id=lnkkill_2>CONTENT</div>
To add more sections or to reduce the number of sections to be cleaned
simply edit the lines immedetly following the comments in the JavaScript
file, look for the following comment lines
// If you have more sections of text to clean add more lines to this
area
Just remember to match up the names used in the DIV tags to the names
in the script. (lnkkill_1, lnkkill_2, lnkkill_3
etc...)
Example of how your pages will look after the code is installed:
<html>
<head>
<title>Yellow and Green Link Killer</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<script language="JavaScript" src="linkkiller.js"></script>
</head>
<body onDblClick="dbl = 1;" onunload=unload() onbeforeunload="unload()"
onload="grabbody()">
Your Top Banner |
Graphical
Menu
etc...
.......
.......
.......
.......
|
<div id=lnkkill_1>
Some content that needs cleaning. </div>
|
<div id=lnkkill_2>
Some more content that needs cleaning.
</div> |
Some Graphics or Adverts |
<div id=lnkkill_3>
A third section of content that needs cleaning.
</div> |
Your Bottom Banner |
</body></html>
|