how do i link from page to a specific page inside a frame page?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am trying to create a hyperlink from one page to a page that is inside the
frame of a frames page. any help would be appreciated.
 
Is the page you are trying to link from also inside the frameset, if so then you just need to
specific the frame target value (name of frame you want the link to open in).

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
i have a starting Index.htm page that is the first page visitors go to. then
from there they can link to any one of a number of pages but all those i have
set up to be inside a frame of a main page that has 3 frames... two frames
to always be the same so as to load pages faster that contain graphics and
all the main links. and then one page inside that changes every time that
contains our office info. i've been doing alot of reaserch and i might just
end up using inline frames and have the clients deal with the page taking
that extra few seconds to load every time and then people can aslo favorite
the precise page. still i would like to know if there is a way to do it with
the frames.
thanks.
 
one big reason why i want to use frames and just have the URL the same
thruought the whole navigation is that i want the body that keeps changing to
scroll and always see the two other frames that contain links and our company
banner etc.
we have a primary page that is a cool snappy page with a few links there too
and want all those to link over to the second page but have the body frame
change.

once again if i can figure out how to get inline frames to work so the body
scrolls inside that then i'll have it load....

um... couldn't i just have two index pages for every page? like this link
from page one takes me to page two and that has a frame with the body inside
and then i have another page with another body inside and so on... would
still take time to load up but then when i change the banner or add a page
with another link i won't hafta change 20 some odd pages
 
The easiest approach is to make index.htm your frameset, otherwise you will either have to create a
frameset for each page or use JavaScript to create dynamic frameset which will automatically load
link in the frameset.

Also keep in mind that by using a frameset you make it difficult for users to add specific pages to
their favorites, as well as search engines will index the pages outside of the frameset, etc.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
I use one frameset with three frames inside it.

index.html is like this
<frameset rows="75,*">

<noframes>
To view this document, you need a frames-compatible browser
such as Netscape 2.0 and above.
</noframes>

<frame src="heading.html" name="heading" scrolling="no"
noresize="noresize">

<frameset cols="132,*">
<frame src="sidebar.html" name="sidebar" scrolling="no"
noresize="noresize" target="index_main">
<frame src="index_main.html" name="index_main" scrolling="yes"
noresize="noresize" target="_top">
</frameset>

</frameset>

When you want to link to a frame you use the name , e.g. "heading" "sidebar"
"index_main"
For example, in sidebar I have a link <a href="about.html"
target="index_main">.
about.html then opens in the frame named "index_main"
 
ok i guess i'm not explaining myself well
i know how to link within a frameset and all that...
what i want to link is this... from any page anywhere... have a hyperlink
to take me to a frameset page and open up any given page inside one of the
frames... i have 3 frames set up... two of those frames are planed to always
look the same as a banner and side bar... the third frame is to have data
that scrolls inside. several different pages are linked from the banner to
open inside the body. i want to hyperlink from anywhere in the outside web
to this body but a different body for each outside hyperlink... a hyperlink
that first opens the frameset page and then opens up any given page inside
the body frame... i hope this was a little more clear.
 
You will have create that frameset dynamically using JavaScript. Do a search JavaScript Dynamic
Frameset scripts. A better option that your users would appreciate is to design your web site to not
use frames.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
this is a site for an architectural firm...
i have viewed many other architecture firms websites and they are even layed
out worse. they may look cool and all with rollovers that cause things to
move and stuff but you can't even hit the back arrow at all and the
favoriting doesn't actually favorite a specific page... the point here is to
help viewers to navigate and this solves just that. and my boss wants the
first screen because of our logo and all that.
i will try java script now for the link and hope i get something. thanks
 
one last thing that i must ask,
say i were to design this slightly different.
i was wondering ... if i use inline frames to hold the banner and sidebar so
that each new data page is it's own... the body.... can i get it to scroll
and keep the inline frames frozen in place so i can always see them and watch
the body scroll... the body not being a frame or inline frame at all... can i
get (i guess tables or something) to scroll independant of other items.
thanks,
 
Frames do not make it is easy for folks to add pages to their favorites (or help improve the
navigate) and search engines will index pages outside of the frameset.

You can still use a splash page and not have to use frames.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
No, the page would be static, but the IFrame would allow for content to scroll. However this is just
as bad as using frameset, and a IFrame can only be dynamically generate via server-side scripting.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
If you insist on using frames (which will not let users bookmark pages in the framesets and are not SE friendly) you will need to
build all your pages in Dynamic Framesets
- see http://javascript.internet.com/navigation/dynamic-frameset.html

