当前位置: 首页 > 图文教程 > 网络编程 > Javascript > ImageFlow可鼠标控制图片滚动

Javascript
javascript中的有名函数和无名函数
javascript[js]获取url参数的代码
javascript select 之间传值效果的代码
js正则实现的密码框简单制作,还可以替换成自己想用得符号
脚本控制自适应高度的缩短问题
兼容ie和firefox版本的js反选 全选 多选框
javascript 随机数 与高级应用 附vbscript(asp) 随机数总结
不用确认即可打印的javascript代码
推荐自用 Javascript 缩图函数 (onDOMLoaded)……
用javascript实现div可编辑的常见方法
用JavaScript实现的一个IP地址输入框
用javascript取得传递参数的个数的代码
当鼠标移出灰色区域时候,菜单项怎么隐藏起来
才发现的超链接js导致网页中GIF动画停止的解决方法
javascript window.onerror事件学习新收获
javascript 如何生成不重复的随机数
超个性的导航效果
不能再简单的无闪刷新验证码原理很简单
经常用到的javascript验证函数收集
用js实现手把手教你月入万刀(转贴)

Javascript 中的 ImageFlow可鼠标控制图片滚动


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 150 ::
收藏到网摘: n/a

大家以前看到的都是FLASH,现在看看JS也来做。 提示:支持键盘左右键。拉条可以快速浏览。 You are free to use this in any product, or on any web site. For more information about ImageFlow read the Documentation and check my Newsblog. For anything else simply drop me a line in my Shoutbox.

ChangeLog
Version 0.8
Added Safari 1.x compatibility (a very big thanks to Stephan Droste!)
Added image link events onclick and ondblclick: the link is directly stored in the longdesc attribute of the image tag
Improved image scaling: now all image formats will stay inside the main div container "imageflow"
Minor performance improvements
Show full ChangeLog


Version 0.7
Added different cursor types
Added configuration variables
Changed implementation: all JavaScript is now stored inside the imageflow.js
Changed the captions handling: now the caption text is directly stored in the alt attribute of the image tag
Fixed a bug (description)

Version 0.6
Added arrow key support
Improved usability: now it just interacts on mouse wheel events if the cursor is over the main div container "imageflow"
Improved div container positioning
Fixed a bug (description)

Version 0.5.1
Fixed a mouse wheel bug (description)

Version 0.5
Added focus feature: now it can handle large amounts of images (>100)
Added scrollbar
Fixed display order of loading procedure

Version 0.4
Added mouse wheel support
Added loading bar
Minor performance improvements

Version 0.3
Added server side generated reflections
Minor performance improvements
Fixed correct scaling of square formats

Version 0.2
Changed global scaling and positioning: now it scales in relation to the div container "images"

Version 0.1
Improved browser compatibility
Added bottom alignment
Added correct scaling of different image formats

Donate
If you like ImageFlow and want to donate for my work simply use moneybrookers or PayPal:


Open your free moneybookers.com account with your email address. Upload funds to your account via bank transfer, credit/debit card or cheque. And send the amount of your choice to my account: [email protected]
在线演示
http://img.ruanchen.com/nline/ImageFlow/index.html