不错的日历控件,web上直接可用js的 /* * Calendar * Language 0: Chinese, 1: English * 1.Put calendar into the element html use 'show()' * 2.Pop-up calendar use 'pop()' */ var Calendar = function( instanceId, language, startYear, endYear ){ if( typeof instanceId ==
使用js编写的一个菜单,js代码与html没有分开,阅读时可能稍有困难,需要了解json,但使用很方便 var xx = new PopMenu('x'); PopMenu.DataTextField = "ThemeName";//绑定项目文本 PopMenu.DataValueField="ID";//绑定项目结果 PopMenu.DataAttribute = "childs";//子菜单的数据 xx.BindData(json);//绑定数据源 xx.Show();//显示菜单
js,图片翻页,图片轮播。兼容各种浏览器。方便使用。使用JQuery和CSS slide显示图片 We have seen lots of web site has picture slide shows, it can be useful to show a product s various pictures. -With Javascr ipt we can achieve this, or we can use JQuery make the code more clean and n
js,图片翻页,图片轮播。兼容各种浏览器。方便使用。使用JQuery和CSS slide显示图片 We have seen lots of web site has picture slide shows, it can be useful to show a product s various pictures. -With Javascr ipt we can achieve this, or we can use JQuery make the code more clean and n
本文实例讲述了js实现显示当前状态的导航效果代码。分享给大家供大家参考。具体如下:
这里演示显示当前状态的导航,鼠标点击左侧的导航菜单,右侧的内容就会变换,实际上是一个竖向的TAB选项卡,作为菜单来用的话,它正好可以显示当前的菜单位置,比较经典。
运行效果截图如下:
在线演示地址如下:
http://demo.jb51.net/js/2015/js-show-nav-style-status-codes/
具体代码如下:
<!DOCTYPE HTML PUBLIC "-//W3C//D