That clears that up. :)
Nathan Mynarcik Interactive Web Developer [email protected] 254.749.2525 www.mynarcik.com -----Original Message----- From: Aran Rhee <[email protected]> Date: Tue, 2 Feb 2010 10:13:01 To: <[email protected]> Subject: Re: Swf file jumps when loading. Whether the css is inline or not, SWFObject WILL overwrite the TopBanner <div> (at the end of the day, the browser interprets inline and external css the same way and applies it to the same DOM elements). While the overwriting is happening there will be a moment where the swf hasn't been written to the apgte yet (network lag, plug-in init time etc) where there will be no height defined. By defining the heigh in the wrapper div, you can assure that the layout will remain consistent no matter what the child elements are doing... Aran On Tue, Feb 2, 2010 at 9:38 AM, Nathan Mynarcik <[email protected]> wrote: > What if he has an external stylesheet with the height attribute determining > the TopBanner div? Then SWFObject wouldn't write over the style because it > is not inline. > > It's worth a shot... > > On Mon, Feb 1, 2010 at 4:33 PM, Aran Rhee <[email protected]> wrote: > >> I think it is because of how / where you have you sizing defined in your >> page. You have your height for the top banner div defined inline. When >> SWFObject replaces this div, the styling is removed when the <div> tag is >> replaced with the <object> tag for the swf. >> >> I would suggest including a wrapper div around the top banner div and >> styling that. That way the height definition is not affected when the Flash >> content is written. >> >> Does that make sense? >> >> >> Aran >> >> >> On Tue, Feb 2, 2010 at 9:05 AM, skynarc <[email protected]> wrote: >> >>> Hi Guys, >>> >>> Could you please have a look at the way this swf file loads and tell >>> me why you think it would jump the way that it does? I thought by >>> adding a height to the TopBanner Div, it would sort out the problem, >>> but I think it may have something to do with the timing of when the JS >>> kicks in to load the Swf file. >>> >>> >>> www.lieslcrous.co.za - The top section of the site. >>> >>> Many thanks! >>> >>> -- >>> 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]<swfobject%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/swfobject?hl=en. >>> >>> >> -- >> 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]<swfobject%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/swfobject?hl=en. >> > > -- > 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]<swfobject%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > -- 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. -- 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.
