Difference between revisions of "Close to URL"
(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";...) |
|||
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 09: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;