I have a function in a floatbox like this:
parent.fb.resize( {left: -360, width: true, height:true }, function () {
parent.location.reload( true );
}, 0.7 );
Ignore the fb.resize which is part of Floatbox. It's the callback function
parent.location.reload( true );
which I'm trying to improve upon. The function reloads the parent page from the server, and a PHP session variable controls the content of the parent page.
The problem I have is that the address bar only shows www.mywebsite.com/ so the user can't copy it as a link. Instead I would like it to show www.mywebsite.com/mypage.php?parameter=something. So I need the callback function to send the parameter with a GET, instead of relying on the seesion variable/ But, how?