Having flash in a css stylesheet?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GloStix
    New Member
    • Feb 2008
    • 54

    #1

    Having flash in a css stylesheet?

    It's kind of an odd question but I have css stylesheet switcher on my website and it works and everything except since the flash banner I have is part of the html and the static image banner is part of the css, you see the same banner no matter what styesheet you choose.

    Is there a way to change the flash image upon switching the stylesheet? or a way to embed flash code within a css stylesheet?

    Thank you :)
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    There might be a way to do it with javascript but you can't embed flash in css because only html can call <object> code.

    Comment

    • GloStix
      New Member
      • Feb 2008
      • 54

      #3
      Originally posted by drhowarddrfine
      There might be a way to do it with javascript but you can't embed flash in css because only html can call <object> code.
      Damn, this ruins everything :(
      Now I need someone who's willing to help me code javascript for it :(

      Comment

      Working...