You could just make a regular form button and put this script somewhere on your page:
<script language=javascript>
<!--
function OnButton1()
{
document.signout.action = "PAGE.asp"
document.signout.target = "FRAME"; // Specify frame
document.signout.submit(); // Submit the page
return true;
}
-->
</script>
<noscript>You need Javascript enabled for this to work</noscript>
And use this script for the button:
<form name="NAME" action="page.asp method="post">
<input type="submit" value="Button" onclick="return OnButton1();">
If you want to have more than one button, just copy+paste the javascript code again into the same tag, only change the function part to Button2, and use the same button code, but again, change it to Button2, and so on.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.