This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2004 > How do I link to a frame on an external site?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I link to a frame on an external site?
gatkins

2004-03-11, 12:34 pm

Ok, this should be really easy to do however I can't find the solution.

I have to link to a site that uses frames (I know, I know)...however I want
the link to go to a certain page on the site so the user won't have to navigate
to it. I have tried linking directly to the frame's content however it doesn't
work as the browser gives error messages (besides, I want the top frame, which
is navigation, to show).

Example URL to a 2-frame site.
http://nameofcompany/english/index.asp
(In checking the source code of the site I see the 2nd frame's name is
'content')

I want the link I am creating to load the top frame (navigation) and then have
the second frame (content) load a specific page within the site.

the 'content' frames information shows the following URL if I right click the
page:

http://nameofcompany/english/stream...dule5/index.asp

Thanks for your help!




darrel

2004-03-11, 12:34 pm

> I have to link to a site that uses frames (I know, I know)...however I
want
> the link to go to a certain page on the site so the user won't have to

navigate
> to it. I have tried linking directly to the frame's content however it

doesn't
> work as the browser gives error messages (besides, I want the top frame,

which
> is navigation, to show).


This is one of the many problems with frames. You can either link to the
frameset, or a specific HTML page. You can't link to the frameset and have
it load a specific page in the frameset unless the site in question is using
something like javascript to maintain links.

Alternatively, you could just create your own frameset on your site and load
whatever pages you want from that other site into your frameset.

-Darrel


David Powers

2004-03-11, 12:34 pm

"gatkins" wrote...
> Ok, this should be really easy to do however I can't find the solution.
>
> I have to link to a site that uses frames (I know, I know)...however I

want
> the link to go to a certain page on the site so the user won't have to

navigate
> to it. I have tried linking directly to the frame's content however it

doesn't
> work as the browser gives error messages (besides, I want the top frame,

which
> is navigation, to show).


I don't think there is a solution that can be implemented your end. That's
one of the main complaints with frames - they can't be bookmarked.

If you have a good relationship with the other site, you could get them to
create a special entry frame for you. Alternatively, get them to put a
JavaScript framejammer onto their pages. That will load the page and then
jam it into its correct frame.

--
David Powers
*******************************************
Co-author, "Foundation Dreamweaver MX 2004" (friends of ED)
http://computerbookshelf.com/foundationdw.php


Thierry Koblentz

2004-03-11, 12:35 pm

Do you open these links in the top window or are you trying to frame them
yourself?
If it is the former, you should suggest (as David said) the site owner to
use a client-side or server-side script to make sure his/her pages do not
open naked. That way, you can link to the child frame directly.
If it is the latter, that won't help you because the frameset will open in
the top window and will break your own frameset.

HTH,
Thierry

gatkins wrote:
> Ok, this should be really easy to do however I can't find the
> solution.
>
> I have to link to a site that uses frames (I know, I know)...however
> I want the link to go to a certain page on the site so the user won't
> have to navigate to it. I have tried linking directly to the frame's
> content however it doesn't work as the browser gives error messages
> (besides, I want the top frame, which is navigation, to show).
>
> Example URL to a 2-frame site.
> http://nameofcompany/english/index.asp
> (In checking the source code of the site I see the 2nd frame's name
> is 'content')



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews