Re: [Dynapi-Dev] Question about DynAPIObject

2001-11-20 Thread Doug Melvin
PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 7:59 PM Subject: Re: [Dynapi-Dev] Question about DynAPIObject > Sorry for my last messy post. Here is a much better version: > > > I tried the following code, but the layer 'myLayer' didn't get hidden.

Re: [Dynapi-Dev] Question about DynAPIObject

2001-11-19 Thread Quang Nguyen
rs.mylayer); d.setVisible(false) //This doesn't work Original Message Follows From: Dan Steinman <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [Dynapi-Dev] Question about DynAPIObject Date: Sat, 10 Nov 2001 00:37:26 -0500 The reason for DynAPI to create the laye

Re: [Dynapi-Dev] Question about DynAPIObject

2001-11-19 Thread Quang Nguyen
.mylayer);  // assignElement is re-introduced in 2.6 d.setVisible(false); </script> Original Message Follows From: Dan Steinman <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [Dynapi-Dev] Question about DynAPIObject Date: Sat, 10 Nov 2001 00:37:26 -0500 The reason

Re: [Dynapi-Dev] Question about DynAPIObject

2001-11-09 Thread Dan Steinman
The reason for DynAPI to create the layer/div is to make it easier. There's nothing stopping you from creating your layers manually, and then attaching them to a DynLayer afterwords like so: d = new DynLayer(); d.setID('mylayer'); d.assignElement(is.ie?document.all.mylayer:document.layers.my

Re: [Dynapi-Dev] Question about DynAPIObject

2001-11-09 Thread Robert Rainwater
Because with the current system, dynlayers can only be created after the page has loaded. And since the dynapi captures the onload event, you must use DynAPI.onLoad to create objects after the page has loaded. Apparently, the next version will support creating of dynlayers before the page loads

Re: [Dynapi-Dev] Question about DynAPIObject

2001-11-09 Thread Richard Bennett
, and only add them to the document when you need them. Richard - Original Message - From: "Quang Nguyen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 10, 2001 12:32 AM Subject: [Dynapi-Dev] Question about DynAPIObject > I guess we create a

[Dynapi-Dev] Question about DynAPIObject

2001-11-09 Thread Quang Nguyen
I guess we create a DynAPI object to make sure the Dynapi.js and any library needed have been loaded. However, what are the technical reason why we need DynAPI to create a layer, like the following: ... DynAPI.onLoad = function() { myLayer = new DynLayer() myLayer.setSize(100,1