网页特效
建站首页
|
广告代码
|
源码下载
|
站长工具
|
字体下载
|
网页模板
|
收藏本站
|
设为首页
网站首页
菜单导航
日期时间
背景图像
图层样式
鼠标键盘
页面窗口
色彩表格
链接文字
表单按钮
计数转换
游戏娱乐
综合实例
特效
热门搜索:
特效代码
js脚本
导航菜单
热点推荐:
英文字体
人民币汇率
dw插件
站长常用软件
alexa排名查询
您的位置:
网页特效
->
鼠标键盘
-> 非常漂亮的评分效果
非常漂亮的评分效果
作者:admin 发布时间:2009-10-29 20:00:11 发布人: admin
<!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> </head> <body> 告诉你一个应有尽有的网页特效网址:<a href="http://web.archive.org/web/20150322025514/http://myjs.jz123.cn/">http://myjs.jz123.cn</a> <hr/> <style> #QuacorGrading input { background:transparent url(http://web.archive.org/web/20150322025514im_/http://download.jz123.cn/sc/grading.png) no-repeat scroll right center; border:0 none; cursor:pointer; height:30px; width:30px; padding:0; vertical-align:middle;}</style> <div id="QuacorGrading" style="position:absolute;top:230px; left:150px"><strong>评分</strong> <input name="1" type="button"/> <input name="2" type="button"/> <input name="3" type="button"/> <input name="4" type="button"/> <input name="5" type="button"/> <input name="6" type="button"/> <input name="7" type="button"/> <input name="8" type="button"/> <input name="9" type="button"/> <input name="10" type="button"/> <span id="QuacorGradingValue"><b><font size="5" color="#fd7d28">6.5</font></b>分</span> <script type="text/javascript"> var GradList = document.getElementById("QuacorGrading").getElementsByTagName("input"); for(var di=0;di<parseInt(document.getElementById("QuacorGradingValue").getElementsByTagName("font")[0].innerHTML);di++){GradList[di].style.backgroundPosition = 'left center';} for(var i=0;i < GradList.length;i++){ GradList[i].onmouseover = function(){ for(var Qi=0;Qi<GradList.length;Qi++){ GradList[Qi].style.backgroundPosition = 'right center'; } for(var Qii=0;Qii<this.name;Qii++){ GradList[Qii].style.backgroundPosition = 'left center'; } //alert(GradList.length); document.getElementById("QuacorGradingValue").innerHTML = '<b><font size="5" color="#fd7d28">'+this.name+'</font></b>分'; } } </script> </div> </body></html>
非常漂亮的评分效果
将本文收藏到QQ书签与更多好友分享
上一篇:文章:
js表单验证效果
下一篇:文章:
始终显示在页面固定位置的层效果
本类浏览排行 »
搜索页面中的内容
又一款综合搜索引擎代码
标题栏显示当前时间
倒影效果的电子表,显示当前时间
自动记录当前页面最新的更新日期
JS让网页每隔2秒弹出一次对话框
一款超酷的CSS列表排行榜
鼠标悬停放大的纯CSS分页效果
本站推荐文章 »
垂直三栏自适应等高布局
仿QQ消息管理器的文本内容样式
支付宝的控制台动画效果菜单
文字、图片拖曳移动
可拉伸移动的DIV层效果
很酷的图片伸缩放大功能
较好的视觉效果的网页选项卡
CSS实例:通过定义渐变边框给图片加阴影