imageV

所属分类:图片显示
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2016-06-18 14:39:01
上 传 者sh-1993
说明:  网页的图像查看器生成器,
(Image viewer generator for webpage,)

文件列表:
LICENSE (35141, 2016-06-18)
imageV/ (0, 2016-06-18)
imageV/imageV.css (1383, 2016-06-18)
imageV/imageV.js (3567, 2016-06-18)

# imageV A image viewer generator for webpage. #Installation Just few steps and you are using this thing. 1.Download imageV.css and imageV.js .
2.Include our css file to your web page
```html ``` 3.Put your image in your web page and give the class name ```imageV``` (put all of your images in a div) ```html ``` 4.All the styles that you want to give to your image, define it in ```img``` class ```css .img{width:123px;height:123px;} ``` 5.At the end of your webpge run ```imageV.js``` ```html ``` As a whole your webpage is should be like this ```html
``` ## Customization ### Editing your images in webpage This is what is seen in your web page. In line 21 of imageV.js ```js a.innerHTML=""; ``` You can define your own css in class img ```css .img{width:123px;height:123px;margin:10px} ``` ### Editing image for viewer You can edit this in line 31 to change view of image in viewer. ```js s=s +" "; ``` ### Add a select button to your image viewer You can add a select button to your viewer by uncommenting some comments in imageV.js
in line 33 ``` /* + "\"*/ ``` in 71 ``` /* else if (event.keyCode == 13)//for enter { myfunction(slideIndex); } */ ``` and in line 117 ``` /*function myfunction() { //define your function here } */ ```

近期下载者

相关文件


收藏者