Re: [Dynapi-Help] BODY onload vs DynAPI.onLoad

2001-11-28 Thread Henrik Våglin
since DynAPI.onLoad is the document.onload itbecomes a conflict when you try to defne it a second time. therfor you should copy any code that goes within your other body or document onload into your DynAPI.onLoad... Henrik Våglin [ [EMAIL PROTECTED] ] - Original Message - From: "Came

Re: [Dynapi-Help] BODY onload vs DynAPI.onLoad

2001-11-28 Thread Michael Pemberton
I aqm at work at the moment and don't have access to my code. When I get home, I'll try cut and paste something together. I have been testing some code in my distro that also deals with the 's on resize code as well. >From memory it was simply a matter of changing the "hooks" so that they wer

[Dynapi-Help] BODY onload vs DynAPI.onLoad

2001-11-28 Thread Cameron Childress
Using 2.5.4 I have a project I'd like to use DynAPI on, but it's got some pre-existing JS code in it already which uses onload in the BODY tag to initialize. It seems from my short diagnostic process that they are doing battle and the DynAPI onload is losing. I'm sure someone's run into this be

Re: [Dynapi-Help] Make layer 100% width

2001-11-28 Thread Henrik Våglin
mmmh, maybe: myLayer.setURL(myLayer.getURL()) hope it works, never tried it though... Henrik Våglin [ [EMAIL PROTECTED] ] - Original Message - From: "Joe NguyenLe" <[EMAIL PROTECTED]> To: "Henrik Våglin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 11:18

Fw: [Dynapi-Help] Some problems I had with inline layers.

2001-11-28 Thread Henrik Våglin
Yes, I also noticed you can't have the same name on the reference javascript variable as the same name as the layer and that's because the layer already exists as a javascript variable only not just reachable directly from DynAPI (or so I figure).   I also noticed that when you do extension

Re: [Dynapi-Help] Make layer 100% width

2001-11-28 Thread Joe NguyenLe
Man! this is so neat. Thanks Henrik. Now I am having another problem that when resize my external content using setURL is disappeared. How do I get it back without reloading it everytime. It could be a pain if I have to reload it everytime, the content is dynamic and huge. setHTML works fine but n

[Dynapi-Help] dynapi.event.dragevent.html .... not working?

2001-11-28 Thread Todd Marshall
Is the DragEvent example not working anymore? (under 2.5.6) Todd. (ie5.0) (NS 6.1) ___ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help

[Dynapi-Help] Some problems I had with inline layers.

2001-11-28 Thread Quang Nguyen
//It seems that you cannot defined inline layers this way DynAPI.onLoad = function() { layer1 = this.document.getAll()['layer1'] layer2 = this.document.getAll()['layer2'] myLayer2 = new DynLayer(null,100,100,80,50,'red',true) myLayer2.setHTML("myLayer2") Dy

Re: [Dynapi-Help] setURL only partially load document

2001-11-28 Thread Doug Melvin
Are you sure it's the HTML that'sot rendering? I know that there are issues with images not fully loading in a loadpanel.. I posted a fix: what this will do, is when the image aborts (stops downloading) the code "this.src=this.src" will cause the image to re-load. This is usually successfull the

RE: [Dynapi-Help] Make layer 100% width

2001-11-28 Thread Tuomas Huhtanen
Can't you just set both the width and height to 100% and let the container be the document? -- Tuomas > Also if you wanna keep it sizing right when resized you should > add i both in DynAPI.onLoad AND on DynAPI.onResize. I'm using > that now to have designs adapt to window resizing, however I >

Re: [Dynapi-Help] Make layer 100% width

2001-11-28 Thread Henrik Våglin
Also if you wanna keep it sizing right when resized you should add i both in DynAPI.onLoad AND on DynAPI.onResize. I'm using that now to have designs adapt to window resizing, however I haven't been able to test it for cross-browser compliance yet. I remember it being an issue stopping me befor