not sure if all that doc.writeln() stuff is correct.

It might be actually making NS crash (mainly because of the style sheet
you'r adding, NS has problems with that)
Try creating a blank.htm that's loaded into the frame, and then add DynLayer
to that (so not writelinning things)

Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens David
> B. Williams
> Verzonden: maandag 12 februari 2001 8:37
> Aan: [EMAIL PROTECTED]
> Onderwerp: [Dynapi-Help] layers in frames on Netscape
>
>
> I'm trying to write layers into a frame.  I have the DynAPI loaded
> into the frameset as I've seen discussed on this mailing list.
> However, I'm not seeing anything in my Netscape browser.  IE seems
> to work just fine.  I've reduced my code down to something simple
> which illustrates the problem.  Does anyone know what I've missed?
>
> function addItemDraw() {
>   var dd = new DynDocument(parent.display);
>   dd.doc.open();
>   dd.doc.writeln('<html>');
>   dd.doc.writeln('  <head>');
>   dd.doc.writeln('    <link rel=stylesheet href=wizard.css
> type=text/css
> media=screen>');
>   dd.doc.writeln('  </head>');
>   dd.doc.writeln('  <body>');
>   l = new parent.DynLayer();
>   l.setSize(100,100);
>   l.setBgColor('red');
>   l.moveTo(100,100);
>   l.setHTML('foobar');
>   dd.addChild(l);
>   dd.doc.writeln('  </body>');
>   dd.doc.writeln('</html>');
>   dd.doc.close();
> }
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to