highslide图片查看特效

主页链接地址:http://vikjavev.no/highslide/

这是一个很好的图片浏览特效,与lightbox特效相比,最大的优势在于它不需要将网页加载完就能加载特效了,可用在任何程序中。
支持浏览器类型:IE5.5、IE6.0、IE7.0、Mozilla Firefox,其它浏览器未测试。
直接下载完整包,里面带一个演示,看演示代码就可知道!
其中版权等修改方法,打开highslide.js
搜索

creditsText : '<b>Powered by www.ry168.net</b>',
creditsHref : 'http://www.ry168.net',
creditsTitle : '点击进入冷酷主页',

把其中的地址换成你自己的就可以了。
如果要修改文件夹路径地址,打开highslide.js
搜索

graphicsDir : 'graphics/',

把其中的

graphics/

换成你自己的文件夹路径地址。
打开styles.css搜索

.highslide { cursor: url(graphics/zoomin.cur), pointer;outline: none; }

换成你自己的文件夹路径地址。
打开index.htm搜索

<link rel="stylesheet" href="styles.css" type="text/css" />
<script src="highslide.js" type="text/javascript"></script>
<script type="text/javascript">
hs.registerOverlay(
     {
       thumbnailId: null,
       overlayId: 'controlbar',
       position: 'top right',
       hideOnMouseOut: true
   }
);

   hs.graphicsDir = 'graphics/';
   hs.outlineType = 'rounded-white';
   window.onload = function() {
       hs.preloadImages(5);
   }
</script>

把其中的文件夹路径换成你自己的实际路径地址,就可以了。
posted @ 2007-12-10 22:27  scgw  阅读(991)  评论(0编辑  收藏  举报