473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Frame problem

Hi,
I have a problem with my webpage. It uses two frames, the left one for the
contents list and the right one for the body content.
Now, when I look up a page in for example google, then it's always choosing
the body (right frame) and this way people only get the requested page in
question without the left frame. I like to find a way that if such a page is
requested, it's always requesting the left frame too.
do I need to use some Javascript or something for this? I'd like
to try this without a server-side scripting language.

to see what I mean: when I try to find a page in google about I get for
example this page as a result:
http://metafysica.nl/crystal.html
But I need it to have it in the right frame like this http://metafysica.nl

Jurgen

Jul 20 '05 #1
11 1705
Blurg wrote:
<snip>

<http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
<news:JJ*********************@amsnews03.chello.com >

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #2
Hope this helps

<body ONLOAD="InFrame()">

<SCRIPT LANGUAGE="JavaScript">

<!--
// Reloader MK3
// name of page or site to be called if relocate is required
var mainsite = "http://www.yoursite.com/index.htm";
// setup messages
var msgQ = "The page you are viewing is part of a frames-based
site.\nClick OK to load the missing navigation frames.\n\n If you click
CANCEL you can access this box again by reloading this page.";
// called from onload
function InFrame() {
if (parent.frames.length ==0) {
// We loaded outside of our frameset, probably from a search engine
// wait 3 secs before asking
setTimeout("InFrameQ()",3000);
}
}

function InFrameQ() {
if (confirm(msgQ)) {
// load the main site
location.replace(mainsite);
}
}//-->

</SCRIPT>
David Dorward <do*****@yahoo.com> wrote in message
news:bl*******************@news.demon.co.uk...
Blurg wrote:
<snip>

<http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
<news:JJ*********************@amsnews03.chello.com >

--
David Dorward http://dorward.me.uk/

Jul 20 '05 #3
Tricia wrote:
Hope this helps
Maybe you should read http://www.allmyfaqs.com/faq.pl?How_to_post
<body ONLOAD="InFrame()">
<snip JavaScript>

What does that Javascript have to do with multiposting?[1]
David Dorward <do*****@yahoo.com> wrote
Blurg wrote:
<snip> <http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
<news:JJ*********************@amsnews03.chello.com >


[1] Tip: Make sure that the message your headers claim you are replying to
is the message you are actually replaying to.

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #4
What's your problem old man ?
David Dorward <do*****@yahoo.com> wrote in message
news:bl*******************@news.demon.co.uk...
Tricia wrote:
Hope this helps


Maybe you should read http://www.allmyfaqs.com/faq.pl?How_to_post
<body ONLOAD="InFrame()">


<snip JavaScript>

What does that Javascript have to do with multiposting?[1]
David Dorward <do*****@yahoo.com> wrote
Blurg wrote:
<snip> <http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
<news:JJ*********************@amsnews03.chello.com >


[1] Tip: Make sure that the message your headers claim you are replying to
is the message you are actually replaying to.

--
David Dorward http://dorward.me.uk/

Jul 20 '05 #5
Tricia wrote:
What's your problem old man ?
I thought I outlined it pretty well below. I note you are still top posting,
please stop.
David Dorward <do*****@yahoo.com> wrote in message
news:bl*******************@news.demon.co.uk...
Tricia wrote:
> Hope this helps


Maybe you should read http://www.allmyfaqs.com/faq.pl?How_to_post
> <body ONLOAD="InFrame()">


<snip JavaScript>

What does that Javascript have to do with multiposting?[1]
> David Dorward <do*****@yahoo.com> wrote
>> Blurg wrote:
>> <snip>

>> <http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
>> <news:JJ*********************@amsnews03.chello.com >


