The div where I have SWFObject replace it's output to <div
id="flashcontent"> has a style of "margin-top: -65px;" which is being
ignored when using SWFObject 2.0_rc1 (thus my swf file is being pushed
down). Other than that, the swf is loading fine (it's accepting all
of my custom vars, etc). For the record, I'm using option 2
(specifically the example using dot notation).
I've tested this in FF2.x, FF3.0_b1, Opera 9, and Safari 3 (on my Mac)
all with the same results.
Is this a bug or is something else going on?
Next I plan to view the DOM that SWFObject is producing from its js
and compare it with the output from 1.5 (I have a feeling that the
problem lies somewhere in there... perhaps I have to apply the style
to a child element?). Any advice is appreciated.
Regards,
---
Jeff Coughlin
Can you just verify that this new change is done by design and not a
bug? I just want to make sure before I start going and updating a lot
of sites that are currently using swfobect 1.5... and modify them to
use nested block elements <div><div></div></div> in order to display
the same data.
Regards,
---
Jeff Coughlin
I noticed in the other thread (to which you referred back to this
thread) you mentioned placing the js within the <head>. My question:
If I did this on a site using xhtml strict (1.0 or 1.1), would it
still be semantically correct to use // <![CDATA[ ... // ]]> in the
<script> block if it's inside the <head>?
---
Jeff Coughlin