1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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

    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!!!!!

  2. shabbir

    shabbir Administrator Staff Member

    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

    Thanks a lot Shabbi. I'll try to work on it.

    Steven Zhang

Share This Page