Maybe I should have mentioned this sooner.. didn't occur to me..
 
Looking now at the code in the method loadHandler() of loadpanel I can see that in NS
the loadpanel is using the following lines to determine the deminations of your document.
 
---  
    var w=this.loadElement.document.width;
    var h=this.loadElement.document.height;
---
 
While IE is using:
---
  var w=this.getContentWidth()||this.w;
  var h=this.getContentHeight()||this.h;
---
 
You may want to try changing this code so that NS also uses getContentWidth/Height
As I do know that these functions work just find in NS...
 
Another option would be to trigger the method loadHandler() your self with a settimeout.
 
This would give the loadpanel the time needed to render the HTML and THEN fix the size...
----- Original Message -----
Sent: Sunday, May 05, 2002 8:54 AM
Subject: [Dynapi-Help] Re: Load Panel & ScrollPane compatability (Dan W)

So do I.
A loadpanel in a scrollpane works under IE but nothing appears in NS.
See
http://www.chauviere.org/JS/WM/nightcity.html
for http://dan0430.home.attbi.com/, I have an error under IE
JRC



I had the same problem, and fixed it by rearranging when I initialized
it and added it in acordance to my other layer, I'm not sure what was
really wrong. But, I also have a problem with loadpanel+Mozilla 0.9.7
for Linux. I have a windowing script that I have developed here:
http://dan0430.home.attbi.com/ and whenever I resize the loadpanel, the
contents disappear. This works perfectly in Internet Explorer 5.5 for
Windows though. Does anyone know what is the problem?

Thanks in advance,
Dan Willemsen

On Thu, 2002-04-25 at 16:22, Sandy Estrada wrote:
Hi, 

I'm trying to create a scroll page that can get it's contents from a load panel. This doesn't seem to work. The contents in the loadpanel flash on the screen then all I see is a scrollbar. Any ideas out there as to how to fix this? Is the Scrollpane only suposed to use Labels? Does anyone out there have a way to create scrollpanes that can get content from an outside document?

Any help would be much appreciated. I've used Dynapi for a year now and absolutely love it! I just upgrated to Version 2 and I'm all confused...

- Sandy

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








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


-- 
CHAUVIERE Jean-Raymond
15 allée des fées
92160 ANTONY

06 80 38 01 14
[EMAIL PROTECTED]

Reply via email to