iPad iframe high problem solving experience

Currently, the applications are getting wider and wider, and IE is no longer dominating the world, which brings opportunities and challenges to developers.

A problem of iframe being raised on the ipad has tossed myself all night, is it really Lianpo old?

In fact, the real solution to the problem is very simple, and it is quite interesting to record the process.

1. The pages made by users are relatively large on the ipad, which is ugly.

2. I don’t have an ipad. I downloaded a safari browser test and no problems were found.

3. Communicate with customers to see if it is normal when the data is low, and the feedback is normal. I suspect that the height of the iframe is not effective

4. Baidu search really found that the height of the iframe is ignored.< /p>

5. Find a way to put a div on the iframe jacket. The problem of being propped up is solved, but there is a problem of inability to scroll.

6. The scrolling js on the Internet is too complicated. Find the method of object, change it to object and try again. The result is that the support on the ipad is not good, and the folding problem occurs when scrolling.

7. Depressed, discuss the problem with the customer and return to the original state (at 4 o’clock in the morning) , Always have to take a nap)

Wake up at 8 or 7 o’clock and I am not reconciled. I see the div set outside and have a clever move. Putting this div on the page inside the iframe will solve the problem?

9. I left a message to the customer and the customer is very happy with the feedback (niu)

In fact, the problem is often not difficult, but the difficulty is that you can’t solve the problem. See thoroughly, not always stumbling, but to be flexible. Haha

Leave a Comment

Your email address will not be published.