hello all - i am an architect and not a web designer, so please laugh at my efforts all you like - please look at www.artstudioshanti.com - the page waits until all the thumbnails load before running the onload events to set the correct first tab and menu positions - any ideas what i can do to load th thumbnails in the background or make the home tab active while they load? thanks in advance for any help - r --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
A couple of thoughts: 1) Become familiar w/ Dean Edwards work with the DOMContentLoaded and onLoad events. (Even if he does poke fun at our Mr. Fuchs) http://dean.edwards.name/weblog/2005/09/busted/ http://dean.edwards.name/weblog/2006/06/again/?full#comment5338 <-- final code suggestion here http://dean.edwards.name/my/busted3.html <-- Sample page 2) This suggestion might break things for users w/o Javascript (unless you get creative w/ noscript tags), but you could assign all images to a small placeholder, then in onload (or DOMContentLoaded, as per #1) change the img src to the tru thumbnail. TAG On Feb 21, 2007, at 5:33 PM, rdc.arch wrote:> > hello all - i am an architect and not a web designer, so please laugh > at my efforts all you like - please look at www.artstudioshanti.com - > the page waits until all the thumbnails load before running the onload > events to set the correct first tab and menu positions - any ideas > what i can do to load th thumbnails in the background or make the home > tab active while they load? thanks in advance for any help - r > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Am 22.02.2007 um 04:43 schrieb Tom Gregory:> 1) Become familiar w/ Dean Edwards work with the DOMContentLoaded and > onLoad events. (Even if he does poke fun at our Mr. Fuchs):) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
thanks so much for your help - this does work much better - now i just have to figure out what to do when she adds the next 100 items and it gets slower - i think i might have to redesign - On 2/22/07, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote:> > > > Am 22.02.2007 um 04:43 schrieb Tom Gregory: > > > 1) Become familiar w/ Dean Edwards work with the DOMContentLoaded and > > onLoad events. (Even if he does poke fun at our Mr. Fuchs) > > > :) > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 22, 1:43 pm, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> A couple of thoughts: > > 1) Become familiar w/ Dean Edwards work with the DOMContentLoaded and > onLoad events. (Even if he does poke fun at our Mr. Fuchs)http://dean.edwards.name/weblog/2005/09/busted/http://dean.edwards.name/weblog/2006/06/again/?full#comment5338 <--It is much simpler and more robust to insert a script element immediately before the closing body tag to start whatever was going to happen when the load event occurred: <script>init && init()</script>> 2) This suggestion might break things for users w/o Javascript > (unless you get creative w/ noscript tags), but you could assign all > images to a small placeholder, then in onload (or DOMContentLoaded, > as per #1) change the img src to the tru thumbnail.And none of the thumbnails will be visible until they all load. -- Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 1, 2007, at 8:53 PM, RobG wrote:> It is much simpler and more robust to insert a script element > immediately before the closing body tag to start whatever was going to > happen when the load event occurred: > > <script>init && init()</script>Why must you always try and do things the easy way? =) TAG --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
easy or not, i used the first set of suggestions and it seems to work fine - much better than previously - my big question now is this - when she adds the net large group of pieces and there are that many more images to load, would i be better off to skip the javascript tabbing and use multiple pages? i hate the white page flash between loading - should i be trying to learn some server side progrm like jax or something? thanks for any suggestions - On 3/2/07, Tom Gregory <tomg-PGZyUNKar/Q@public.gmane.org> wrote:> > > On Mar 1, 2007, at 8:53 PM, RobG wrote: > > > It is much simpler and more robust to insert a script element > > immediately before the closing body tag to start whatever was going to > > happen when the load event occurred: > > > > <script>init && init()</script> > > Why must you always try and do things the easy way? > > =) > > > TAG > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 5, 10:41 am, "R David Chambers" <rdc.a...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> easy or not, i used the first set of suggestions and it seems to work fine - > much better than previously - my big question now is this - when she adds > the net large group of pieces and there are that many more images to load, > would i be better off to skip the javascript tabbing and use multiple pages? > i hate the white page flash between loading - should i be trying to learn > some server side progrm like jax or something? thanks for any suggestions -Your current scheme is not sustainable (I think you realise that). You need to employ some server-side logic to present the items in categories and make it possible to link to or search for a particular item or category. If you want good advice on site design, you should ask on a newsgroup dedicated to that topic, try: news:infosystems.www.authoring.html <URL: http://groups.google.com/group/comp.infosystems.www.authoring.html>news:comp.infosystems.www.authoring.stylesheets <URL: http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets>Give them the link, ask for suggestions. -- Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---