Search found 4 matches

by Whatscookin
Mon Jan 17, 2011 2:40 pm
Forum: Developers Discussion
Topic: Detect and Prompt iPhone Visitors
Replies: 5
Views: 2849

Re: Detect and Prompt iPhone Visitors

So I got to work now. Got a friend to look at it. the code I'm using is: <title>iphone</title> <__script__ type="text/javascript"> function iPhoneAlert( ) { if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) ) { var qes = confirm( "Would you like to view i...
by Whatscookin
Mon Jan 17, 2011 12:17 pm
Forum: Developers Discussion
Topic: Detect and Prompt iPhone Visitors
Replies: 5
Views: 2849

Re: Detect and Prompt iPhone Visitors

M@rtijn wrote:If it's not working, it's probably the third-party code itself
Thank you for the help, it don't work so i quess its the code, but thanks anyways :)

Any of you know where I could read a little about this, tried google it, but thats a massive jungle.
by Whatscookin
Mon Jan 17, 2011 11:31 am
Forum: Developers Discussion
Topic: Detect and Prompt iPhone Visitors
Replies: 5
Views: 2849

Re: Detect and Prompt iPhone Visitors

Thank you for you quick reply. I have tried puttin {literal} on the hole thing, one in the top and {/literal} in the bottom, did not work. and just now I tried this <__script__ type="text/javascript"> function iPhoneAlert() {literal} if((navigator.userAgent.match(/iPhone/i))||(navigator.us...
by Whatscookin
Sun Jan 16, 2011 5:43 pm
Forum: Developers Discussion
Topic: Detect and Prompt iPhone Visitors
Replies: 5
Views: 2849

Detect and Prompt iPhone Visitors

Hi I'm sorry if this is on the wrong board, I'm new to this but I like it allot. I'am having trouble making it work. I place it in the head section, am I missing something? Here is the code i use. found on http://shaunmackey.com/articles/mobile/detect-and-prompt-iphone-visitors/ <__script__ type=&qu...

Go to advanced search