frames

Scrape multi-frame website

I'm auditing our existing web application, which makes heavy use of HTML frames. I would like to download all of the HTML in each frame, is there a method of doing this with wget or a little bit of scripting? ...

Ajax versus Frames

In light of how ajax is actually used by most sites today; why is ajax embraced while frames are still regarded as a bad idea? ...

JQuery and frames - $(document).ready doesn't work

Hi, I have a page, with some code in js and jQuery and it works very well. But unfortunetly, all my site is very very old, and uses frames. So when I loaded my page inside a frame, $(document).ready() doesn't fire up. My frameset looks like: <frameset rows="79,*" frameBorder="1" frameSpacing="1" bordercolor="#5996BF" noresize> <fr...

Tab Navigation - Frames or AJAX?

I have what I imagine to be a pretty standard web-interface. There are 4 different ListViews (grid controls) which are accessed by a series of Tabs on the top. I have implemented this as follows: Tab 1 will load Page 1 containing Grid 1 into Frame 2, Tab 2 will load Page 2 containing Grid 2 into Frame 2 etc. However this then mea...

Load HTML frames in a specific order without back button problems?

I have a web page that uses a frameset. Due to scripting and object dependencies, I need to load the frames in a specific order. I have used this example as a template: The JavaScript Source: Navigation: Frames Load Order This loads an empty page in place of the page I need to load last, then replaces it with the correct page after th...

Safari Frames Invisible Scrollbar

I'm working on a website that uses not just frames, but frames within frames (ew, I know, but I don't get to choose). It actually works ok most of the time, but I'm running to a problem with some of the frames within frames on Safari (only). Some of the two-deep frames render in Safari with a small space on the right-hand side of the f...

Javascript frames discovery

In javascript how do I get a handle on the frame that I'm in based on an element in that frame? function myFunction(elementInFrame){ // here I want to get a handle on the frame that elementInFrame lives in } ...

How can I get a frame's content with mshtml?

Here's the issue: I have a hook in IE that reacts on WebBrowser.OnNavigateComplete2 event to parse the content of the document for some precise info. That document contains frames, so I look into the HTMLDocument.frames. For each one, I look into the document.body.outerHTML property to check for the content. Problem is, the string I'...

Detect failure to load contents of an iframe

I can detect when the content of an iframe has loaded using the load event. Unfortunately, for my purposes, there are two problems with this: If there is an error loading the page (404/500, etc), the load event is never fired. If some images or other dependencies failed to load, the load event is fired as usual. Is there some way I c...

Delphi visual component - moving away from TFrame base?

I have a visual component that I built from a TFrame (but then registered to the palette, etc); it works great and I loved being able to build it VISUALLY using the IDE. I would now like to create a "family" of related components, and to do so, would like to create a superclass of this component, and then inherit this component and othe...

Target attribute in IE7

We have some web pages which have two frames, with one frame in the IE 6 search bar (created using the open("path.htm", "_search"); call). The page shown in the frame on the search bar contains buttons, on click of which we update the right frame. On migration to IE 7, both frames open in their own windows, i.e, I now have two windows op...

disabling frame resize in Firefox

I have the following frameset: <frameset rows="625,*" cols="*" framespacing="0" frameborder="0" border="0" noresize> <frame marginheight="0px" src="music-NEW.php" name="mainFrame" scrolling="NO" frameborder="0" noresize> <frame marginheight="0px" src="musicplayer.php" name="bottomFrame" scrolling="NO" frameborder="0" nore...

Run JQuery in the context of another frame

Hi, The client I am working with has a frameset like so... <frameset rows="100,*, 0"> <frame name="theFrame" id="theFrame" src="blah.html" > <frame name="theSecondFrame" id="theSecondFrame" src="foo.html" > <frame name="importantFrame" id="importantFrame" src="myFrame.html" > </frameset> When a certain action takes place I need...

Get frame source with jQuery (after the source has changed)

This jQuery will return the source URL of a frame: $('#frame-name').attr('src') But if a link inside the frame is clicked, the original source is still returned. Is it possible to detect the new source URL? Or get the source of the new document loaded in the frame? If either of those is a yes, are there security constraints if the so...

How are the facebook chat windows implemented?

On Facebook you can browse the site without affecting the floating chat windows. Seems like if the main page was inside an iFrame and the footer and chat windows where floating outside. Is the main content inside an iframe or are the footer and chat windows the ones inside an iframe? The later doesn't seem possible because int this ...

How do I set the background color of an HTML Frame?

I have a legacy website using frames. The pages within the frame do not use a white background and hence, I get an annoying "white flash" while the pages in the frames transition. I think this can be fixed by changing the background color of the <frame>, but no matter what is entered, Internet Explorer will NOT see anything but white. ...

Solution to remove frames from a website

At the moment I'm working with a booking website that has a frame set. Let's say, 40% is from it's own website, so can be easily altered into a frame less site. However, the actually booking-flow is from another website (also maintained by us) and is meant to "live" on it's own, so that 3rd party websites can buy/use the booking-flow a...

Frameset won't work in IE8

I have constructed a frameset which is meant to center a webpage in the middle of the browser window. <html> <frameset rows="100%,567px,100%" border="0"> <frame src="blank.html" noresize="noresize" scrolling="yes"> <frameset cols="100%,1128px,100%" border="0"> <frame src="blank.html" noresize="noresize"...

Frames, scripts, and load order

If I have a document with a frameset and some javascript defined in a head tag, i.e something like this: <html> <head> <script> function foo() {} </script> </head> <frameset> <frame src="A.html"> </frameset> </html> I am already assuming that the frame (A.html) fires its onLoad event handler before that of its...

Where's my URL parameter?

I have a legacy web page made with frames (yah, I know). One frame (letFrame) is trying to update another frame (rightFrame) with the following anchor: <a href="foo.asp?myVar=BAR" target=rightFrame> foo.asp is already loaded in rightFrame and looks something like this <%@ Language=VBScript %> <HTML> <HEAD> <META NAME="MYNAME" Content...