This article describes the website based on flash implementation of the banner diagram switching effect code, the main switching function of this example is completed by Flash. Share to everyone for your reference.
The specific implementation code is as follows:
Copy Code code as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> website Banner diagram switching effect (Flash) </title>
<body>
<script type= "Text/javascript" src= "Js/swfppt.js" ></script>
<script type= "Text/javascript" >
<! cdata[[
Loadswfppt ({width:400,height:450,text_height:0,
pic:[
{img: ' images/banner1.jpg ', text: ', Link: ' img3.html '},
{img: ' images/banner2.jpg ', text: ', Link: ' img4.html '},
{img: ' images/banner3.jpg ', text: ', Link: ' img5.html '}
]});
]]>
</script>
</body>
The effect is as shown in the following illustration:
Full instance code click here to download the site.
I hope this article will help you with your Web programming.