robrichardson
Programmer
Hi there.
I need to be able to provide a link to customers which when they follow the link will take them to a webpage with three frames. These three frames are often never the same so somehow I need to put in the URL the names/links of each page to be loaded into the frames.
Do I need to set up a dummy page which has variables passed with it (eventually the link which is given to the customer) ie.
Then somewhere in this page run a script which sets the frames up with the passed variables ie.
function setFrames(Page1,Page2,Page3){
Request.getParameter("P1" //not sure how to get the values from the URL
document.location.href=P1;
parent.leftFrame.document.location.href=P2;
parent.topFrame.document.location.href=P3;
I've tried all sorts of things but still no solution, any help?
I need to be able to provide a link to customers which when they follow the link will take them to a webpage with three frames. These three frames are often never the same so somehow I need to put in the URL the names/links of each page to be loaded into the frames.
Do I need to set up a dummy page which has variables passed with it (eventually the link which is given to the customer) ie.
Then somewhere in this page run a script which sets the frames up with the passed variables ie.
function setFrames(Page1,Page2,Page3){
Request.getParameter("P1" //not sure how to get the values from the URL
document.location.href=P1;
parent.leftFrame.document.location.href=P2;
parent.topFrame.document.location.href=P3;
I've tried all sorts of things but still no solution, any help?