On Mon, Sep 28, 2009 at 3:34 PM, Michael Geary <m...@mg.to> wrote:
> Mike, the requirement here isn't just to show or hide all 3000 entries in
> one fell swoop. Sid needs to be able to show and hide individual entries
> depending on a filter. So there's no avoiding looping through all the
> entries, whether in JavaScript or on the server.

Well in that case the alternative solution I described could be tried.
 Instead of iterating through the entities calling show() and hide(),
iterate and build (carefully) a CSS block that includes CSS statements
for each entity, giving it a style of either "{ display: block; }" or
"{display: hidden; }".  When the CSS is built, drop it into a waiting
<style> element on the page.




-- 
Turtle, turtle, on the ground,
Pink and shiny, turn around.

Reply via email to