SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    sweden
    Posts
    646
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Showing Flash logo or regular?

    I have a website I'm playing with. A logo in Flash that I would like to use and also a plain one.
    Is there a simple way to put a code in my html page so the page will show users with Flash the Flash logo and users without flash the pain logo image on my website?

    It is just the logo I want to be different.

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    Yes use swfobject, then in the div that the swf will get placed in, put a normal img tag

  3. #3
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    sweden
    Posts
    646
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot, but where can I find info on how to do that?

  4. #4
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    If you type swfobject into google, the swfobject page will show up as the first result, this has full instructions

  5. #5
    SitePoint Zealot
    Join Date
    Oct 2008
    Location
    London
    Posts
    113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    You Guys are great it's what I've been thinking about and didn't think there would be a little script for it but I am very new to this and wonder which one to use because my pages are index.php etc.


    swfobject_2_2.zip
    swfobject_generator_1_2_air.zip
    swfobject_generator_1_2_html.zip

    Any advice which one is appropriate for my index.php pages would be great.

    helen
    Colorize Old Black and White Photos Photo Restorations

  6. #6
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    The top one should have the javascript file you need to upload alongside your index.php. The other two automatically generate code you need to insert into your php file


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •