Welcome to WebmasterWorld Guest from 174.129.127.214

Forum Moderators: open

Message Too Old, No Replies

Need Apple/Safari JavaScript/DOM Debugger

Apple/Safari MAC JavaScript/DOM Debugger

   
4:08 pm on Jul 20, 2006 (gmt 0)

5+ Year Member



I use a floating icon in the upper left corner (planted with CSS) in some long documents to represent a drop down navigation menu. The JavaScript code is similar to "Contents" pull-down menu at www.quirksmode.org (i.e., click on the icon and you get a "Contents" navigation pull-down), except the content links are pre-marked with a special class and name key.

It works fine on Mozilla, Firefox, etc., but not on Safari or IE. I'm close to solving the problem on IE, having found a reasonable IE JavaScript/DOM debugger (I had to try several), but not on Safari. Peter-Paul Koch's code at QuirksMode clearly works on Safari, so my JavaScript is the problem.

If anyone knows of a good one for MACs could you PLEASE point me in the right direction? The Apple developer site claims to have several, but I don't want to install and then uninstall, any useless packages. I had to rebuild an XP box to repair problems caused by one IE debugger and don't wish to do a rebuild on a MAC. My kids would might commit fratricide if I wrecked one of their MACs. Alert is too painful and slow.

On Safari, the pull-down works as it does in IE, but clicking on any item does nothing. It's as if the local <a name="x"> links do not exist in the document. If anyone knows what I need to check, could you PLEASE let me know?

12:19 pm on Jul 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Drosera [webkit.opendarwin.org]? Although you'll have to download a recent nightly to get that.
3:50 pm on Jul 24, 2006 (gmt 0)

WebmasterWorld Senior Member whoisgregg is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The latest version of WebKit [webkit.opendarwin.org] should be helpful. Also, the Firefox Javascript Console is very handy for checking javascripts (even when they work in Firefox, it may still throw warnings that apply toward solving Safari problems.)

I had to rebuild an XP box to repair problems caused by one IE debugger and don't wish to do a rebuild on a MAC.

Really, you don't need to worry about this kind of thing. If you are downloading software recommended by Apple's Developer Connection site, the risk of damage is very low. Mac software tends to not do system wide damage.

Added: Whoops, I didn't realize Robin's post was talking about WebKit. (Didn't know it was called Drosera.)