Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorMark Bowen
    • CommentTimeJan 15th 2007
     
    Hi there,

    I was wondering if someone could help with a weird problem that I am experiencing in using swfobject?

    I am currently developing a site and at the moment it is on a test server located at http://www.ihe.helitorque.co.uk

    On every page there is a flash image fader which on a Mac running Safari or Firefox looks fine.

    If it is viewed in IE on a PC though sometimes some of the pages layouts screw up. I can only test this on an emulator at the moment (Parallels) but I have had some people who have access to PCs tell me that it happens with them too.
    Sometimes when going to say the 'Exhibitors Info' page the layout completely breaks but if you refresh the page again immediately after it is all fine. I think that the page sometimes is taking a long time to load but I can't for the life of me see why?

    I was wondering if anyone with a PC could possibly test the page out for me and let me know what problems you get if any and also if anyone has any ideas as to why it does this?

    I have used swfobject before on sites and pretty sure I have never come across this problem before and I am coding it all in exactly the same way so really a bit flummoxed as to what is going on with it!!

    Any help with this would be greatly appreciated.

    Regards,

    Mark Bowen
    • CommentAuthoragent2026
    • CommentTimeJan 15th 2007
     
    Hi Mark,

    Try changing defer="true" to defer="defer" and add the following parameters to your script:

    so.addParam("scaleMode","noscale");
    so.addParam("align","TL");
    so.addParam("wmode","transparent");
    so.addParam("allowScriptAccess?","sameDomain");

    The align parameter will probably do it, but the rest won't hurt.

    Adam
    • CommentAuthorMark Bowen
    • CommentTimeJan 31st 2007 edited
     
    Hi Adam,

    Sorry I didn't post back here as quickly as I would have liked but I had forgotten all about this post and never received an email letting me know that you had replied. Was going through some old posts and saw this.

    In the end we found out that the problem was actually with the CSS file! Because we had coded the site so tightly the CSS file was way under 4KB. This (I didn't know this) can apparently cause problems with IE on PCs as anything that loads into it that is under 4KB sometimes gets lost in transmission.

    We moved the CSS from an include in the head to actually embedding it in the page. It is actually embedded via a CMS system that we use so not a problem if we need to update!!

    That seemed to do the trick!!

    Thanks for the reply though.

    Best wishes,

    Mark

    P.S. If anyone is interested then the site is now located at - http://www.irishheliexpo.com