Hi

I am trying to implement this new functionality in an online shop that
sells watches  using AJAX and GWT.

I am displaying a list of products in a scrollPanel.

What I need to do is this:-

Imagine there being 100 products.
I populate the scoll panel with information about those 100 products
in a flexTable. First column shows an image of the watch. second
column shows the product information.

If  user  can see the 5th, 6th and 7th product from the table and then
he scrolls down fast and reaches the , lets say, 50, 51 and 52nd
product . I want to display only those images that are viewable to the
user. (and maybe at the same time load some more images around that
particular number of product image visible..i.e. from 47th - 55th
images )

This way I somehow reduce the load on the network by not displaying
all the 100 images in one go.

I think this is something like predicting user behavior .. Like the
way in google maps, the images are loaded only after the user scrolls
left , right , up down etc. Although I do know that google maps loads
the whole map in one big image and then displays the bits of the image
as the user scrolls.

How can I know which particular set of products (images) the user is
viewing (i.e the user's mouse is pointing at)?

Thanks in advance for your help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to