I need to set a PayPal auto return page to a page within a frameset (mainFrame). Can anyone tell me how to include this in a URL. I seem to remember it being something like…
I know this method but I did't make myself clear. In Paypal you can set a return URL once a customer has made a purchase. You must enter the URL in a text field which doesn't give me the choice of a destination frame...only a URL (http://www.whatever.co.uk/success.htm). I want it to return the customer to the success page WITHIN the frameset.
Within the "some.htm" page, use 'onload="ReFrame();"' on the main frameset tag to set off the "ReFrame" function. Include a default "src" for the target frame just in case the user doesn't have Javascript. The function could look like this:
function ReFrame() {
Par=document.location.search.substring(1); // get the page name
Thanks again LiLcRaZyFuZzY but the frame is there because there is a music player in it. Frames is the only way to have the music playing without being interupted other than opening more browser windows or using popups.