I got these codes off of hscripts.com and I was wandering if anyone could make a code like this, that could go into a post. So I can make it to were only certain groups, members, or whoever I choose can access that topic or should I post a suggestion for SMF to make it to were only certain member groups can see a topic, not just a board?
Javascript
<script type="text/javascript">
function login()
{
var username=prompt("Enter usename");
var password=prompt("Enter password");
if(username=="hiox" && password=="hioxindia")
window.location="http://www.hscripts.com";
else
alert("Invalid username password");
}
</script>
HTML
<input type="button" name="login" value="Login" onclick="login()">
© <a href="http://www.hscripts.com" style="color:#3D366F;text-decoration:none;cursor:pointer;font-size=13px">hscripts.com</a>