1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to swap between jpeg images and flash .swf movies?

Discussion in 'JavaScript and AJAX' started by shiqinzhang, Apr 2, 2010.

  1. shiqinzhang

    shiqinzhang New Member

    Joined:
    Mar 31, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi experts,

    I saw enough codes on the internet telling me how to Swap Image between images. But I want someone to tell me how to swap between images and Flash .swf files. My design was after a user clicks on a thumbnail on the top of a web page, the bigger picture below that will swap accordingly. Those bigger pictures include be both .jpg images or .swf files. Thanks a lot!!!!!

    03/31/2010
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,287
    Likes Received:
    364
    Trophy Points:
    83
    If it could be both in bigger pictures I am not sure it can be done using simple JavaScript but may need a little more complicated one.

    Have 2 Hidden Divs. One for Image and one for Flash and when clicked show the right one at the right place.
     
  3. shiqinzhang

    shiqinzhang New Member

    Joined:
    Mar 31, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Thanks a lot Shabbi. I'll try to work on it.

    Steven Zhang
    4/2/2010
     

Share This Page