Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

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

    • CommentAuthormista3
    • CommentTimeMar 17th 2006 edited
     permalink
    My client INSISTS that they have a flash intro for their new site... I can't talk them out of it...

    Is there a way I can somehow include my flash movie in a vaguely standards compliant way... or even overlay it over the index page (so you don't have to click through from index.html to another page to get to the real homepage?

    Was wondering if you could somehow position the Flash movie over the html content, and have it fade out at the end to reveal the website?
    •  
      CommentAuthorJohnRiv
    • CommentTimeMar 17th 2006
     permalink
    FlashObject all the way!
    • CommentAuthormista3
    • CommentTimeMar 17th 2006
     permalink
    Hehe I figured that much... maybe I wasn't clear enough... is there an even sneakier way to do this.. so I can avoid loading another page after the flash intro has finished?

    So, flash intro plays, fades out, main website content appears, but all on the same page, so that the main content is indexable by search engines?
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006
     permalink
    Put the main body stuff into a div that's set to display:none by default. Then at the end of the flash movie hide the div with the flash movie in it and toggle the visibility of the main content?
    • CommentAuthormista3
    • CommentTimeMar 17th 2006
     permalink
    Sounds like a plan... how would I do that then... javascript?
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006
     permalink
    yup.
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006 edited
     permalink
    I put together a quick example.

    (Yes, using the crap out of jQuery as usual, and flashobject.)
    • CommentAuthormista3
    • CommentTimeMar 17th 2006
     permalink
    Wow, wasn't expecting that, big thanks :-)
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006
     permalink
    he he. i got a little bored and decided to give it a shot.
    • CommentAuthormista3
    • CommentTimeMar 17th 2006
     permalink
    Cool. Do you think it will work in most browsers... what about IE5.5? (Can't test cos I'm on a Mac)
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006
     permalink
    it should in IE5.5, IE5.0 (reportedly) has a few issues with a couple jQuery bits.

    it could also use some cleanup so that if a user had JS disabled they'd just get the bare content and not try to show the flash movie at all.
    • CommentAuthormista3
    • CommentTimeMar 17th 2006
     permalink
    It would be great if the JS could sense "this person hates Flash intros" and just skipped it automatically
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006
     permalink
    heh, that's asking a bit much. ;)
    • CommentAuthormista3
    • CommentTimeMar 17th 2006
     permalink
    hehe ;-D

    but... could you have a button - don't show this again - that saved a cookie, so next time they visited it would automatically skip the intro...
    •  
      CommentAuthornifkin
    • CommentTimeMar 17th 2006
     permalink
    anything's possible (more or less). ;)

    i'll mess with it some more over the weekend maybe.
    • CommentAuthorSonja
    • CommentTimeMar 20th 2006
     permalink
    You could also add pre-fetch to you 'skip intro' tag. This way the next page will start loading as soon as the other one is ready. That of course won't help with an insanely huge flash intro, and unfortunately it's not supported by ie6 yet, but every little bit helps.
Add your comments
    Username Password
  • Format comments as (Help)