PDA

View Full Version : iFrame and return menu problem


SkyNarc
01-15-2006, 05:57 AM
Hi,

I need a solution to a problem I'm having please.
I've developed a site using and iFrame on the product page. Once you click on one of the products it opens a details page about that product.

The problem comes in when I am on that detail page and want to return to 'that' range pf products on the previous page. In other words when I am on the detail page and I click on one of the products on the menu bar to the left then the products page should open but open the right page in the iframe...not the default first product range.

Have a look at this to see what I mean.
http://www.nedoweb.com/clients/westcorp/products.htm

Select one of the wines from the Spruitdrift Range to go to the detail page of that wine and then try go back to the Spruitdrift Range again.

Thanks...

Pegasus
01-15-2006, 12:48 PM
I didn't have a problem doing that. I used the back button on my browser and it worked just fine.

I clicked on a bottle to see the specs on it and then returned to the original selection.

Is that what you're referring to?

Peg

SkyNarc
01-16-2006, 04:25 AM
Hi Peg...thanks for the reply.

What I meant actually is that if you click on one of the products (use the red box of Namaqua Export as an example) it will go the detail page of that product.

Then, when you click on Namaqua Export on that page to go back to the Namaqua Export range, it goes to products.htm page and loads the default goiyarange.htm page into the iframe, rather than the namaquarange.htm page. Does that make sense now?

I think I need a script of some sort to which will be passed into the URL address so that when it goes back to the products page it knows which page to load?

Thanks,
S

Pegasus
01-16-2006, 04:35 AM
Okay, that's a javascript problem. I think I can see where you're having troubles, but I'm not that familiar with js. I'll just move this thread over to the Client-side Scripting forum and someone like Jon Hanlon can take a look at it.

Peg

SkyNarc
01-16-2006, 08:43 AM
Thanks Peg

Jon Hanlon
01-17-2006, 05:56 PM
You're repeating this link:
<a href="../products.htm" target="_parent">

Mouseover the choices on the left and watch the link contents below in the status bar. You'll see different URL's depending on where you are.