update two frames at once

Ads
 

update two frames at once

How do I update two frames at once?

View Answers

November 2, 2010 at 4:18 PM

Hi,

There are two basic techniques for updating multiple frames with a single link: The HTML-based technique links to a new frameset document that specifies the new combination of frames. The JavaScript-based solution uses the onClick attribute of the link to update the additional frame (or frames).

The HTML-based technique can link to a new frameset document with the TARGET="_top" attribute (replacing the entire frameset). However, there is an alternative if the frames to be updated are part of a nested frameset. In the initial frameset document, use a secondary frameset document to define the nested frameset. For example:

<frameset cols="*,3*">
<frame src="contents.html" name="Contents">
<frame src="frameset2.html" name="Display">
<noframes>
<!-- Alternative non-framed version -->
</body></noframes>
</frameset>

A link can now use the TARGET="Display" attribute to replace simultaneously all the frames defined by the frameset2.html document.

The JavaScript-based solution uses the onClick attribute of the link to perform the secondary update. For example:

<a href="URL1" target="Frame1" onClick="top.Frame2.location='URL2';">

Update frames The link will update Frame1 with URL1 normally. If the reader's browser supports JavaScript (and has it enabled),

then Frame2 will also be updated (with URL2).

Thanks.

Ads









Related Tutorials/Questions & Answers:
how to connect two swing frames
how to connect two swing frames  how to connect two swing frames   Hi Friend, Try this: 1)LoginDemo.java: import java.sql.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; class LoginDemo extends
This code send email two times but i want only once
This code send email two times but i want only once   public void dbbackup_notify(String email,String data,String subject){ String toEmails = email; Session session=Session.getInstance(props, new
Advertisements
This code send email two times but i want only once
This code send email two times but i want only once   public void dbbackup_notify(String email,String data,String subject){ String toEmails = email; Session session=Session.getInstance(props, new
update database using two queries at a time
update database using two queries at a time  String sql="insert into employee values(emp_seq.nextval,\'"+ename+"\',\'"+eadd+"\',\'"+ephone... can execute two queries with two different Statement object in the following way
Regarding frames in HTML
Regarding frames in HTML  I have created a html page including two frames in it,one frame consists "search bar" and the other frame consists login page,when i click on "Sign In" button in login frame,it is displaying the results
ModuleNotFoundError: No module named 'frames'
ModuleNotFoundError: No module named 'frames'  Hi, My Python... 'frames' How to remove the ModuleNotFoundError: No module named 'frames'... to install padas library. You can install frames python with following command
HTML Frames Example
HTML Frames Example  Hi, Can anyone provide me HTML Frames Example code? I have to one a web page say http://www.roseindia.net in Frame? Thanks...;frame src="frame1.html"> tags for creating frames in HTML. Read at Frames
update
update  how can i update multiple records in database using jsp ,servlet and jdbc based on selection of checkbox in jsp
update
update  Predict and justify the output of the following code snippet written by the developer to update the Status table: String str = "UPDATE m...://localhost:3306/roseindia", "root", "root"); String str = "UPDATE Status SET
Do search engines dislike frames?
Do search engines dislike frames?  Do search engines dislike frames
Extract frames from Video File
Extract frames from Video File  How to extact the frames from a particular video file and save them in .jpeg format
ModuleNotFoundError: No module named 'gif-frames'
ModuleNotFoundError: No module named 'gif-frames'  Hi, My Python... 'gif-frames' How to remove the ModuleNotFoundError: No module named 'gif-frames' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'gif-frames'
ModuleNotFoundError: No module named 'gif-frames'  Hi, My Python... 'gif-frames' How to remove the ModuleNotFoundError: No module named 'gif-frames' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'gif-frames'
ModuleNotFoundError: No module named 'gif-frames'  Hi, My Python... 'gif-frames' How to remove the ModuleNotFoundError: No module named 'gif-frames' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'markdown_frames'
ModuleNotFoundError: No module named 'markdown_frames'  Hi, My... named 'markdown_frames' How to remove the ModuleNotFoundError: No module named 'markdown_frames' error? Thanks   Hi, In your python
Frames from a yuv video file
Frames from a yuv video file  hi, please help me with the java code for extracting frames of yuv video file. After extraction the images should be stored in jpeg format. Please help me
Frames from a yuv video file
Frames from a yuv video file  hi, please help me with the java code for extracting frames of yuv video file. After extraction the images should be stored in jpeg format. Please help me
displaying a physical webpage with frames in iframe
displaying a physical webpage with frames in iframe  i have iframe... in iframe.index.html page contains frames divided into 2,each from different sources.i tried to display a sample webpage without frames and it was a success
ModuleNotFoundError: No module named 'call-once'
ModuleNotFoundError: No module named 'call-once'  Hi, My Python... 'call-once' How to remove the ModuleNotFoundError: No module named 'call-once' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'celery_once'
ModuleNotFoundError: No module named 'celery_once'  Hi, My Python... 'celery_once' How to remove the ModuleNotFoundError: No module named 'celery_once' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'celery_once'
ModuleNotFoundError: No module named 'celery_once'  Hi, My Python... 'celery_once' How to remove the ModuleNotFoundError: No module named 'celery_once' error? Thanks   Hi, In your python environment
mysql run multiple queries at once
mysql run multiple queries at once  Running two MySQL queries at a time in PHP mysql_query
update profile
update profile  coding for update profile
how to update
how to update   conditional update
how to divide a web page into some frames.....
how to divide a web page into some frames.....  how to divide 1 web page into some parts. i know it using frames in html,bt how can we do it in jsp... page,bt m nt knowing how to divide that into frames in jsp.  Please go
i want to update values
and later once i press update it need to update details into database and before...i want to update values  in my form i have 2 submit buttons one for edit and another for update on page load all my details need to fetch from
update image
update image  sir, I want to do update image into database
How to update table in Hibernate
How to update table in Hibernate  Hi, I have a table in database that has two fields in it. Student Name and ID, can anyone explain me how to update these tables in Hibernate. Thanks.   Update table query in Hibernate
how to update specific row in on update key in the Navicat for mysql trigger
how to update specific row in on update key in the Navicat for mysql trigger   Blockquote insert into two(name, date) select name, curdate() from one on duplicate key update name=values(name
ModuleNotFoundError: No module named 'celery-queued-once'
ModuleNotFoundError: No module named 'celery-queued-once'  Hi, My... named 'celery-queued-once' How to remove the ModuleNotFoundError: No module named 'celery-queued-once' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'celery-queued-once'
ModuleNotFoundError: No module named 'celery-queued-once'  Hi, My... named 'celery-queued-once' How to remove the ModuleNotFoundError: No module named 'celery-queued-once' error? Thanks   Hi, In your

Ads