Markup: Link to a Frame based site

started by Kisan on May 28, 2004 — RSS Feed

Kisan Kisan
Posts: 2

How do I link to a particular page of a site using Frames?

Is this possible?

Thanks in advance.

Kisan Bhat
Bangalore

Terakris Terakris
Posts: 23

I take it you want to keep the frameset? Unless the site has a index page for each area, then i dont think you can (happy to be proven wrong). if its your site, you could always add some javascript to the pages that you want to point at that say if they are not in the frameset then load it (quite simple to do).

Can you post the site link here so we can take a look?

Stan Stan
Posts: 44

AKAIK, you can't do it. That's just another reason to avoid frames. When I took over my site, it was frame-based. There were lots of times i wanted to send people to a particular page, but couldn't. I just had to give them the site's URL and tell them which link to click. It was embarrassing.

Mountie Mountie
Posts: 11

terakris said:
I take it you want to keep the frameset? Unless the site has a index page for each area, then i dont think you can (happy to be proven wrong). if its your site, you could always add some javascript to the pages that you want to point at that say if they are not in the frameset then load it (quite simple to do).


Check out quirksmode (http://www.quirksmode.org) for more info on this, specifically his frames code (http://www.quirksmode.org/js/framecustom.html and http://www.quirksmode.org/index.html?/js/framecustom.html).

Kisan Kisan
Posts: 2

Sorry for late reply. I was waiting for a mail notification, but later realised that I did not checked notify of replies.

Thanks for the replies.

Kris, both sites are my client's and is hosted on my sever. Can you suggest the JS?

The URL is http://www.e-ramsons.com/trading.html

Scroll down and the link is http://www.ramsons.co.jp

I want to go to dcube.html on ramsons.co.jp
in the frameset.

I will check and see the links provided by mountie.

Thanks.

Terakris Terakris
Posts: 23

Good example here: chapter 4,

http://www.chalcedony.com/javascript3e/scripts/index.html

(actually this page does what you want as im linking to a page that is not in a frameset and it should be! )  

Hope that helps.

Kaybee Kaybee
Posts: 1

Thanks a ton Kris. I am on my way to check out the source code of the link provided by you.

Maskodok Eko Maskodok Eko
Posts: 170

TOP SEO | Jasa SEO Profesional

TOP SEO | Jasa SEO Profesional RajaPoker88.com Agen Texas Poker Dan Domino Online Indonesia Terpercaya IDRPoker.COM Agen Texas Poker dan Domino Online Indonesia Terpercaya POKERSTAR88.com Agen Texas Poker Dan Domino Online Indonesia Terpercaya D

You must login to reply