Code Monkey home page Code Monkey logo

smartbanner's Introduction

Smart Banner

Smart banner for Android and iOS < 6.

Usage

If jQuery used, smartBanner will be applied as plugin, and could be run with $.smartBanner([options]). In another case it will be appended to global scope, so could be used as smartBanner([options]) or window.smartBanner([options]).

Options

  • type — Force OS type of banner: ios or android.
  • icon — Link to icon picture. Default from , then http://<host_name>/apple-touch-icon.png
  • title — Application title. Default from <title>...</title>.
  • author — Application author. Default from <meta name="author" content="...">, then host name.
  • url — URL to the application on the market. Will be generated automatically.
  • price — Default: “FREE”. Price of application.
  • button — Default: “VIEW”. Text on button.
  • inGooglePlay — Default: “In Google Play”.
  • inAppStore — Default: “On the App Store”.
  • showDelay — Default: 300 [ms].
  • animTime — Timing for hide animation in second. Set null to get it from styles.
  • daysHidden — Default: 15. How many days to keep banner hidden when it closed by user.
  • daysRemind — Default: 30. when user follow link.
  • verIOS — Version of iOS from which banner should be demonstrated.
  • verAndroid — Version of Android from which banner should be demonstrated.
Inpired by

http://jasny.github.io/jquery.smartbanner/

smartbanner's People

Contributors

richardgrey avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.