Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa HTML update two frames at once

Have Programming Question? Ask it here!
 
 
 


samar
update two frames at once
1 Answer(s)      3 years and 9 months ago
Posted in : HTML


How do I update two frames at once?


Advertisement
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.



Related Tutorials/Questions & Answers:
update two frames at once
update two frames at once  How do I update two frames at once
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
Advertisements
Frames
Frames  using awt how i can link two frames? for example i just want that when i press on the button of frame "frame1" it takes me on another window "frame2" with desired output and hide the "frame1" please help me out
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
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
HTML frames
HTML frames  Are there any problems with using frames
HTML frames
HTML frames  Do search engines dislike frames
create frames
create frames  How do I create frames? What is a frameset
frames - Java3D
frames  how can i create multiple frames in java?  Hi Friend, You can use JInternalFrame class to create multiple frames in java as we...("Multiple Frames"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE
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
update
update  how can i update multiple records in database using jsp ,servlet and jdbc based on selection of checkbox in jsp
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
HTML combination of frames
HTML combination of frames  How do I specify a specific combination of frames instead of the default document
border around frames
border around frames  How do I remove the border around frames
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
java Frames - Java Beginners
java Frames  Hi friend, Thanks for your reply. Can i use frames in socket program.  Hi anita, I am sending you a link. This link will help you. Please visit for more information. http
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
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
Finding Lost Frames - Java tutorial
Finding Lost Frames 2001-05-10 The Java Specialists' Newsletter [Issue 019] - Finding Lost Frames Author: Dr. Heinz M. Kabutz If you are reading... Lost Frames Something that I have encountered in some almost-complete
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
mysql run multiple queries at once
mysql run multiple queries at once  Running two MySQL queries at a time in PHP mysql_query
What are the differences between require and include, include_once?
What are the differences between require and include, include_once?  What are the differences between require and include, include_once
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
how to validate all form field values at once.
how to validate all form field values at once.  how to validate all form field values at once. condition:no form field shold contain sometext("--select
how to update
how to update   conditional update
update profile
update profile  coding for update profile
differences between require and include, include_once.
differences between require and include, include_once.  What are the differences between require and include, include_once?   Hi friends, Differebne 1: The include_once() function includes and evaluates the specified
update image
update image  sir, I want to do update image into database
how to devide a web page into parts and setting the targets like frames but without using frames
how to devide a web page into parts and setting the targets like frames but without using frames  Here is my requirement, I have to devide a web... by user.I am using jsp.(This requirement must be fulfilled without using frames
Running threads in servlet only once - JSP-Servlet
. With those two separate threads I can check with database and do some other process while mail thread is running. these two separate threads has to run
update query
update query  using oops concept in php.. How to update the data from databse ? with program example
Getting all frames in a JDesktopPane container
Getting all frames in a JDesktopPane container  ... the number of visible internal frames in a JDesktopPane container. The JDesktopPane... frames role like the child frame of the JDesktopPane container. Screen shots
What is Google Penguin Update?
Penguin update, which as the news spread is supposed to go much deeper than... a shockwave and this time Google Penguin update is going to be stricter and would... exactly Google Penguin Update is for? A definitive and down to scratch detail about
to update the information
to update the information   sir, i am working on library mgt project. front end is core java and backend is ms access.i want to open,update the information through form.please send me code earliar
How to create Multiple Frames using Java Swing
Multiple Frames in Java Swing In this section, you will learn how to create multiple frames. Java Swing provides the utility to show frame within another... JFrame("Multiple Frames"); frame.setDefaultCloseOperation(JFrame.EXIT
update database
update database  hi.. i want to know how the valuesof database can be updated in the jsf-jpa framework when the drop down button is clicked the data... that can be done there then by pressing the update buutton the value can be updated
Update value
Update value  How to update value of database using hibernate ?   Hi Samar, With the help of this code, you will see how can update database using hibernate. package net.roseindia.DAO; import
to update the information
update the information   sir, i am working on library mgt project. front end is core java and backend is ms access.i want to open,update the information through form.please send me code earliar.   Please visit
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
Update - JDBC
is what I used to update normally. It works. Please assist me. Thanks...("jdbc:odbc:Biu"); stat = con.prepareStatement("Update Biu SET itemcode...; Step1: Retrive the column value which one you want to update and store
Update statement
Update statement  I create a access database my program When I click add button bata are adds to the my data base but when i click update button my database is not update I write this program using 3 differfnt notepad pages MY
update jsp
update jsp  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC...;/Controller"> <center> <input type="hidden" name="page" value="update"/>
data update
edit/update data and saved them into that table again
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
Update Profile
on the Update Profile links the following update profile pages is displayed. Once the user... Update Profile       The Update Profile page allows the logged in user to update his/her profile
update php cpanel
update php cpanel  update php cpanel
update mysql database
update mysql database  update mysql database
Advertisements
 

 

 

DMCA.com