473,796 Members | 2,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to concatening/pasting multiple web pages into one browser window with FRAMESET ???

I would like to load multiple web pages from Internet into ONE single browser
window - one below the other. How do I do that most easily ?

One idea is to built a frameset (for e.g 6 web pages) like:

<FRAMESET ROWS="*,*,*,*,* ,100%" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.firstdomain .com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1>
<FRAME SRC="http://www.secdomain.c om/welcome.html" NAME="second" MARGINWIDTH=1 SCROLLING=NO TITLE=2>
<FRAME SRC="http://www.thirddomain .com" NAME="third" MARGINWIDTH=1 SCROLLING=NO TITLE=3>
<FRAME SRC="http://www.fourthdomai n.com/intro.html" NAME="fourth" MARGINWIDTH=1 SCROLLING=NO TITLE=4>
<FRAME SRC="http://www.fifthdomain .com" NAME="fifth" MARGINWIDTH=1 SCROLLING=NO TITLE=5>
.....

The problem is that "*" in the frameset definition as a placeholder for
"use as much place as you need" does not work. How can I cope with that problem ?

Wladi

Jul 20 '05 #1
6 4020
rf

"Wladimir Borsov" <wl*******@gmx. net> wrote in message
news:bi******** *****@news.t-online.com...
I would like to load multiple web pages from Internet into ONE single browser window - one below the other. How do I do that most easily ?

One idea is to built a frameset (for e.g 6 web pages) like:

<FRAMESET ROWS="*,*,*,*,* ,100%" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.firstdomain .com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1> <FRAME SRC="http://www.secdomain.c om/welcome.html" NAME="second" MARGINWIDTH=1 SCROLLING=NO TITLE=2> <FRAME SRC="http://www.thirddomain .com" NAME="third" MARGINWIDTH=1 SCROLLING=NO TITLE=3> <FRAME SRC="http://www.fourthdomai n.com/intro.html" NAME="fourth" MARGINWIDTH=1 SCROLLING=NO TITLE=4> <FRAME SRC="http://www.fifthdomain .com" NAME="fifth" MARGINWIDTH=1 SCROLLING=NO TITLE=5> ....

The problem is that "*" in the frameset definition as a placeholder for
"use as much place as you need" does not work.
No it does not mean that. It means use the rest of the canvas.

<frameset rows="10,10,*". ..> means two frames at 10 pixels and a third that
uses the rest of the canvas.

<frameset rows="*,*,*"... > probably means one frame that uses the rest of
the canvas and then two that are 0 pixels high.
How can I cope with that problem ?


You can't. A frameset occupies the browsers canvas, no more.

BTW do you own all of those sites?

Cheers
Richard.
Jul 20 '05 #2
wl*******@gmx.n et (Wladimir Borsov) wrote:
I would like to load multiple web pages from Internet into ONE single browser
window - one below the other. How do I do that most easily ?
Get a server side script to fetch the 6 pages and combine them into a
singlepage.
One idea is to built a frameset (for e.g 6 web pages) like:
A bad idea. Apart from all the normal problems, frames by design
create multiple windows, but you seem to want one continuous windows.
Ergo you do not want frames at all.
<FRAMESET ROWS="*,*,*,*,* ,100%" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.firstdomain .com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1>
<FRAME SRC="http://www.secdomain.c om/welcome.html" NAME="second" MARGINWIDTH=1 SCROLLING=NO TITLE=2>
<FRAME SRC="http://www.thirddomain .com" NAME="third" MARGINWIDTH=1 SCROLLING=NO TITLE=3>
<FRAME SRC="http://www.fourthdomai n.com/intro.html" NAME="fourth" MARGINWIDTH=1 SCROLLING=NO TITLE=4>
<FRAME SRC="http://www.fifthdomain .com" NAME="fifth" MARGINWIDTH=1 SCROLLING=NO TITLE=5>
....

The problem is that "*" in the frameset definition as a placeholder for
"use as much place as you need" does not work.


It's not meant to work. * means 'use all the available space'. In this
case the available space is zero as the 100% leaves nothing left over.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #3
the "*" does not mean 'as much as you need'!
it means: 'how much can you TAKE?'

in you frameset you have defined the last row a height of 100% of the
screen. therefore leaving NO space for the other frames. try ths frameset:

