找回密码
 注册
广告投放 虚位以待【阿里云】2核2G云新老同享 99元/年,续费同价做网站就用糖果主机-sugarhosts.comJtti.com-新加坡服务器,美国服务器,香港服务器
查看: 406|回复: 1

搜弧IT频道的幻灯片切换的特效源代码[1000贴留恋]

[复制链接]
发表于 2005 年 12 月 31 日 13:00:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
  1. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  2. <TBODY>
  3. <TR>
  4. <TD>
  5. <DIV align=center>
  6. <SCRIPT type=text/javascript>
  7. <!--
  8. t=5; //secs per slide
  9. // promos + links
  10. prmo = new Array();
  11. link = new Array();
  12. prmo[1]="[img]http://www.webjx.com/img/200406301.jpg[/img]";//网页制作学习
  13. link[1]="[url]http://www.webjx.com/htmldata/sort/3.html[/url]";
  14. prmo[2]="[img]http://www.webjx.com/img/200406302.jpg[/img]";//动画制作学习
  15. link[2]="[url]http://www.webjx.com/htmldata/sort/4.html[/url]";
  16. //prmo[2]="[img]http://www.webjx.com/img/200406302.jpg[/img]"//网页特效
  17. //link[2]="[url]http://www.webjx.com/htmldata/sort/5.html[/url]";
  18. prmo[4]="[img]http://www.webjx.com/img/200406303.jpg[/img]";//网页编程学习
  19. link[4]="[url]http://www.webjx.com/htmldata/sort/6.html[/url]";
  20. prmo[0]="[img]http://www.webjx.com/img/200406304.jpg[/img]";//书籍教程下载
  21. link[0]="[url]http://www.webjx.com/htmldata/sort/7.html[/url]";
  22. prmo[3]="[img]http://www.webjx.com/img/200406305.jpg[/img]";//网页素材下载
  23. link[3]="[url]http://www.webjx.com/htmldata/sort/8.html[/url]";
  24. //init
  25. promos = "";
  26. links = "";
  27. // build flashvars
  28. for (x=0;x<prmo.length;x++) {
  29. promos += (x+1<prmo.length) ? prmo[x]+"|" : prmo[x];
  30. links += (x+1<prmo.length) ? link[x]+"|" : link[x];
  31. }
  32. var MM_contentVersion = 6;
  33. var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
  34. if ( plugin ) {
  35.     var words = navigator.plugins["Shockwave Flash"].description.split(" ");
  36.     for (var i = 0; i < words.length; ++i)
  37.     {
  38.   if (isNaN(parseInt(words[i])))
  39.   continue;
  40.   var MM_PluginVersion = words[i];
  41.     }
  42. var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
  43. }
  44. else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
  45.   && (navigator.appVersion.indexOf("Win") != -1)) {
  46. document.write('<SCR' + 'IPT LANGUAGE=VBScript> \n'); //FS hide this from IE4.5 Mac by splitting the tag
  47. document.write('on error resume next \n');
  48. document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
  49. document.write('</SCR' + 'IPT> \n');
  50. }
  51. if ( MM_FlashCanPlay ) {
  52. document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[url]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6[/url],0,0,0" width="410" height="200" align="middle">');
  53. document.write('<param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="[url]http://www.webjx.com/js/img.swf[/url]" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" />');
  54. document.write('<param name="FlashVars" value="p=' + promos + '&l=' + links + '&t=' + t + '">');
  55. document.write('<embed src="[url]http://www.webjx.com/js/img.swf[/url]" FlashVars="p=' + promos + '&l=' + links + '&t=' + t + '" quality="high" bgcolor="#ffffff" width="410" height="200" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[url]http://www.macromedia.com/go/getflashplayer[/url]" wmode="transparent" />');
  56. document.write('</object>');
  57. }
  58. //-->
  59.   </SCRIPT>
  60. </DIV></TD></TR></TBODY></TABLE>
复制代码
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
 楼主| 发表于 2005 年 12 月 31 日 13:00:39 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价

搜弧IT频道的幻灯片切换的特效源代码[1000贴留恋]

  1. <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  2. <TBODY>
  3. <TR>
  4. <TD>
  5. <DIV align=center>
  6. <SCRIPT type=text/javascript>
  7. <!--
  8. t=5; //secs per slide
  9. // promos + links
  10. prmo = new Array();
  11. link = new Array();
  12. prmo[1]="[img]http://www.webjx.com/img/200406301.jpg[/img]";//网页制作学习
  13. link[1]="[url]http://www.webjx.com/htmldata/sort/3.html[/url]";
  14. prmo[2]="[img]http://www.webjx.com/img/200406302.jpg[/img]";//动画制作学习
  15. link[2]="[url]http://www.webjx.com/htmldata/sort/4.html[/url]";
  16. //prmo[2]="[img]http://www.webjx.com/img/200406302.jpg[/img]"//网页特效
  17. //link[2]="[url]http://www.webjx.com/htmldata/sort/5.html[/url]";
  18. prmo[4]="[img]http://www.webjx.com/img/200406303.jpg[/img]";//网页编程学习
  19. link[4]="[url]http://www.webjx.com/htmldata/sort/6.html[/url]";
  20. prmo[0]="[img]http://www.webjx.com/img/200406304.jpg[/img]";//书籍教程下载
  21. link[0]="[url]http://www.webjx.com/htmldata/sort/7.html[/url]";
  22. prmo[3]="[img]http://www.webjx.com/img/200406305.jpg[/img]";//网页素材下载
  23. link[3]="[url]http://www.webjx.com/htmldata/sort/8.html[/url]";
  24. //init
  25. promos = "";
  26. links = "";
  27. // build flashvars
  28. for (x=0;x<prmo.length;x++) {
  29. promos += (x+1<prmo.length) ? prmo[x]+"|" : prmo[x];
  30. links += (x+1<prmo.length) ? link[x]+"|" : link[x];
  31. }
  32. var MM_contentVersion = 6;
  33. var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
  34. if ( plugin ) {
  35.     var words = navigator.plugins["Shockwave Flash"].description.split(" ");
  36.     for (var i = 0; i < words.length; ++i)
  37.     {
  38.   if (isNaN(parseInt(words[i])))
  39.   continue;
  40.   var MM_PluginVersion = words[i];
  41.     }
  42. var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
  43. }
  44. else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
  45.   && (navigator.appVersion.indexOf("Win") != -1)) {
  46. document.write('<SCR' + 'IPT LANGUAGE=VBScript> \n'); //FS hide this from IE4.5 Mac by splitting the tag
  47. document.write('on error resume next \n');
  48. document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
  49. document.write('</SCR' + 'IPT> \n');
  50. }
  51. if ( MM_FlashCanPlay ) {
  52. document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="[url]http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6[/url],0,0,0" width="410" height="200" align="middle">');
  53. document.write('<param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="[url]http://www.webjx.com/js/img.swf[/url]" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" />');
  54. document.write('<param name="FlashVars" value="p=' + promos + '&l=' + links + '&t=' + t + '">');
  55. document.write('<embed src="[url]http://www.webjx.com/js/img.swf[/url]" FlashVars="p=' + promos + '&l=' + links + '&t=' + t + '" quality="high" bgcolor="#ffffff" width="410" height="200" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="[url]http://www.macromedia.com/go/getflashplayer[/url]" wmode="transparent" />');
  56. document.write('</object>');
  57. }
  58. //-->
  59.   </SCRIPT>
  60. </DIV></TD></TR></TBODY></TABLE>
复制代码
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2025 年 2 月 1 日 11:46 , Processed in 0.141305 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表