Closed Thread Icon

Topic awaiting preservation: inline pages Pages that link to <a href="https://ozoneasylum.com/backlink?for=8804" title="Pages that link to Topic awaiting preservation: inline pages" rel="nofollow" >Topic awaiting preservation: inline pages\

 
Author Thread
happymec
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2003

posted posted 08-10-2003 10:49

Hi-
I have 2 pages. page 1 has 9 links and page2 has an inline frame which shows the pages that coorrspond to the 9 links. So if i choose link 2 on page1 i want to goto page2 and have the page in the inline frame correspond to link2 on the previous page

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 08-10-2003 17:16

Ok, several things -

1) Why are there two pages? Why isn't the iframe in page1?

2) This should probably be in the HTML forum. No biggee though...

3) What you need to do first is make sure your iframe has a name -

<iframe name="iframe_name">

Then in your links, add a target="iframe_name"

<a href="yourpage.html" target="iframe_name">

Again, the iframe should be part of page1, not on a seperate page.



happymec
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2003

posted posted 08-10-2003 20:18

The reason i have two pages is because the first page is the intro page to my product catalog. Once you go to the 2nd page, theres no point to return.
However, is there a way to change the source of an inline frame from a link from another page

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 08-10-2003 21:44

Personally, I would forget all about iframes period.

I have very rarely seen any real use for them at all.

However, if you are going to use them, it would make the most sense to simply have the content of page1 (minus the links) in the iframe. When you click a link, you simply load the page into the existing iframe.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-10-2003 23:34

Oh, I think what he's saying is, page 1 links to page 2, and then page 2 must load the correct page in its iframe.

This can only really be done with links like:

page2.html?load=something.html

and page2.html can use the location.search property to get "something.html", and then load that in the iframe.

But I'm with DL here that you should avoid the usage of the iframe if at all possible.

« BackwardsOnwards »

Show Forum Drop Down Menu