I think you're just generating to many layers, especially because of the
list widget.
I think if you write a nice lean list which only does what you need you'll
speed it up a lot.

Your list could be some relatively positioned Divs of fixed size, those in
the second list initially invisible.
When you click one on the left it would check the value of the
lastSelectedDiv, un-highlight that one, highlight itself, and make the
corresponding one on the right visible, and then store it's name as
lastSelectedDiv.

I'm not sure how the others feel about this, but I've got the best results
when wanting to do complicated things, by regarding a DynLayer as a
container,
which can hold simple HTML, tables, or Divs, these can also have their own
onmouseovers etc.
If I wanted a bar of 10 colors, I'd use one DynLayer, and set 9 div's with
different background colors as it's HTML, as opposed to nesting 9 dynLayers
inside the first one. I might be wrong, but I have a feeling this is a lot
more efficient.

Cheers,
Richard Bennett

[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi

----- Original Message -----
From: "Hershel Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:08 PM
Subject: [Dynapi-Help] Speed Problems


> DynAPI gurus,
>
> I am working on a business web application, written in DynAPI (it would
> appear I am using Version 2001.01.25).  My latest development is a little
> 'window' (a widget actually) to edit Person objects.  In this widget, we
> have a list of unassigned equipment which I want to allow the user to
assign
> to this Person.  I am using two ScrollPane objects and a little button
> object I made to add equipment from one ScrollPane to the other.  The
thing
> basically works, but it's painfully slow.
>
> I am working on a PIII 450MHz machine and it's really painfully slow just
to
> select an item in the ScrollPane.  Could anyone take a look at this page
and
> let me know if I'm doing something which I could be doing more
> intelligently?  (My code has not been scrambled, but sections may be
> slightly poached.)
>
> http://www.octoware.com/wstationsNEW/TESTING.html
>
> Thank you,
> Hershel Robinson
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> 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

Reply via email to