Try to uncomment
// layer1.moveTo( 10, 10 );
Thanks a lot,
Krzysztof
On 01-02-13 at 22:11 Darryl Cousins wrote:
>Cut and pasted and IE5 didn't crash for me. Can't help with get.HTML in NS4,
>I had same result.
>
>Blessings, Darryl.
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Krzysztof
>> Kaczmarski
>> Sent: Tuesday, February 13, 2001 8:57 PM
>> To: [EMAIL PROTECTED]
>> Subject: [Dynapi-Help] Inline child layer once again
>>
>>
>> Can anyone confirm that IE5 crushes with this code?
>> Is it just my personal IE problem ?
>> Any idea why NS4 shows nothing in message box ?
>>
>> Try to uncomment layer1.moveTo( 10, 10 );
>>
>> Thanks,
>> Krzysztof
>>
>> <html>
>> <head>
>> <script language="Javascript" src="js/dynapi/src/dynapi.js"></script>
>> <script language="Javascript">
>> DynAPI.setLibraryPath('js/dynapi/src/lib/')
>> DynAPI.include('dynapi.api.*')
>> DynAPI.include('dynapi.ext.inline.js')
>> </script>
>> <script language="Javascript">
>>
>> DynAPI.onLoad=function()
>> {
>> var layer1 = this.document.all['mylayer'];
>>
>> window.alert( layer1.getHTML() );
>>
>> var parent1 = new DynLayer( null, 10,40,200,200 );
>>
>> parent1.setBgColor( 'yellow' );
>> layer1.setBgColor('#F8F8F8');
>> layer1.setSize( 30, 30 );
>> // layer1.moveTo( 10, 10 );
>>
>> parent1.addChild( layer1 );
>> DynAPI.document.addChild( parent1 );
>> }
>> </script>
>> </head>
>>
>> <body>
>> <div id="mylayer" style="position:absolute; color:red;">This is
>> a test</div>
>> </body>
>> </html>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help