Greetings. I am making a custom login box that fits my style and has cool buttons and everything.
However, I can't get the form to disappear when the user is logged in already. I thought it would be as simple as having a  little javascript that would change the visibility of it, but that did not work. I can't even figure out how to simply make it invisible in the first place (I tried using visibility="hidden", and display="none" but neither seem to work....)
Here's what it looks like now
And Here's my forum address:
Onyx Legion
However, I can't get the form to disappear when the user is logged in already. I thought it would be as simple as having a  little javascript that would change the visibility of it, but that did not work. I can't even figure out how to simply make it invisible in the first place (I tried using visibility="hidden", and display="none" but neither seem to work....)
- Code:
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<label><span class="genmed"></span> <input class="post" type="text" size="10" name="username" /></label>
<label><span class="genmed"></span> <input class="post" type="password" size="10" name="password" /></label>
<label><span class="gensmall"></span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
<input class="mainoption" type="submit" name="login" value="" />
<a class="signup-btn" title="Register" href="/register"></a>
</form>
Here's what it looks like now
And Here's my forum address:
Onyx Legion