JavaScript Frame FAQ
You are here: irt.org | FAQ | JavaScript | Frame
- FAQ 3 How do you change the URL of a frame by typing in the URL in a text box of a different frame?
- FAQ 4 Is there a script out there that will load a certain frame first?
- FAQ 11 How can I click on a thumbnail in one frame and load the image in another?
- FAQ 25 How can you find information about the contents of another frame?
- FAQ 41 Can I write directly to a frame, after defining the frameset?
- FAQ 53 How do I call a function in another frame?
- FAQ 54 How can I tell whether the document is loaded within frames?
- FAQ 57 How do I set one frame to have the focus?
- FAQ 59 How do I get borderless frames?
- FAQ 65 Whats the difference between _top and _parent?
- FAQ 74 Is it possible to preload a frame without showing it?
- FAQ 76 How do I access a variable within one nested frameset from another?
- FAQ 88 How can I change the location of two frames using a simple '<a href="">'?
- FAQ 94 Why do I get an error message when trying to find the location of the document in the parent or sibling frame from another frame?
- FAQ 103 Can I place the document in one of the frames as the main document when removing frames, if the document is from another server?
- FAQ 110 I have three frames on my page, how can I control how far down the horizontal window split goes?
- FAQ 114 Is it possible to resize a frame by script using resizeTo() or resizeBy() functions or innerHeight properperties?
- FAQ 117 Can I "execute" function test() from frame2 by pressing button (onClick) in frame1?
- FAQ 121 Is it possible to address the frame structure from outside of itself, from an opened child window?
- FAQ 126 How would I be able to force all incoming pages to appear within the specified frame (many pages have _top or _parent target parameters)?
- FAQ 129 How can preload the contents of the next document to be shown in the current frame?
- FAQ 153 How do I load a document in another frame when a button is clicked?
- FAQ 163 How can I make a frame pop in on a button click and pop out on a different button click?
- FAQ 173 When changing the contents of two frames at once, how can I ensure that the back button changes both frames at once?
- FAQ 180 How can I position another frame on an anchor?
- FAQ 184 Is there a way to set the base target for a frame to parent.opener?
- FAQ 206 A site that uses frames displays my site in a frame, is there a way to keep my site 'on top'?
- FAQ 220 I have a frameset with four frames, when I press button in frame1, how do I get two frames (frame2 and frame3) loaded at a same time with different pages?
- FAQ 226 How can I avoid 'persistent frame caching' when I use dynamic pages in my frames?
- FAQ 288 How can I detect with frame 1 if frame 2 is completely loaded?
- FAQ 293 How do I detect whether the document is in a frame?
- FAQ 294 How do I detect whether document has any frames?
- FAQ 297 Is it possible to click on a link in one frame, that opens one document in one of the frames, and another one in the remaining frame?
- FAQ 314 How can I click a button in another frame that simulates clicking a button in another frame?
- FAQ 315 How do I change the content of a frame in another window?
- FAQ 316 How can I close the window from within a frame?
- FAQ 317 How can I extend your redirecting access within frames article to use three frames?
- FAQ 318 When opening a new window containing a frameset, how can I ensure that one of the frames is opened at a particuar anchor?
- FAQ 324 When attempting to change the location of a frame in a window that has just been opened it sometimes fails with window.frame has no properties, why?
- FAQ 328 How can I detect when a frame in a frameset is resized?
- FAQ 340 Can I change the location of two frames with just one click?
- FAQ 371 How can I access the value of a form field in the 2nd frame from the 1st frames popup window?
- FAQ 380 How do I find if a particular frame exists before attempting to use a function inside that frame?
- FAQ 381 Is it possible to detect from outside a floating frame that the contents have loaded?
- FAQ 384 With a button located in frame1, how do I change the contents of both frame1 and frame2 when it's clicked?
- FAQ 389 How can I test for the existence of a function in another frame?
- FAQ 396 How can I have image buttons that remove and reload the frameset?
- FAQ 400 How can I load an image into a main frame when the mouse moves over a link in another frame?
- FAQ 404 Is there a way that a button can be kept from reloading a frame again until the frame is reloaded?
- FAQ 412 How can I write HTML-text into another frame - rather like a status window?
- FAQ 422 How can I get the results of a form submission to be displayed in another frame?
- FAQ 445 How can I make sure that people correctly view my pages in the required framesets and not on their own?
- FAQ 448 Do you know how I can detect when a frame in a frameset is resized?
- FAQ 473 Is it possible for a script to check for frames and if present, get rid of them?
- FAQ 488 How can I pass the contents to be loaded into a "generic" frameset definition?
- FAQ 511 How do I know which frame has the focus?
- FAQ 514 If all of my declared functions are in the parent frame, how can I call those functions from another frame?
- FAQ 524 Where can I get more information regarding "hidden frames" is there any site where I can get more information?
- FAQ 528 How do I change the pages in two frames when I click a button in a third frame?
- FAQ 532 How can I make sure that options selected from a drop down list open up the selection in the current frame if they are local files and opened up in the top frame if they are remote files?
- FAQ 534 I have a large list of html files, file_001 onwards, how can I make forward/back buttons in one frame that move through the files in another?
- FAQ 559 When using location.replace(theURL) to replace the contents of a Frame within a frameset will the framesets onLoad event handler trigger?
- FAQ 566 How can a form button be used to resize the existing frames?
- FAQ 582 Is there a way to change the location of another frame to an anchor within that frame regardless of what document is loaded into that frame?
- FAQ 591 How do you reload a page in frame 2 from frame 1?
- FAQ 592 How can I read the contents of another frame?
- FAQ 596 How can I create a three framed frameset in a new window and pass the text entered in a form as the parameters to a perl program to be displayed in one of the frames?
- FAQ 608 How can I skip an IFRAME when tabbing through the elements?
- FAQ 610 Is it possible to open the browser to a specific HTML frames document and dynamically specify the HTML document to be displayed in either frame?
- FAQ 652 How can I clear the contents of another frame?
- FAQ 669 How can you change the location of two frames by clicking a text link?
- FAQ 680 Is there a way to do these two things : make a link to open a pop up window and specify that one of the two files contained in that pop up window must be open at the anchor specified?
- FAQ 698 How can I output half a page to one frame and the other half to another frame?
- FAQ 728 How do I change the location of another frame?
- FAQ 762 How do I set and display a value on a text field of a frame when I click on a link in a different frame?
- FAQ 787 Is it possible to resize a frameset?
- FAQ 817 How can I access a variable in the parent frameset of a window that opened a popup window, from within a frame in the popup window?
- FAQ 834 How do I pass values from one frame to another in a single frameset?
- FAQ 844 How do I set a variable in frame0 of a frameset, read that variable from frame1 of the same frameset, and automatically trigger an image swap in frame2 based on the value of the variable?
- FAQ 850 How can I check if a page is loaded in a framset or displayed stand alone, and then load it in the required frameset?
- FAQ 853 How can you dynamically write content to a floating frame (IFRAME)?
- FAQ 872 How do I change the location of frame 1 and reposition the contents of frame 2 on an anchor using a text link in frame 2?
- FAQ 904 How can I tell when both frames of a frameset are loaded?
- FAQ 961 Can I have a button in one frame which gets the URL of the page in an adjacent frame and then replaces the frameset with the URL?
- FAQ 967 Can you create a complete frameset with only one HTML page?
- FAQ 970 How can I load an alien URL (i.e. a URL from another site) in one frame into the top window?
- FAQ 971 Is there any way to monitor the contents of a frame, and detect when the location has changed?
- FAQ 1005 How can I open an alien frame into a new window?
- FAQ 1013 Is it possible to determine the width of another frame?
- FAQ 1050 Is there a way to ensure that my framesets and frames are loaded properly and then the current page loads in one of the framesets that I specify?
- FAQ 1051 How can I load another document in the second frame after the first frame has completed loading?
- FAQ 1052 How do you prevent a user from opening up a frame in a new window??
- FAQ 1055 How can I place the link text on a link in a form field in another frame?
- FAQ 1056 How can I monitor one frame from another and detect when the contents have changed?
- FAQ 1111 How can I tell from one frame when another frame's url changes and have it act accordingly?
- FAQ 1149 How can I select which file gets loaded into a frame based on which browser is used when the frameset gets loaded?
- FAQ 1151 How can I load an image in a hidden frame, and then if it loads replace a blank image in the displayed frame?
- FAQ 1153 How can I write HTML-text into another frame from JavaScript - but from the page that contains the frameset definition?
- FAQ 1156 How can I show my main home page and then pre-load other pages in the background?
- FAQ 1163 How can I break out off a frame when the submit button is clicked?
- FAQ 1216 How can a link in one frame relocate the page in another frame to the top of the page?
- FAQ 1249 How can you refresh a frameset from a child window created from one of the frames and subsequently close the child window by way of a button?
- FAQ 1291 Is it possible to show/hide a layer in one frame depending on a specific page being loaded in another frame?
- FAQ 1343 How can I show/hide a layer in a separate frame?
- FAQ 1352 How can I check to to see if I'm being framed by another site, without generating a JavaScript error?
- FAQ 1499 How can I pass the contents to be loaded into a "generic" frameset definition?
- FAQ 1523 In a frames page, how do I set up the hover buttons in the contents section to remain the same as my mouseover image when clicked, in order to stay selected when loading the linked page?
- FAQ 1562 How can I resize a frameset?
- FAQ 1587 How do I bookmark a frame using Javascript?
- FAQ 1596 How can I accept the name of a page to load in a fraemset from the URL?
- FAQ 1608 From a popup window how can I alter the location of the frame that opened the popup window, plus the location of another sibling frame, and then close the popup?
- FAQ 1631 How can I chec that a frame that holds a function that I want to invoke has loaded the function successfully?
- FAQ 1632 How do I close a window opened by a frame when a new page loads into the creating frame?
- FAQ 1634 If I have frames is there a way to delete one of them from a button in another frame?
- FAQ 1640 How can I replace a frameset with a single page after a delay?
- FAQ 1661 How can I tell when a inline frame has finished loading?
- FAQ 1676 How do I submit a form in Frame A from Frame B?
- FAQ 1692 How do I apply the title of a page that gets loaded inside a frame to the top frame?
- FAQ 1693 Is it possible to stop a form from submitting when enter is pressed?
- FAQ 1697 How do I load specific pages into specific frames of an existing frameset site, when the current page is not in a frameset?
- FAQ 1703 How can I clear the contents of one frame from another?
- FAQ 1707 How can I completely hide a frame in all browsers?
- FAQ 1758 How do I know which frame has the focus?
©2018 Martin Webb