(long) Transparent IDE elements and other problems
Scott Rossi
scott at tactilemedia.com
Fri Mar 26 09:59:04 EST 2004
On 3/26/04 5:16 AM, "Frank Leahy" <frank at backtalk.com> wrote:
> Sure. I have a photo album app that can display up to 1000 photos in
> an album (though there are other limits that prevent that many being
> shown at once, but that's a problem for another post...). Each photo
> thumbnail is displayed inside a group that can have up to 3 checkboxes,
> 3 buttons and 10 editable fields for a total of 16 controls per photo.
> Easily 16,000 controls or more on the page at once. And I'd rather not
> have the 1,000 limit which is arbitrary.
I assume you have this many controls displayed because you can scroll the
page (card). I think with a bit of work you might be able to build this
more efficiently by grouping the controls needed for a single photo into a
master group, and then populating the card with enough master groups to be
able scroll one ore two groups out of view. As one group is scrolled out of
view at the top or bottom of the screen, the off-screen group is then
repositioned at the other end of the screen and populated with data from the
next thumbnail before it comes on-screen, and so on.
I've built something similar to this where a horizontal line images can be
"infinitely" scrolled left and right. It uses the minimum number controls
needed to display content on screen at once, plus two, allowing for
scrolling in either direction. As one image is scrolled out of view on the
left, it eventually reappears into view on the right.
It's bit difficult to describe but this arrangement may be more efficient
than a situation where the majority of data is sitting off-screen.
Regards,
Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list