[1] Tip: Make sure that the message your headers claim you are replying
[to
is the message you are actually replaying to.

--
David Dorward http://dorward.me.uk/


--
David Dorward http://dorward.me.uk/
Jul 20 '05 #6
Why ?

David Dorward <do*****@yahoo.com> wrote in message
news:bl*******************@news.demon.co.uk...
Tricia wrote:
What's your problem old man ?
I thought I outlined it pretty well below. I note you are still top

posting, please stop.
David Dorward <do*****@yahoo.com> wrote in message
news:bl*******************@news.demon.co.uk...
Tricia wrote:

> Hope this helps

Maybe you should read http://www.allmyfaqs.com/faq.pl?How_to_post

> <body ONLOAD="InFrame()">

<snip JavaScript>

What does that Javascript have to do with multiposting?[1]

> David Dorward <do*****@yahoo.com> wrote
>> Blurg wrote:
>> <snip>

>> <http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
>> <news:JJ*********************@amsnews03.chello.com >

[1] Tip: Make sure that the message your headers claim you are replying
[to
is the message you are actually replaying to.

--
David Dorward
http://dorward.me.uk/
--
David Dorward http://dorward.me.uk/

Jul 20 '05 #7
Tricia wrote:
Why ?
For the reasons outlined below. (which you've now quoted twice)
David Dorward <do*****@yahoo.com> wrote in message
news:bl*******************@news.demon.co.uk...
Tricia wrote:
> What's your problem old man ?


I thought I outlined it pretty well below. I note you are still top

posting,
please stop.
> David Dorward <do*****@yahoo.com> wrote in message
> news:bl*******************@news.demon.co.uk...
>> Tricia wrote:
>>
>> > Hope this helps
>>
>> Maybe you should read http://www.allmyfaqs.com/faq.pl?How_to_post
>>
>> > <body ONLOAD="InFrame()">
>>
>> <snip JavaScript>
>>
>> What does that Javascript have to do with multiposting?[1]
>>
>> > David Dorward <do*****@yahoo.com> wrote
>> >> Blurg wrote:
>> >> <snip>
>>
>> >> <http://www.cs.tut.fi/~jkorpela/usenet/xpost.html>
>> >> <news:JJ*********************@amsnews03.chello.com >
>>
>> [1] Tip: Make sure that the message your headers claim you are
>> [replying to
>> is the message you are actually replaying to.
>>
>> --
>> David Dorward

http://dorward.me.uk/

--
David Dorward http://dorward.me.uk/


--
David Dorward http://dorward.me.uk/
Jul 20 '05 #8
Do you find it upsetting when you don't get your own way then ?
Do thing like posting upside down upsetting ?

If so I would get out more if I was you!

David Dorward <do*****@yahoo.com> wrote in message
news:bm*******************@news.demon.co.uk...
Tricia wrote:
Why ?


For the reasons outlined below. (which you've now quoted twice)

Jul 20 '05 #9
Tricia wrote:
Do thing like posting upside down upsetting ?


How I feel about top posting is described quite well at the URLs I've
suggested you read several times.
--
David Dorward http://dorward.me.uk/
Jul 20 '05 #10
As I said you need to get out more.
Tis time to go home chat more soon.
Byeeeeeee
T




































..
David Dorward <do*****@yahoo.com> wrote in message
news:bm*******************@news.demon.co.uk...
Tricia wrote:
Do thing like posting upside down upsetting ?


How I feel about top posting is described quite well at the URLs I've
suggested you read several times.
--
David Dorward http://dorward.me.uk/

Jul 20 '05 #11
"Tricia" <sa*******@hotmail.com> writes:
As I said you need to get out more.


Personal attacks are counter productive, and only reflect badly on
yourself.

David Dorward is not alone in preferring interleaved replies, and
definitly not alone in not wanting untrimmed quotes. Following his
suggestions will make it more likely that people will repsond
favorably to what you say.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #12

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

Similar topics

4
by: Kathryn | last post by:
I hope you can help as this is driving me crazy! I have an asp which has 3 frames on it as follows: <FRAMESET rows="50%,*,10%"> <FRAME src="rundetailstop.asp" name="rundetailstop"...
1
by: David M. Karr | last post by:
I've been asked to help debug a complex problem involving inter-frame references, so I just want to understand the elements involved with this. Apparently, there is a page with multiple frames,...
3
by: netgroover | last post by:
I am currently designing a webpage, and the left fram has a is a 6-cell table that is being used as a navigation tool. The table currently uses Javascript to visually keep track of the current choice...
3
by: Dai Ba Wong | last post by:
Hi: Currently I am having a problem with my webpage. My page consist of two frames, one consist of input text field and the other contains link for different pop-up windows. The problem...
4
by: anonymous | last post by:
Thanks your reply. The article I read is from www.hakin9.org/en/attachments/stackoverflow_en.pdf. And you're right. I don't know it very clearly. And that's why I want to understand it; for it's...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
5
by: Martin Chen | last post by:
I have a frame set (as per MS FrontPage 2000). It has a contents and a main frame. The contents frame has a menu bar written with with javascript (in the context of a table). In IE6.1 everything...
42
by: smerf | last post by:
Using javascript, is there a way to trap an external page inside a frame? I've seen scripts to break out of frames, but nothing to keep a page trapped in a frame.
2
by: mrjoka | last post by:
hi experts, i'm developing a page in ASP but i'm doing also some javascript insode the page. i'm creating a frame and i want to loop this frame with a duplicateloop function so the form will be...
1
by: Garg | last post by:
Hi, I am facing a problem while trying to close a window that I've opened in a frame. I am using javascript to close my current popup window. I have written the following line of code on click...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.