Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on a project to make an existing website browser independent. The site is written in JavaScript and HTML pages. It is running fine in IE and we need to make it working for Safari 5.0 (ipad) and Chrome 14.0 (Android 4.0).

I have used ipadian simulator for Safari testing of my site but facing some weired issues. A web page is running fine on Safari with Windows XP (on my desktop) but failing in Safari - ipadian simulator. ipadian does not give the debugging facility hence not able to debug the issue there. Alerts are also not working in ipadian.

I have googled but not much help. Please help.

Thanks in advance.

Ashish
Posted

1 solution

There are two major issues with iPadian testing:-

1. Pop-Ups opened by using the ShowModalDialog() method to open a new html page as pop-up window does not work in ipadian (because of non-supportive feature ShowModalDialog() in safari browser toolkit).

2. If inline JavaScript on HTML page has <-- tag but no closing tag (!-->) is there, the page will not work in iPadian, though it works on browsers on windows.

Solutions:

1. Use the JQuery UI for opening pop ups as DIVs (detailed solution provided in my earlier article/question)

2. Place the closing tag (//-->) just before the inline script ending tag </script>.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900