pagetta
06-28-2005, 07:32 AM
Ok - here goes.....
The site I am building is for a Business SMS (www.m-science.com) company and we have 3 main products. The commercial part of the site is NOT in frames and has basically the same design as our sister site (www.codestone.net). On this, you can review the 3 products, which each have a separate html page. At the bottom of each is a 'sign up' button.
When you click this button, you are navigating to a part of the site that is on a different server, and is for all the active content, which I do not control I just style.This content is in frames - the upper frame will be the designy bit, and the lower frame the active bit - (eg sign up, log in, view your messages etc).
Depending on which product page you come from this bottom frame needs to be the correct sign up/sign in page. So how do I navigate from NO frames to frames, and have the lower frame dependant on where the user has just come from?
is there anyway you can use some sort of link like this?
<a href="signup-for-product-1.html"
onClick="window.self.location='frames/index.html'" target="topFrame">
Zombies</a>
obviously this doesn't actually work, as the two frames are loading in different windows. But can I use this method of just making the link load both frames, and if so what script do I need to make it work? Or do I need some more complex javascript in the frameset head and if so what?!
I am a beginner at javascript so in simple terms please!
The site I am building is for a Business SMS (www.m-science.com) company and we have 3 main products. The commercial part of the site is NOT in frames and has basically the same design as our sister site (www.codestone.net). On this, you can review the 3 products, which each have a separate html page. At the bottom of each is a 'sign up' button.
When you click this button, you are navigating to a part of the site that is on a different server, and is for all the active content, which I do not control I just style.This content is in frames - the upper frame will be the designy bit, and the lower frame the active bit - (eg sign up, log in, view your messages etc).
Depending on which product page you come from this bottom frame needs to be the correct sign up/sign in page. So how do I navigate from NO frames to frames, and have the lower frame dependant on where the user has just come from?
is there anyway you can use some sort of link like this?
<a href="signup-for-product-1.html"
onClick="window.self.location='frames/index.html'" target="topFrame">
Zombies</a>
obviously this doesn't actually work, as the two frames are loading in different windows. But can I use this method of just making the link load both frames, and if so what script do I need to make it work? Or do I need some more complex javascript in the frameset head and if so what?!
I am a beginner at javascript so in simple terms please!