FLASH+JS Focus Diagram Switching effect

Source: Internet
Author: User

This article is free to provide a download by the code Oh, this flash effect of the picture switching source is a I found from the Internet, and now the source code out to your friends to see Oh, good crap do not say much like the focus map code to download it.

<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title></title>
<script src= "Js/flash.js" language= "JavaScript" ></script>
<style type= "Text/css" >
<!--
. focus {border:1px solid #5B0BB6; background: #fefef3; width:326px;}
-->
</style>
<body>
<script language= "JavaScript" >
Createflash ("Player", "photo_player.swf", 235, 117, "");
function getXml () {
Return "<?xml version= ' 1.0 ' encoding= ' utf-8 '" ><root><p u= ' images/jd1.jpg ' a= ' http://www.111cn.net/' n = '/><p u= ' images/jd2.jpg ' a= ' http://www.111cn.net/' n=/><p ' u= ' images/jd3.jpg ' www.111cn.net/' n= ' China Web first website Title 3 '/><p u= ' images/jd4.jpg ' a= ' http://www.111cn.net/' n= ' China web first station Title 4 '/></ Root> ";
}
</script>

Save the following code as a flash.js file

Function Createflash (Idad, Swfurl, wad, had, vs) {
var str = "<object classid=" CLSID: d27cdb6e-ae6d-11cf-96b8-444553540000 "Codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/ Swflash.cab "width=" "+ Wad +" "height=" "+ had +" "id=" "+ Idad +" "align=" Middle ">";
Str + + "<param name=" allowscriptaccess "value=" Always ">";
Str + + "<param name=" quality "value=" High ">";
Str + + "<param name=" movie "value=" "+ Swfurl +" ">";
Str + + "<param name=" flashvars "value=" "+ vs +" ">";
Str + + "<embed src=" "+ Swfurl +" "flashvars=" "+ vs +" "quality=" High "width=" "+ Wad +" "height=" "+ Had +" " Name= "" + Idad + "" align= "middle" allowscriptaccess= "Always" type= "Application/x-shockwave-flash" pluginspage= "http:/" /www.macromedia.com/go/getflashplayer ">";
Str + + </object>;
document.write (str);
}

Click to download <a href=http://www.111cn.net/flashjs/photo_player.swf>photo_player.swf</a> file

</div>
</body>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.