Sorry about this - it is not Dynapi-related. I just reckon you guys are the
most likely to be able to give me a sensible answer than anywhere else I
could look!

I have built a page with a div which is sized onLoad - this is basically to
provide an outline to the page. The page is dynamically created through ASP,
hence is different depending on the criteria used to view it. The problem I
have is that sometimes the scrollWidth of the page is 16 pixels less than
the clientWidth. I use the clientWidth to set the width of the div, but when
the scrollWidth is less then the div is sized to that for some reason. There
is no scrollBar on the page.

You can see what I mean at www22.brinkster.com/arrayx. Click on 'Sales',
then on 'Actions' for 'Breeze-IT'. There are links to the scrollWidth and
clientWidth values. Then click back, and click 'Actions' for 'Test Client'.
The breeze-IT screen has the difference, whereas the Test Client screen does
not. Note that this is the same page - just populated with different values
through ASP.

It only happens with a browser-size of 800*600 up to 1024*768 aswell.
Everything is fine in 1024*768, however, when I start lowering the size of
the browser window, the problem starts to happen.

Sorry to post off-topic, I'm just not sure where else to go. Feel free to
reply off-list if you want.

Cheers, Ben
================================================================

= Array[x] =
= delivering design aware programming solutions =
= www.arrayx.co.uk = = [EMAIL PROTECTED] =
= +44 (0)7780 696840 = = 1 Flintham Drive, Sherwood, Notts. NG5 3DS UK =

STANDARD DISCLAIMER: This message is confidential. You should not copy it or
disclose its contents to anyone. You may use and apply the information only
for the intended purpose. Internet communications are not secure and
therefore Array[x] does not accept legal responsibility for the contents of
this
message. Any views or opinions presented are only those of the author and
not those of Array[x]. If this email has come to you in error please delete
it and
any attachments.


----------------------------------------------------------------------------
----
----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 7:50 AM
Subject: Re: [Dynapi-Help] How to avoid memory leaks in IE6 and Netscape 6


> I have found that simply minimising and restoring IE reduces the memory
used
> bak to the state it was before you opened the page.  This just shows that
it is
> IE that has problems and not the page that it is viewing.
>
> You have to keep in mind that the more advanced the page (DYNAPI = VERY
> Advanced), the more memory IE uses.  Unfortunately, IE sometimes (read:
> "always") loses track of some of this memory and leaves it behind when it
moves
> from page to page.
>
> Hansen Jakob Veje wrote:
>
> > I apologize for not using the term correctly. I have had a situation
where
> > normal browsing of the website made Explorer allocated 150MB. This may
not
> > be a leak by definition, but it is never the less a problem that should
be
> > solved. A normal wintel computer would go into heavy page swapping and
thus
> > generally slow down the performance. I am suspecting that the high
memory
> > usage makes NC6.0 lock up.
> > > ---
> > > Jakob Veje Hansen - mailto:[EMAIL PROTECTED]
> > > WM-data eSolutions
> > > Tel: +45 8744 4619 - Mobil: +45 2169 0361
> > > http://www.wmdata.dk
> >
> > -----Original Message-----
> > From: Eytan Heidingsfeld [mailto:[EMAIL PROTECTED]]
> > Sent: 31. juli 2001 17:40
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Dynapi-Help] How to avoid memory leaks in IE6 and Netscape
> > 6
> >
> > That by definition is not a memory leak. A memory leak is when you take
up
> > memory and never give it back.
> > 8an
> >
> > _______________________________________________
> > 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
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


---
Outgoing mail is certified Virus Free using AVG version 6.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.265 / Virus Database: 137 - Release Date: 18/07/01


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

Reply via email to