frameset

Element “frameset” is not supported from visual studio 2010

拜拜、爱过 提交于 2019-12-24 08:57:55
问题 I have a plain html file like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <frameset rows="*"> <frame name="inner" src="inner.htm" /> </frameset> </html> In visual studio 2010 I get warnings "(XHTML 1.0 Transitional): Element 'body' occurs too few times" and "(XHTML 1.0 Transitional): Element 'frameset' is not supported.". However the w3c

Internet Explorer 9 ignores dialogWidth/Height for showModalDialog with a frameset

[亡魂溺海] 提交于 2019-12-24 08:55:17
问题 I've got an older intranet application that needs to show two frames (a fixed menu bar and a variable content data view) inside a modal dialog window. At the moment the dialog is opened using the window.showModalDialog function and everything works fine, as long as I'm opening the page in Internet Explorer 8 (with any view mode) or in Internet Explorer 9 with Compatibility View enabled. Unfortunately, when switching off the Compatibility View in IE9, the dialog window always opens in a size

Internet Explorer 9 ignores dialogWidth/Height for showModalDialog with a frameset

社会主义新天地 提交于 2019-12-24 08:55:11
问题 I've got an older intranet application that needs to show two frames (a fixed menu bar and a variable content data view) inside a modal dialog window. At the moment the dialog is opened using the window.showModalDialog function and everything works fine, as long as I'm opening the page in Internet Explorer 8 (with any view mode) or in Internet Explorer 9 with Compatibility View enabled. Unfortunately, when switching off the Compatibility View in IE9, the dialog window always opens in a size

Can I disable IE compatibility mode only for content within a <frame>?

久未见 提交于 2019-12-24 05:24:07
问题 Ive developed a Web Application that runs in my company's intranet. I had an issue with Internet Explorer's automatic compatibility mode earlier in my process, and added code to force my pages to be displayed in the newest version of IE: <meta http-equiv="X-UA-Compatible" content="IE=edge" /> This worked perfectly. Until my web application was recently integrated into another intranet, available also to our customers. The web pages are beyond my control. My application is integrated within a

Emulate Frameset Separator Behavior

两盒软妹~` 提交于 2019-12-22 17:55:35
问题 The HTML5 current specification removed the <frameset> tag. There is a nice feature of <frameset> which is not easy to reproduce without it: In a frameset, you can change the position of the line separating the frames with the mouse. How would I provide the same functionality with with using DIVs in JavaScript? I've come across the following which demonstrates the behavior I'm looking for. However I would like to avoid using JQuery, even though using jQuery should be the preferred way. 回答1:

Frameset + cols IE10

一曲冷凌霜 提交于 2019-12-21 04:26:12
问题 I was testing some scripts in IE10, seems that the browser has problems in setting attribute cols . Example: parent.middle.document.getElementById("middle_frames").cols = "0,*" This works perfect for SAF/Chrome/FF/IE7/IE8/IE9, but in IE10 it doesn't work. Anyone with some help? I can't show my problem in my project, but I made a dummy script to show you the problem. Make 3 files (these below) and run them in IE10 and click the button "change cols". Works perfect for every browser except IE10.

Setting location.hash in frames

时光毁灭记忆、已成空白 提交于 2019-12-21 02:35:22
问题 I am using ajax to update the location of a page in a frame. But when setting the location of the hash (on Chrome and some versions of IE (5.5) specifically, but occasionally on IE7) the page is being reloaded. The following html demonstrates the problem. the main frame.... frame.html is <html><head> <frameset rows="*"> <frame src=sethash.html frameborder=0 scrolling=auto name=somebody> </frameset> </head></html> the sethash.html page is . <html><head> <script language=JavaScript> var Count =

How to call javascript function specified in a child <frame>

时间秒杀一切 提交于 2019-12-18 02:47:51
问题 I'm working on a accient project which based on and tags. Here's the common HTML structure of the parent page (index.html): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> </head> <frameset rows="75px,*" frameborder="0"> <frame name="frame1" src="frames/frame1.html"> <frameset class="child_frameset"> <frame name="frame3" src="frames/frame3.html"> </frameset> </frameset> </html> Here how I specify the javascript function on the

Emulating frame-resize behavior with divs using jQuery without using jQuery UI?

眉间皱痕 提交于 2019-12-17 18:20:40
问题 I'm converting a site for a client from a frameset to divs. One feature that the client has is a sidebar that can be resized depending on how much space the user needs. Using frames the resizing of this sidebar was built in. However, I'm having some difficulty emulating this capability in jQuery. I don't wish to use jQuery UI to do this, I have no need for all the extra functionality that the UI suite provides, and would rather just write a few lines of code to take care of this. I only need

Alternative for frames in html5 using iframes

扶醉桌前 提交于 2019-12-17 16:02:49
问题 I am new to HTML5 and I have done some research and found out that the use of <frameset> is outdated and from what I read <iframes> are not. So can someone help me, I want to obtain the same result as the example shown but while using <iframes> or another substitute for <frameset> that is not deprecated in HTLM5? <frameset cols="20%,*,"> <frame src="menu.html"> <frame src="events.html"> </frameset> 回答1: Frames have been deprecated because they caused trouble for url navigation and