<div class="htmlarea"><textarea id="runcode24828"> <title>JS图片切换 ::</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="generator" content="editplus"> <meta name="author" content="eLore"> <meta name="keywords" content=""> <meta name="description" content=""> <style type="text/css"> * { margin:0; padding:0; } body { margin:0; color:#88c; background:#333; } img { margin:0; padding:0; border:0; } #js_F { position:relative; top:10px; left:10px; overflow:hidden; width:395px; height:185px; background:#33c; } .div_img { position:absolute; top:0; width:295px; height:185px; cursor:pointer; } #div_img_0 { z-index:5; left:0; } #div_img_1 { z-index:4; left:25px; } #div_img_2 { z-index:3; left:50px; } #div_img_3 { z-index:2; left:75px; } #div_img_4 { z-index:1; left:100px; } </style> <div id="js_F"> <div id="div_img_0" class="div_img"> <a href="#"><img src="http://www.lmwq.com.cn/imglist/01.jpg" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" ></a><img src="http://www.lmwq.com.cn/i/bg_showimg.gif" onmouseover="jsf_mmove(0)" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" > </div> <div id="div_img_1" class="div_img"> <a href="#"><img src="http://www.lmwq.com.cn/imglist/02.jpg" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" ></a><img src="http://www.lmwq.com.cn/i/bg_showimg.gif" onmouseover="jsf_mmove(1)" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" > </div> <div id="div_img_2" class="div_img"> <a href="#"><img src="http://www.lmwq.com.cn/imglist/03.jpg" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" ></a><img src="http://www.lmwq.com.cn/i/bg_showimg.gif" onmouseover="jsf_mmove(2)" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" > </div> <div id="div_img_3" class="div_img"> <a href="#"><img src="http://www.lmwq.com.cn/imglist/04.jpg" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" ></a><img src="http://www.lmwq.com.cn/i/bg_showimg.gif" onmouseover="jsf_mmove(3)" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" > </div> <div id="div_img_4" class="div_img"> <a href="#"><img src="http://www.lmwq.com.cn/imglist/05.jpg" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" ></a><img src="http://www.lmwq.com.cn/i/bg_showimg.gif" onmouseover="jsf_mmove(4)" alt="仿搜狐女人频道FLASH图片切换效果_图象特效" > </div> </div> <script type="text/javascript"> <!--///*--><![CDATA[/*><!--*/ var div_imgs = document.getElementById("js_F").getElementsByTagName("div"); var imgLeft = [0, 25, 50, 75, 100]; //5涓</script></textarea></div>