Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Close to URL: Difference between revisions

From Catglobe Wiki
New page: -Chalenge You want the respondent to be automatically redirected to a URL when he clicks on the Close button -Code function closeToURL() { document.location = "http://www.catglobe.com";...
 
No edit summary
Line 1: Line 1:
-Chalenge
-Chalenge
  You want the respondent to be automatically redirected to a URL when he clicks on the Close button
  You want the respondent to be automatically redirected to a URL when he clicks on the Close button
 
<br>
-Code
-Code<br>
function closeToURL()
function closeToURL()<br>
{
{
document.location = "http://www.catglobe.com";
document.location = "http://www.catglobe.com";<br>
}
}<br>
 
quest.close = closeToURL;
quest.close = closeToURL;

Revision as of 08:30, 2 March 2009

-Chalenge

You want the respondent to be automatically redirected to a URL when he clicks on the Close button


-Code
function closeToURL()
{ document.location = "http://www.catglobe.com";
}
quest.close = closeToURL;