https://github.com/ehanlin/ngehadslider
The ad slider is like gif feature.
https://github.com/ehanlin/ngehadslider
Last synced: 5 months ago
JSON representation
The ad slider is like gif feature.
- Host: GitHub
- URL: https://github.com/ehanlin/ngehadslider
- Owner: eHanlin
- License: mit
- Created: 2014-09-17T03:10:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-17T06:16:49.000Z (over 11 years ago)
- Last Synced: 2025-02-16T02:32:26.524Z (over 1 year ago)
- Language: JavaScript
- Size: 570 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
ngEhAdSlider
===================================
The ad slider is like gif feature.
## Install
```bash
bower install ng-eh-ad-slider
```
## Install node modules
```bash
npm install
```
## Dependencies
* angular
## Support
* IE8+
* chrome
* firefox
## Usage
#### html
```html
```
#### js
```js
$scope.ads = [{
photo:"2670594645_c521fd3dbd_n.jpg",
url:"https://www.flickr.com/photos/tobbymailbox/2670594645/in/photolist-54ZuYD-54ZuKg-hK9MhM-4utGZs-hKahe5"
},{
photo:"sunset_chimneysP9166348.jpg",
url:"https://www.flickr.com/photos/hysaint/2291338108/in/photolist-54ZuYD-54ZuKg-hK9MhM-4utGZs-hKahe5/"
}];
$scope.time = 3000
```
## Attributes
####target
```html
target="_blank"
```
####photoPath
```
photo-path="http://example.com/"
```
## DEMO
```bash
gulp server
```
## Build
```bash
gulp
```