I don't think it's the same ... I'm trying to bring up just a portion of the complete shopping cart ... one item that will allow the user to choose the style/color of that item and order it. I can see where the javascript would allow the link to load an image, but will it load an iframe inside of a second html page?
I may be overanalyzing this as I tend to do, but since my shopping cart is at /store.htm wouldn't I need to create another page for BathBombs, for example?
OR, would I just alter my store.htm page and I could then direct any link on the main page to open a specific product or group within the store in an iframe?
SO ... I have 3 links on the main page.
Link 1 opens the entire store in an iframe (which I do now)
Link 2 opens just product 1 from the store in an iframe
Link 3 opens just product 2 from the store in an iframe
(and this is the part I am struggling with to understand ... link 2 and 3 would have to be similar to the store.htm page with just a different portion of data within the iframe).
Because I want the link on the main page, in order to use this Javascript, I would have to have the main page also be switched in and out via Java would I not? Else, the code:
<iframe name="iframeswitch" src="pagea.html" width="300" height="200" scrolling="no" frameborder="0">
<p>Your browser does not support iframes.</p>
</iframe>
would have to be on the store.htm page, which I would need to get to before I did the link (I think?)
-- me