User Tools

Site Tools


redirecting_users

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
redirecting_users [2020/09/11 11:33] lucyredirecting_users [2020/09/11 11:38] – [Redirect a user in a file based scenario to an awareness page (eLearning)] lucy
Line 71: Line 71:
     </script>     </script>
     </head>     </head>
 +
 +if you like to use a **'static link' to an external site** at the download button you may use this script, you can use this also for a distinct **link for each language**!
 +
 +    <script type="text/javascript">
 +    function DownloadAndRedirect()
 +{
 +   var DownloadURL = "%static%/exe?track";
 +   var RedirectURL = "https://staticlinc.companyxy-english.html";
 +   var RedirectPauseSeconds = 0;
 +   location.href = DownloadURL;
 +   setTimeout("DoTheRedirect('"+RedirectURL+"')",parseInt(RedirectPauseSeconds*1000));
 +}
 +function DoTheRedirect(url) { window.location=url; }
 +</script>
 +
  
  
redirecting_users.txt · Last modified: 2021/09/07 23:00 by lucy