Jim -
Thanks for your reply.
To your first question, the alert box says "off".
As for your second post, I may not be implementing this correctly. I've tried some different ways to use this to no avail. Forgive my noobness, but I assume cancelBubble will remove the alert? I've tried:
Code:
anchorTag.className = "off";
if (window.event) {
window.event.cancelBubble = true;
}
which doesn't correct anything. i still see a span that technically should be set to display block.
Code:
anchorTag.className = "off";
alert("just an alert");
if (window.event) {
window.event.cancelBubble = true;
}
anchorTag.className = "off";
which doesn't do anything different (behaves the same as if the "if" statement weren't present.
If I'm implementing this wrong, please let me know. I appreciate you posting something for me to try. My last resort is to recode everything so that the script changes the span's style.display instead of changing the anchorTag's class, but I really think that would be much less efficient and managable.
Bookmarks