Frame links

G

Guest

I am redesigning a website that is based on a frame structure:


_______
Header |
_______|
Content |
_______|
Bottom |
_______|

I want to include a link in the bottom frame that will take effect in the
content frame. I want a link to send the page that is being displayed in the
content frame, to the top of the page within the content frame. I hope you
understand what I mean.

I also would like a link that will print the contents of the content frame.

Is this possible?

Many thanks
Ashley Horsley
 
J

Jens Peter Karlsen[FP MVP]

See inline.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 9. oktober 2004 13:13
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Frame links


I am redesigning a website that is based on a frame structure:


_______
Header |
_______|
Content |
_______|
Bottom |
_______|

I want to include a link in the bottom frame that will take
effect in the content frame. I want a link to send the page
that is being displayed in the content frame, to the top of
the page within the content frame. I hope you understand what I mean.

Just set the target of the link to the Header frame.
I also would like a link that will print the contents of the
content frame.

Onclick="document.frames[1].print()"

Should do it.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
D

Don

Re: Frame links
I want to include a link in the bottom frame that will take
effect in the content frame. I want a link to send the page
that is being displayed in the content frame, to the top of
the page within the content frame. I hope you understand what I mean.

For this part I think what you need to use is "Bookmarks"

Create a bookmark at the top of the page and then at the bottom (of that
page) create a Hyperlink to the top Bookmark. This will take you back to
the top of "that page" (within the frame..)

If I misunderstood disregard...

Don
==========================
 
G

Guest

See in-line message:

Jens Peter Karlsen said:
See inline.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 9. oktober 2004 13:13
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Frame links


I am redesigning a website that is based on a frame structure:


_______
Header |
_______|
Content |
_______|
Bottom |
_______|

I want to include a link in the bottom frame that will take
effect in the content frame. I want a link to send the page
that is being displayed in the content frame, to the top of
the page within the content frame. I hope you understand what I mean.

Just set the target of the link to the Header frame.