<FRAMESET ROWS="16%,16%,1 6%,16%,16%,*" BORDER=0 FRAMEBORDER=0>

this will evenly devide the frames and showing all 6 sites. the 16% by this
formula:

a = 100 / b

where b is the number of frames.

regards,
wouter

"Wladimir Borsov" <wl*******@gmx. net> schreef in bericht
news:bi******** *****@news.t-online.com...
I would like to load multiple web pages from Internet into ONE single browser window - one below the other. How do I do that most easily ?

One idea is to built a frameset (for e.g 6 web pages) like:

<FRAMESET ROWS="*,*,*,*,* ,100%" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.firstdomain .com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1> <FRAME SRC="http://www.secdomain.c om/welcome.html" NAME="second" MARGINWIDTH=1 SCROLLING=NO TITLE=2> <FRAME SRC="http://www.thirddomain .com" NAME="third" MARGINWIDTH=1 SCROLLING=NO TITLE=3> <FRAME SRC="http://www.fourthdomai n.com/intro.html" NAME="fourth" MARGINWIDTH=1 SCROLLING=NO TITLE=4> <FRAME SRC="http://www.fifthdomain .com" NAME="fifth" MARGINWIDTH=1 SCROLLING=NO TITLE=5> ....

The problem is that "*" in the frameset definition as a placeholder for
"use as much place as you need" does not work. How can I cope with that problem ?
Wladi

Jul 20 '05 #4
Wladimir Borsov wrote:
I would like to load multiple web pages from Internet into ONE single browser
window - one below the other. How do I do that most easily ?

One idea is to built a frameset (for e.g 6 web pages) like:

<FRAMESET ROWS="*,*,*,*,* ,100%" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.firstdomain .com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1>
<FRAME SRC="http://www.secdomain.c om/welcome.html" NAME="second" MARGINWIDTH=1 SCROLLING=NO TITLE=2>
<FRAME SRC="http://www.thirddomain .com" NAME="third" MARGINWIDTH=1 SCROLLING=NO TITLE=3>
<FRAME SRC="http://www.fourthdomai n.com/intro.html" NAME="fourth" MARGINWIDTH=1 SCROLLING=NO TITLE=4>
<FRAME SRC="http://www.fifthdomain .com" NAME="fifth" MARGINWIDTH=1 SCROLLING=NO TITLE=5>
....

The problem is that "*" in the frameset definition as a placeholder for
"use as much place as you need" does not work. How can I cope with that problem ?

Wladi


First of all, it's not really a JavaScript question. Secondly, "*" doesn't mean "use as much place as you
need", it means "use whatever is left over". You should only use "*" once, all other frames should have
an assigned value:

<FRAMESET ROWS="16%,16%,1 6%,16%,16%,16%" BORDER=0 FRAMEBORDER=0>

If you are doing this dynamically, presumably at some point you know how many frames you'll be loading so
you could do something like:

<script type="text/javascript">

var numberOfFrames = 6;

var eachFramePercen t = Math.floor(100 / numberOfFrames) ;

var frameTag = '<FRAMESET ROWS="';

var rowsAttrib = new Array();
for (var i = 0; i < numberOfFrames; i++) {
rowsAttrib.push (eachFramePerce nt + '%');
}

frameTag += rowsAttrib.join (',');
frameTag += '" BORDER="0" FRAMEBORDER="0" >';
// build rest of frameTag here with each <FRAME>
frameTag += '</FRAMESET>';

document.write( frameTag);

</script>
--
| Grant Wagner <gw*****@agrico reunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
* http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
* http://msdn.microsoft.com/workshop/a...ence_entry.asp
* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #5
Grant Wagner <gw*****@agrico reunited.com> wrote:
Script question. Secondly, "*" doesn't mean "use as much place as you
need", it means "use whatever is left over". You should only use "*"
once, all other frames should have an assigned value:
No, "*" means use one portion of whatever is left over. Likewise, "2*"
means use two portions of whatever is left over. It is perfectly legitimate
to use more than one "*" in a COLS or ROWS attribute, for example:

<frameset rows="*,*,*,*,* ,*">

would divide the available space into 6 equally spaced rows.
<script type="text/javascript">
[snip]
</script>


