Skip to content

dpesch/add-to-homescreen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Add to Home Screen Floating Layer

The script places a floating balloon to your mobile website inviting the user to add your app to the home screen. This is compatible with iPhone/4/iPod-touch and iPad, iOS >= 3.1.1.

Version: 0.9.2 beta

Usage

Include the script and the stylesheet in your page HEAD. That's all. Look at the examples for advanced features. Documentation soon to come.

Localization

The script auto-detects the user's locale and shows the message in the appropriate language. Currently the following languages are supported:

  • English [en_us]: Install this web app on your %device: tap '%icon' and then 'Add to Home Screen'.
  • French [fr_fr]: Ajoutez cette application sur votre %device en cliquant sur '%icon', puis 'Ajouter à l'écran d'accueil'.
  • Italian [it_it]: Installa questa applicazione sul tuo %device: premi su '%icon' e poi 'Aggiungi a Home'.
  • Dutch [nl_nl]: Om deze web app te installeren op uw %device: tik '%icon' en dan 'Zet in beginscherm'.
  • Swedish [sv_se]: Lägg till denna webbapplikation på din %device: tryck på '%icon' och därefter 'Lägg till på hemskärmen'.

Please help us localizing the script in more languages!

License

This software is released under the MIT License.

Copyright (c) 2011 Matteo Spinelli, http://cubiq.org/

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Add to home screen popup for iPhone/iPad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published