*** This will not work as the page that the link is pressed in goes into
the header frame. The link that I want is in the fotter page. I need to to
send the page that is being displayed in the content frame to go back to the
top of the page (But remain inside the content frame.
I also would like a link that will print the contents of the
content frame.

Onclick="document.frames[1].print()"

*** How do I implement this? I have tried but an error comes up
 
J

Jens Peter Karlsen[FP MVP]

See inline.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 12:59
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


*** This will not work as the page that the link is pressed
in goes into the header frame. The link that I want is in the
fotter page. I need to to send the page that is being
displayed in the content frame to go back to the top of the
page (But remain inside the content frame.

OK. Create a bookmark at the top of the page and link to this.
Onclick="document.frames[1].print()"

*** How do I implement this? I have tried but an error comes up

You place it in a link or an image.
<a href="#" onclick="document.frames[1].print()">
<img src="printer.gif" onclick="document.frames[1].print()">

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
G

Guest

It complains the document.franes[1] is null or no object
Ashley

Jens Peter Karlsen said:
See inline.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 12:59
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


*** This will not work as the page that the link is pressed
in goes into the header frame. The link that I want is in the
fotter page. I need to to send the page that is being
displayed in the content frame to go back to the top of the
page (But remain inside the content frame.

OK. Create a bookmark at the top of the page and link to this.
Onclick="document.frames[1].print()"

*** How do I implement this? I have tried but an error comes up

You place it in a link or an image.
<a href="#" onclick="document.frames[1].print()">
<img src="printer.gif" onclick="document.frames[1].print()">

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage
 
J

Jens Peter Karlsen[FP MVP]

Should be document.frames[1]

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 14:11
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


It complains the document.franes[1] is null or no object Ashley

Jens Peter Karlsen said:
See inline.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 12:59
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


*** This will not work as the page that the link is pressed in
goes into the header frame. The link that I want is in the fotter
page. I need to to send the page that is being displayed in the
content frame to go back to the top of the page (But remain inside
the content frame.

OK. Create a bookmark at the top of the page and link to this.
Onclick="document.frames[1].print()"

*** How do I implement this? I have tried but an error comes up

You place it in a link or an image.
<a href="#" onclick="document.frames[1].print()">
<img src="printer.gif" onclick="document.frames[1].print()">

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage
 
G

Guest

That is what I meant. sorry about the typo. But how can I solve the problem

Jens Peter Karlsen said:
Should be document.frames[1]

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 14:11
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


It complains the document.franes[1] is null or no object Ashley

Jens Peter Karlsen said:
See inline.

-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 12:59
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


*** This will not work as the page that the link is pressed in
goes into the header frame. The link that I want is in the fotter
page. I need to to send the page that is being displayed in the
content frame to go back to the top of the page (But remain inside
the content frame.

OK. Create a bookmark at the top of the page and link to this.

Onclick="document.frames[1].print()"

*** How do I implement this? I have tried but an error comes up

You place it in a link or an image.
<a href="#" onclick="document.frames[1].print()">
<img src="printer.gif" onclick="document.frames[1].print()">

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage
 
G

Guest

Go to http://www.sirhenryfloyd.bucks.sch.uk/new design/ to see the page. It
does not work at the moment

Ashley

Ashley said:
That is what I meant. sorry about the typo. But how can I solve the problem

Jens Peter Karlsen said:
Should be document.frames[1]

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 14:11
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


It complains the document.franes[1] is null or no object Ashley

:

See inline.

-----Original Message-----
From: Ashley [mailto:[email protected]]
Posted At: 10. oktober 2004 12:59
Posted To: microsoft.public.frontpage.client
Conversation: Frame links
Subject: Re: Frame links


*** This will not work as the page that the link is pressed in
goes into the header frame. The link that I want is in the fotter
page. I need to to send the page that is being displayed in the
content frame to go back to the top of the page (But
remain inside
the content frame.

OK. Create a bookmark at the top of the page and link to this.

Onclick="document.frames[1].print()"

*** How do I implement this? I have tried but an error comes up

You place it in a link or an image.
<a href="#" onclick="document.frames[1].print()">
<img src="printer.gif" onclick="document.frames[1].print()">

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage
 
S

Stefan B Rusynko

Start by removing all spaces from all file names

--




| Go to http://www.sirhenryfloyd.bucks.sch.uk/new design/ to see the page. It
| does not work at the moment
|
| Ashley
|
| "Ashley" wrote:
|
| > That is what I meant. sorry about the typo. But how can I solve the problem
| >
| > "Jens Peter Karlsen[FP MVP]" wrote:
| >
| > > Should be document.frames[1]
| > >
| > > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| > >
| > > > -----Original Message-----
| > > > From: Ashley [mailto:[email protected]]
| > > > Posted At: 10. oktober 2004 14:11
| > > > Posted To: microsoft.public.frontpage.client
| > > > Conversation: Frame links
| > > > Subject: Re: Frame links
| > > >
| > > >
| > > > It complains the document.franes[1] is null or no object Ashley
| > > >
| > > > "Jens Peter Karlsen[FP MVP]" wrote:
| > > >
| > > > > See inline.
| > > > >
| > > > > > -----Original Message-----
| > > > > > From: Ashley [mailto:[email protected]]
| > > > > > Posted At: 10. oktober 2004 12:59
| > > > > > Posted To: microsoft.public.frontpage.client
| > > > > > Conversation: Frame links
| > > > > > Subject: Re: Frame links
| > > > > >
| > > > > >
| > > > > > *** This will not work as the page that the link is pressed in
| > > > > > goes into the header frame. The link that I want is in the fotter
| > > > > > page. I need to to send the page that is being displayed in the
| > > > > > content frame to go back to the top of the page (But
| > > > remain inside
| > > > > > the content frame.
| > > > >
| > > > > OK. Create a bookmark at the top of the page and link to this.
| > > > >
| > > > > > > Onclick="document.frames[1].print()"
| > > > > >
| > > > > > *** How do I implement this? I have tried but an error comes up
| > > > >
| > > > > You place it in a link or an image.
| > > > > <a href="#" onclick="document.frames[1].print()">
| > > > > <img src="printer.gif" onclick="document.frames[1].print()">
| > > > >
| > > > > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage
| > > >
| > >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top