This example would produce a blank page with no FRAMESET element for those
of us with JavaScript disabled/unsupported.
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"The only things we keep permanent are those we give away" - Waite Phillips
Jul 20 '05 #6
If you have ROWS="*,*,*,*,* ,100%" then the 100% frame will get all the
space, why not try
ROWS="*,*,*,*,* ,*"
"Wladimir Borsov" <wl*******@gmx. net> wrote in message
news:bi******** *****@news.t-online.com...
I would like to load multiple web pages from Internet into ONE single browser window - one below the other. How do I do that most easily ?

One idea is to built a frameset (for e.g 6 web pages) like:

<FRAMESET ROWS="*,*,*,*,* ,100%" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.firstdomain .com/index.html" NAME="first" MARGINWIDTH=1 SCROLLING=NO TITLE=1> <FRAME SRC="http://www.secdomain.c om/welcome.html" NAME="second" MARGINWIDTH=1 SCROLLING=NO TITLE=2> <FRAME SRC="http://www.thirddomain .com" NAME="third" MARGINWIDTH=1 SCROLLING=NO TITLE=3> <FRAME SRC="http://www.fourthdomai n.com/intro.html" NAME="fourth" MARGINWIDTH=1 SCROLLING=NO TITLE=4> <FRAME SRC="http://www.fifthdomain .com" NAME="fifth" MARGINWIDTH=1 SCROLLING=NO TITLE=5> ....

The problem is that "*" in the frameset definition as a placeholder for
"use as much place as you need" does not work. How can I cope with that problem ?
Wladi

Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2669
by: Edward King | last post by:
Hi! I am trying to achieve the following: I have a number of help pages (in the format help_nn.php where nn=helpid). I want to be able to open a particular help page by calling the function gethelp(nn) where nn is the helpid. The function is contained in a header file called funcs.inc that each page
10
2396
by: Simon Wigzell | last post by:
Is there any way to create and open a window in javascript so that links in other websites won't "steal" it? I've written a web page with a form for people to enter headlines and URLs from newspapers. They will want my window to stay there as they surf through various online newspapers. We don't want their popup links to take over my form window! This is a real problem - it renders my web page useless and wastes peoples time.
33
4080
by: randau | last post by:
Linking to a Targeted Browser Window I'd like to open reference links to other web sites in a separate browser window from the browser window hosting my own web site pages. The Link Target reserve word "_blank" opens a blank new browser window for every link, which can sometimes result in a lot of open browser windows. Is there no way to "reuse" a previously linked browser window and have it load the new web page in Foreground
5
1981
by: Martin | last post by:
I have some pages I'm serving out that are about twice the size of the browser window (IE only; intranet only). The user must use the horizontal and vertical scroll bars to move the page around. Is it possible to have a javascript that would allow the user to click and drag the page around (kind of like the new Google maps)? I already have a ton of scripting in these pages - a few more lines won't hurt anything. Maybe someone could...
10
11623
by: santiago538 | last post by:
Hi, Is there any way to specify which monitor a Window.open() will launch a new browser window in on systems with more than one display. It would only need to work with Mozilla browsers, and not IE. Thanks!
2
4219
by: David | last post by:
Hello, When the user starts my .aspx page and then opens a new browser window (i.e. through menu or Ctrl + N hotkey) I don't want both pages to share the same Session (HttpApplication.Session). I noticed that if both browser windows are started through the "Start" menu this Session sharing does not occur. In my application each page needs its own connection to a corba object
1
2555
by: Sam | last post by:
I have 2 jsp pages which are loaded from the same browser window. Inside these jsp pages, I have created 2 windows to write client side log. I have used different id for 2 windows as follow. In JSP1 page I create one window & second window is created in jsp2 page. Win1 = window.open('Log1', 'win1', config='right=0,top=60,toolbar=0,width=300,height=300,resizable=1,scrollbars=1,location=no,status=no ');
1
3478
by: dnes | last post by:
Open Multiple New Browser Windows from ASP.NET I'm having trouble figuring out how to open multiple new browser windows (each one displaying something different). As you can see from the code below, I have one ASP.NET page that has a foreach loop, and inside this foreach loop, I was to spawn a new browser window using the second ASP.NET page. This doesn't work. Only the last time through the foreach loop causes a new browser window...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10467
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10244
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7558
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5454
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.