IMHO
- serve your users better by dropping the frames and if certain "content" must be visible on all pages consider using DHTML and CSS
- you'll find lots of options at http://www.dynamicdrive.com/dynamicindex1/

--




| this is a site for an architectural firm...
| i have viewed many other architecture firms websites and they are even layed
| out worse. they may look cool and all with rollovers that cause things to
| move and stuff but you can't even hit the back arrow at all and the
| favoriting doesn't actually favorite a specific page... the point here is to
| help viewers to navigate and this solves just that. and my boss wants the
| first screen because of our logo and all that.
| i will try java script now for the link and hope i get something. thanks
|
| "Thomas A. Rowe" wrote:
|
| > You will have create that frameset dynamically using JavaScript. Do a search JavaScript Dynamic
| > Frameset scripts. A better option that your users would appreciate is to design your web site to not
| > use frames.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > > ok i guess i'm not explaining myself well
| > > i know how to link within a frameset and all that...
| > > what i want to link is this... from any page anywhere... have a hyperlink
| > > to take me to a frameset page and open up any given page inside one of the
| > > frames... i have 3 frames set up... two of those frames are planed to always
| > > look the same as a banner and side bar... the third frame is to have data
| > > that scrolls inside. several different pages are linked from the banner to
| > > open inside the body. i want to hyperlink from anywhere in the outside web
| > > to this body but a different body for each outside hyperlink... a hyperlink
| > > that first opens the frameset page and then opens up any given page inside
| > > the body frame... i hope this was a little more clear.
| > >
| > > "Trevor L." wrote:
| > >
| > >> I use one frameset with three frames inside it.
| > >>
| > >> index.html is like this
| > >> <frameset rows="75,*">
| > >>
| > >> <noframes>
| > >> To view this document, you need a frames-compatible browser
| > >> such as Netscape 2.0 and above.
| > >> </noframes>
| > >>
| > >> <frame src="heading.html" name="heading" scrolling="no"
| > >> noresize="noresize">
| > >>
| > >> <frameset cols="132,*">
| > >> <frame src="sidebar.html" name="sidebar" scrolling="no"
| > >> noresize="noresize" target="index_main">
| > >> <frame src="index_main.html" name="index_main" scrolling="yes"
| > >> noresize="noresize" target="_top">
| > >> </frameset>
| > >>
| > >> </frameset>
| > >>
| > >> When you want to link to a frame you use the name , e.g. "heading" "sidebar"
| > >> "index_main"
| > >> For example, in sidebar I have a link <a href="about.html"
| > >> target="index_main">.
| > >> about.html then opens in the frame named "index_main"
| > >> --
| > >> Cheers,
| > >> Trevor L., WIP (Web Interested Person)
| > >> Website: http://tandcl.homemail.com.au
| > >>
| > >> Sothpaw wrote:
| > >> > one big reason why i want to use frames and just have the URL the same
| > >> > thruought the whole navigation is that i want the body that keeps
| > >> > changing to scroll and always see the two other frames that contain
| > >> > links and our company banner etc.
| > >> > we have a primary page that is a cool snappy page with a few links
| > >> > there too and want all those to link over to the second page but have
| > >> > the body frame change.
| > >> >
| > >> > once again if i can figure out how to get inline frames to work so
| > >> > the body scrolls inside that then i'll have it load....
| > >> >
| > >> > um... couldn't i just have two index pages for every page? like
| > >> > this link from page one takes me to page two and that has a frame
| > >> > with the body inside and then i have another page with another body
| > >> > inside and so on... would still take time to load up but then when i
| > >> > change the banner or add a page with another link i won't hafta
| > >> > change 20 some odd pages
| > >> >
| > >> > "Thomas A. Rowe" wrote:
| > >> >
| > >> >> Is the page you are trying to link from also inside the frameset, if
| > >> >> so then you just need to specific the frame target value (name of
| > >> >> frame you want the link to open in).
| > >> >>
| > >> >> --
| > >> >> ==============================================
| > >> >> Thomas A. Rowe (Microsoft MVP - FrontPage)
| > >> >> ==============================================
| > >> >> If you feel your current issue is a results of installing
| > >> >> a Service Pack or security update, please contact
| > >> >> Microsoft Product Support Services:
| > >> >> http://support.microsoft.com
| > >> >> If the problem can be shown to have been caused by a
| > >> >> security update, then there is usually no charge for the call.
| > >> >> ==============================================
| > >> >>
| > >> >> | > >> >>> i am trying to create a hyperlink from one page to a page that is
| > >> >>> inside the frame of a frames page. any help would be appreciated.
| > >>
| > >>
| > >>
| >
| >
| >
 
Back
Top