HTML5 does not support two frameset solutions. html5 does not support frameset.

Source: Internet
Author: User

HTML5 does not support two frameset solutions. html5 does not support frameset.

The solution is as follows:

First

Iframe is used, but currently there are fewer and fewer iframe users, and iframe is not compatible with different browsers. Some of my R & D staff said it seemed very troublesome to pass values between iframe windows.

Second

The onload method of jQuery is used to load pages. However, this method does not work when you jump to multiple pages and click back at the top of the browser. However, you can consider adding a return button.

Therefore, individuals prefer this method.

This is what I write.

$("#main").load("mainIndex.html",function(){ });

For pages, div + css can achieve frame Effect

<! Doctype html> 

Summary

The above is all about this article. I hope this article will help you in your study or work. If you have any questions, please leave a message.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.