# mypackage **Repository Path**: baoyinYang/mypackage ## Basic Information - **Project Name**: mypackage - **Description**: 编写的一些小插件,欢迎提消息给我 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2017-06-16 - **Last Updated**: 2023-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #mypackage * 暂时只包含一个依赖jquery的轮播图 #1、轮播图 * 使用的时候需要注意的是,先引入jquery,再引入本插件 * the first ```html ``` * the second ```javaScript /*创建轮播图的选项设置*/ var param = { list:[ /*src--图片的路径;href--点击图片需要跳转的页面,没有的话写#*/ {src:"img/bannerDefaultLogo_01.png",href:"http://www.baidu.com"}, ], point:true /*默认创建原点,false--取消*/ } ``` * the third 创建一个对象,第一个参数为#+id名;第二个参数为你配置的选项 ```javaScript new ImgRun("#demo1",param); ``` 123