SWFObject 2.x uses the DOMready event to fire all of its replace functions (as we need to have access to the DOM ID to replace content with etc). DOMready fires when all the HTML and js files have been loaded and available to the javascript interpreter. This is separate to when all the page content having loaded (images etc), and happens earlier in the page rendering process.
Have a look here for a simple example: http://demos111.mootools.net/DomReadyVS.Load So, you should be safe with your HTML slideshow as long as you are replacing the div where the images are defined with your flash content. I can always double check for you if you supply a link to your page. Cheers, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jimbo Sent: Sunday, 10 May 2009 6:13 AM To: [email protected] Subject: Re: Double page load with heavy alternative content? Ahhh, gotcha . . . interesting question. Way above my pay grade :~) I look forward to the answer also. I've never worried about that, but I can see that a large amount of alternative content like that might make a difference in download demand. jimbo *********** REPLY SEPARATOR *********** On 5/9/2009 at 1:01 PM ChristophvL wrote: Jimbo, first of all: I don't have any problems with my site, everything works perfectly. But to enhance the experience for people (and Search Engine Crawlers) who don't use Flash, I thought of putting all the images of the Flash slideshow into an additional HTML slideshow and then put that where the alternative content is placed. I know how to do that, again: That is no problem. My question is: Will the alternative content be loaded (as in: Will it use bandwidth and slow things down) even if it is not displayed because Flash works for that specific visitor just fine? Christoph On 9 Mai, 17:21, "Jimbo" <[email protected]> wrote: > I do not understand the question - can you put an example of your page online so we can see it and see if there are any errors? > > The alternative content div is only visible when a flash player that can play your swf does not exist. If the flash player is there, the alternative div goes away as the page is loaded. > > jimbo > > *********** REPLY SEPARATOR *********** > > On 5/9/2009 at 4:44 AM ChristophvL wrote: > > I'm using swfobject to start a Flash slideshow. When I put a complete > html version of the slideshow where the alternative content is placed > - will this alternative content be loaded no matter if Flash is > working or not, or just when Flash won't work? > > o --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
