Forum Moderators: open
var base="my.url/";
document.write(base+"<nobr><center>");
document.write(base+"<b>-IronMagma-</b><br>");
document.write(base+"·<a href=\""+base+"index.html\">Home</a>·<br>");
document.write(base+"·<a href=\"javascript:window.external.AddFavorite(\'http://www.ironmagma.tk\',\'IronMagma 3D Wallpaper\')\">Bookmark Now!</a>·<br>");
document.write(base+"·<a href=\""+base+"chat.html\">Chat Room</a>·<br>");
document.write(base+"·<a href=\""+base+"customize.html\">Customize</a>·<br>");
document.write(base+"·<a href=\""+base+"contact.html\">Contact</a>·<br>");
document.write(·<a href=\""+base+"copyright.html\">Copyright Info</a>·<br>");
document.write("·<a href=\""+base+"privacy.html\">Privacy Policy</a>·");
document.write("<br><br><b>-Galleries-</b><br>");
document.write("·<a href=\""+base+"galleries/securegallery.html\">Members Gallery</a>·<br>");
document.write(·<a href=\""+base+"galleries/grandlist.html\">Free Gallery</a>·");
document.write("<br><br>·<a href=\""+base+"cd.html\"><b>CD-ROM</b></a>·<br><br>");
document.write("·<a href=\"http://my.shop.shop\"><b>Shirts, etc.</a>·</b><br><br>");
document.write("</nobr>")
I took your advice and downloaded Mozilla suite, and found the Venkman debugger. I can't figure out how to make it debug my programs. I read a number of articles and still no luck.
First, I made the mistake of "floating" and everything disappeared. Then I found that was a bug in the program and did the fix to get the boxes back. My "interactive session" is above my "sourcecode" but it is there!
Could anyone tell me in very simple, step-by-step terms how to debug my script using Venkman? I have spent two days reading tutorials that are above me.
Thank you!
What I do use quite frequently is the JavaScript Console, which simply gives quick and accurate information on where the interpreter has trouble digesting code. This isn't necessarily the same thing as a bug. A bug can be valid code, but produce the wrong effect.
If you really want to wade into Venkman, you might try this article, if you haven't already: [devedge.netscape.com...]
Developing a sensible debugging regime, with the appropriate use of customised alerts etc, is a good strategy to start off with.
When doing anything that messes with the DOM, having a bookmarklet that shows you the browser's internal code helps. Type this into your address bar, + return:
javascript:'<xmp>'+document.documentElement.innerHTML+'</xmp>'
Then drag it over to your links bar, so you can use it as a bookmarklet.