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

Reply via email to