Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Added style which are not glossy and look same as IOS #113

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ brings this feature to older iOS versions, Android devices and for Windows Store
force: null, // Choose 'ios', 'android' or 'windows'. Don't do a browser check, just always show this banner
hideOnInstall: true, // Hide the banner after "VIEW" is clicked.
layer: false, // Display as overlay layer or slide down the page
iOSUniversalApp: true, // If the iOS App is a universal app for both iPad and iPhone, display Smart Banner to iPad users, too.
iOSUniversalApp: true, // If the iOS App is a universal app for both iPad and iPhone, display Smart Banner to iPad users, too.
appendToSelector: 'body', //Append the banner to a specific selector
onInstall: function() {
// alert('Click install');
Expand All @@ -61,7 +61,8 @@ brings this feature to older iOS versions, Android devices and for Windows Store

## Contributors

[![Arnold Daniels](https://avatars3.githubusercontent.com/u/100821?v=2&s=64)](https://github.com/jasny)
[![Thomas De Laet](https://avatars1.githubusercontent.com/u/5644283?v=2&s=64)](https://github.com/delaetthomas)
[![Arnold Daniels](https://avatars3.githubusercontent.com/u/100821?v=2&s=48)](https://github.com/jasny)
[![Thomas De Laet](https://avatars1.githubusercontent.com/u/5644283?v=2&s=48)](https://github.com/delaetthomas)
[![Shivani Thakur](https://avatars1.githubusercontent.com/u/1167588?v=3&s=48)](https://github.com/shivanibhanwal)

[1]: http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
[1]: http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
37 changes: 37 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<html>
<head>
<title>Criticgiri</title>
<meta name="author" content="Criticgiri">
<meta name="apple-itunes-app" content="app-id=844350768">
<meta name="google-play-app" content="app-id=com.kiprosh.criticgiri">
<meta name="msApplication-ID" content="App" />
<meta name="msApplication-PackageFamilyName" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="jquery.smartbanner-light.css" type="text/css" media="screen">
<style>
body {
width: 100%;
background-image: none;
}
.screen {
width: 100%;
height: auto;;
overflow: hidden;
position: relative;}
</style>
</head>
<body>
<div>
<h3>Example to show how to use Jquert.smart package for iOS and Android devices</h3>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="jquery.smartbanner.js"></script>
<script type="text/javascript">
$(function () { $.smartbanner({
daysHidden: 0,
daysReminder: 0,
icon: 'https://lh3.googleusercontent.com/gz9TWUJwZwVsrsURSBVaHpBSBz0qRVQ0Or-QkPymrV3lw5m5fUULpGiARL2X8CMuSKJQ=w300-rw',
title:'Criticgiri' }) })
</script>
</body>
</html>
23 changes: 23 additions & 0 deletions jquery.smartbanner-light.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.