Get the App
SLTechnology News&Howtos  ›  Development  › 

What if HTML5 doesn't support frameset?

Shulou Source: shulou.com Published: 2022-06-03 14:38:26 09月16日 Update

This article mainly introduces what to do if HTML5 does not support frameset. What is introduced in this article is very detailed and has a certain reference value. Interested friends must finish reading it!

The solution is as follows:

First kind

Iframe is used, but fewer and fewer people use iframe, and iframe is not compatible between different browsers. And some of my R & D staff say that it seems troublesome to pass values between iframe windows.

The second kind

Use jQuery's onload method to load the page, but after this method jumps to multiple pages, clicking back and forward at the top of the browser is not valid, but it is considered to add a back button.

So individuals are more inclined to this method.

That's what I usually write.

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

For pages, div+css can achieve the effect of frame

Div+css implements frameset effect. Header {border-bottom:1px solid # ccc;margin-bottom:5px;} .MainContainer {min-width:960px;max-width:1600px;} .sidebar {width:180px;float:left;margin-right:-180px;border-right:1px solid # ccc;min-height:500px;padding:5px;} .main {float:left;margin-left:200px;padding:5px;} .content {padding:0 10px } the contents above in the top sidebar are all the contents of this article "what if HTML5 does not support frameset". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Methods content pages what to do support effects browsers articles browsing different individuals between people values tendencies interests multiple guys buddies situations Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Tech Info Apple MySQL Redmi