On Fri, 2004-03-26 at 04:03, Neil wrote:
<snip>
> >The ToggleOption function sets the oncommand and disabled attributes of the new 
> >entry element. I've been told that the first line of code should be executed 
> >automatically once composer starts up, but I suspect that it isn't happening. Any 
> >ideas?
> >  
> >
> If you load the overlay file (using its chrome URL) in the browser, does 
> it try to run the load function? If you inspect composer, can you find 
> your script element? Note that DOM inspector doesn't show the text of 
> inline script. If you enable chrome errors do you see any errors in the 
> JS console? If you enable the dump function, try using it to output to 
> the console (use -console on windows).

Yes, the overlay loads in the browser when given the chrome url. The new
overlay elements also appear in the Composer context menu DOM tree.  
I can't tell if the script tries to run the load function. I've tried
using dump at various points in my script, but nothing ever appears in
the console. This is also what happens when monitoring for errors in the
Javascript console. How do I enable chrome errors? 

Mark

_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor

Reply via email to