?
Solved

Updating 2 frames in one go

Posted on 1998-12-29
7
Medium Priority
?
176 Views
Last Modified: 2010-04-09
Hi there.

If i have 2 frames, and then click on a link in one of the frames.
Is there any way (without using java) that i can get the browser to read a new page in BOTH frames? (Not the same page in both frames)
A friend of mine says it's possible, but another says it's not!
Who shal i beleave?

Regards. Martin Møller.
0
Comment
Question by:freak022398
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 1

Expert Comment

by:artlantis
ID: 1841067
Hi,
Happy new year.

If i understand well,when you click one link, to open the page without frames,to a single window.
Am i wrong?
(After your comment i'll answer your question)

Sincerely
Andreas

http://www.intrafood.com/artlantis/index.htm
artlantis@hotbot.com
0
 

Author Comment

by:freak022398
ID: 1841068
What i want is when i click a link in a frame, the browser should read 2 different pages into the two different frames.

Martin.

0
 
LVL 4

Expert Comment

by:martinag
ID: 1841069
I take it with Java, you mean JavaScript.

You'll have to create one frameset file for every file. Let me explain:
<A HREF="products.htm" TARGET="_parent">Products</A>
<A HREF="introduction.htm" TARGET="_parent">Introduction</A>

products.htm contains like this:
<FRAMESET COLS="200,*">
<FRAME SRC="products_menu.htm" NAME="menu">
<FRAME SRC="products_main.htm" NAME="main">
</FRAMESET>

introduction.htm:
<FRAMESET COLS="200,*">
<FRAME SRC="introduction_menu.htm" NAME="menu">
<FRAME SRC="introduction_main.htm" NAME="main">
</FRAMESET>

Martin
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Expert Comment

by:faraj
ID: 1841070
It's very simple :
------------------
this is the simple javascript that do it :
<!--
// SetFrames JavaScript Meir Faraj
// e-mail : faraj@beitza.jct.ac.il

function SetFrames(Frame1,url1,Frame2,url2) {

      parent.frames[Frame1].location.href=url1;
      parent.frames[Frame2].location.href=url2;
}
//-->

If you don't understand how to use this or wanna more info : let me know...
0
 
LVL 1

Expert Comment

by:artlantis
ID: 1841071
Hi,
I would do it like Martinag way.(No java.Simple html)

Happy new year to all of you.
Andreas


0
 

Author Comment

by:freak022398
ID: 1841072
Sorry for rejecting your answer Faraj, but i wanted a way without using java script!

So Martinag, propose an answer!

Happy newyear all.
Martin.

0
 
LVL 4

Accepted Solution

by:
martinag earned 400 total points
ID: 1841073
Ok.

Happy New Year, Martin
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question