szaman
szaman

Reputation: 6756

JavaScript library for showing on mobile website banner to mobile app

One of website I am maintaining has mobile version and applications for Windows Phone, iOS and android. Is there any ready solution which will detect my mobile browser and show appropriate banner for application in Windows Phone, iOS or Android?

I am trying to find something useful but with no luck.

Example in Ios : Banner - link 1

Upvotes: 2

Views: 716

Answers (1)

Kyojimaru
Kyojimaru

Reputation: 2724

you can do that by creating your own function to create the banner by checking the User Agent, though it will take some time to style it.

other ready solution is using jQuery plugin smartbanner, though the UI is a little bit different from the safari browser in iOS. It can't detect whether your user already installed your apps or not, so the button will always says either Install or other string that you type

Upvotes: 1

Related Questions