Jump to content

Redirect at Close


gordon

Recommended Posts

 

 

Thanks , I see it now.. but in looking at the code..

 

<html>

<body bgcolor="#dfe8f6">

<p style="text-align:center;color:#0000A0">[###message###]</p>

<p style="text-align:center;color:#A05050"><a href="[###url###]">Restart application</a></p>

</body>

</html>

 

How do i assign the vars "URL" and "messagre" in this code to send back to the browser?

 

Gordon

Link to comment
Share on other sites

  • 2 years later...

Hi,

 

I am using this:

 

UniserverModule.Servermessages.TerminateTemplate:

 

[###url###]  <-- With this i getting url with parameters.

 

Also you can change [###url###] to requested url. Like : location.href = "http://forums.unigui.com/";

<html>
<script>
function redirect() {
    location.href = "[###url###]";
}
 window.onpaint = redirect();
</script>
<body bgcolor="#dfe8f6">
</body>
</html>

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...