 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
mroyal02
Joined: 20 Aug 2005 Posts: 3 Location: SD, USA
|
Posted: Sat Aug 20, 2005 6:51 am Changing two frames, on separate pages, one link? |
|
|
|
Hello...
I am trying to get something to work, and not sure if it is possible. I have my main page setup with an IFrame, and a second page set with an IFrame. On my main page, I have several different links, all of which brings the second page into the first IFrame. The second page contains the same links, but opens it in it's own IFrame.
1st page Iframe is 'mainframe'
2nd page Iframe is 'periframe'
What I am wanting to do, is when I click a link from the main page, I want it to bring the second page into 'mainframe' but also want the link to bring in the page consistant of the link in the 'periframe' on the second page.
Example...
I have the links:
Coke | Pepsi | Dew | Dr. Pepper
Those, being on the index page as well as the secondary page.
When I click on Coke, I want the secondary page to open in 'mainframe', and then the infomation page on Coke to open in 'periframe', all in one click. Same for Pepsi, Dew, Dr. P...
Each flavor has it's own page which will open in 'periframe', but how do I get the page for each flavor to open itself in 'periframe' when I click the link on the index to open the secondary page in 'mainframe'?
Thank you for your help, and I hope that I have explained this well enough that you have a good idea of what I am trying to do. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8426 Location: Castle Pines North, CO USA
|
|
mroyal02
Joined: 20 Aug 2005 Posts: 3 Location: SD, USA
|
Posted: Sat Aug 20, 2005 4:06 pm |
|
|
|
The problem with that script is I have 8 different pages which I want to open in my second iframe, pending which of the links are clicked...
Not to mention, my frames are not on the same page. And from overlooking that script, it is meant to change two frames in the same frameset. Where as I have two iframes, on two completely separate pages. I'm beginning to think it's not possible, but I think that there is a way to have the second page open, with a single page in the iframe which includes all information, and just set anchors within that page and have the first page of links, go to a certain anchor, depending on which link is clicked...
Thanks again... |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8426 Location: Castle Pines North, CO USA
|
Posted: Sat Aug 20, 2005 4:32 pm |
|
|
|
| Do you have an URL and a specific example? |
|
mroyal02
Joined: 20 Aug 2005 Posts: 3 Location: SD, USA
|
Posted: Sat Aug 20, 2005 7:22 pm |
|
|
|
I have not put the site up yet, but...
but what I want is when someone clicks on Products, and go to the products page... and scrolls down to CD/DVD drives, and click on that link. It will bring up the secondary page with another Iframe within the page... When clicking on any links from the products page, I want the peripherals page to open with information regarding whichever link they clicked on in the iframe on that particular page. It has 8 different links for several peripherals, hard drives, memory, cd/dvd drives, etc... |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8426 Location: Castle Pines North, CO USA
|
Posted: Sat Aug 20, 2005 7:42 pm |
|
|
|
| It sounds like you need to first target _top and create the appropriate frames. But using frames is not a good idea, just for SE purposes as well as compatibility |
|
kanand
Joined: 23 Sep 2005 Posts: 1
|
Posted: Fri Sep 23, 2005 9:17 am |
|
|
|
i have already visited the links "Changing Two Frames With One Click" or "2-Page Links", but it displays as Page cannot be displayed.
I'm facing the same problem, so i request to please post the coding here itself.
Thanks in advance |
|
RottNKorpse
Joined: 03 Oct 2005 Posts: 1
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|