Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if HTML5 doesn't support frameset?

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report