That code is ancient. Even though it states it was last edited in 2009, it will have been many years before that!
[language="JavaScript", capitalised TAGS, document.layers are the clues.]
I suggest that you find more recent code before attempting to merge it with yours.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
Andrew is correct ... maybe AJAX (some PHP/JQuery) would be better.
I don't have an example to show.
Ancient it may be, but it is the best example I have found so far that doesn't completely go over my head or require me to create image snapshots of all 21+ thousand links I have in my database.
Thanks anyways, I'll keep looking.
FYI, thanks for taking a shot at merging the code. When I uploaded I ended up with the following error:
Code:
Parse error: syntax error, unexpected 'div1' (T_STRING), expecting ',' or ';' in /homepages