faqts : Computers : Programming : Languages : JavaScript : Document

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

13 of 15 people (87%) answered Yes
Recently 5 of 6 people (83%) answered Yes

Entry

How can I open a document for editing in NN's composer/editor?
How can I open the current document for editing in NN's composer/editor?
How can I load a URL in NN's composer/editor?

Mar 29th, 2000 03:07
Martin Honnen,


To open an arbritrary url for editing call
  if (navigator.javaEnabled() && netscape)
    netscape.plugin.composer.Document.editDocument('url'); 
for example
  if (navigator.javaEnabled() && netscape)   
    netscape.plugin.composer.Document.editDocument
      ('http://javascript.faqts.com');
To open the current document for editing call
  if (navigator.javaEnabled() && netscape)
    netscape.plugin.composer.Document.editDocument(location.href);