Home > Web Front-end > JS Tutorial > body text

5-image transformation effect advertising code implemented by js+flash (source code attached)

PHPz
Release: 2018-09-28 14:53:44
Original
1378 people have browsed it

The example in this article describes the 5-image transformation effect advertising code implemented by js+flash. Share it with everyone for your reference, the details are as follows:

This is a js+flash advertising code similar to Taobao image advertising. Very beautiful and practical!

The screenshot of the running effect is as follows:

5-image transformation effect advertising code implemented by js+flash (source code attached)

The specific code is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>5图变换flash+js广告代码</title>
<SCRIPT src="js/sohuflash_1.js" type=text/javascript></SCRIPT>
</head>
<body>
<div align="center">
<div id=flashcontent01></div>
<script type=text/javascript>
  // <![CDATA[
  var pics="images/05-image transformation effect advertising code implemented by js+flash (source code attached)|images/02.jpg|images/03.jpg|images/04.jpg|images/05.jpg"; 
  var mylinks="#|#|#|#|#";
  var texts="阿旺|阿汤|哈哈|阿毛|喵星人";
  var sohuFlash2 = new sohuFlash("images/yl1017.swf","sohuFlashID01","299","297","5","#ffffff");
   sohuFlash2.addParam("quality", "high");
   sohuFlash2.addParam("wmode", "opaque");
   sohuFlash2.addParam("salign", "t");
   sohuFlash2.addVariable("p",pics); 
   sohuFlash2.addVariable("l",mylinks);
   sohuFlash2.addVariable("icon",texts);
   sohuFlash2.write("flashcontent01");
  // ]]>
</script>
</div>
</body>
</html>
Copy after login

The above is the entire content of this article, more related tutorials Please visit JavaScript Video Tutorial!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template