Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE]Quick Login on every page
Topic Started: Oct 19 2005, 10:28 PM (566 Views)
PaperPeach
Member
 *   *  
It's very cool!

V2.0 uses cookies!


Here is an older shot of it:
Posted Image

Quote:
 
<script type='text/javascript'>
<!--
// Quick Login, V1.0
//  by ~Misty @ ifcode.com , 2005
for(x=0;x<document.links.length;x++){
if(document.links[x].href.match("act=Login&CODE=00") != null){
function Qln()
{
document.getElementById('qlogin').style.display = "none"
}
function soqln()
{
document.getElementById('qlogin').style.display = ""

}
//-->
</script>
<a href='javascript:Qln();'>Text to hide it, or <image src=image URL> </a>·<a href='javascript:soqln();'>Test to view quick login or, <image src=image URL here></A>

<div id='qlogin' align='left'><form action="http://sx.invisionfree.com/yourboard'sname/index.php?act=Login&amp;CODE=01" method="post" name='LOGIN' onsubmit='return ValidateForm()'>
<input type='hidden' name='referer' value="http://sx.invisionfree.com/yourboardsname/index.php?act=idx" />
<div class="tableborder">
      <td class='pformleftw'>Username</td>
    <td class='pformright'><input type='text' size='20' maxlength='64' name='UserName' class='forminput' /></td>
  </tr>
  <tr>
    <td class='pformleftw'>Password</td>
    <td class='pformright'><input type='password' size='20' name='PassWord' class='forminput' /></td>
  </tr>
  </table>
  </tr>
  </table> 
  <div class="pformstrip" align="center"><input type="submit" name='submit' value="Log me in" class='forminput' /></div></div>




Oh, footers, with it, but, i'm guessing you could place it somewhere elce.....
I never tested it :tomatoes:





Oh, and here is something elce,


Nice thing.... Navbar hider, same code, just edited!

Quote:
 

<script type='text/javascript'>
<!--
// Show/Hide navbar, V1.0
//  by ~Misty @ ifcode.com , 2005

function navstripgo()
{
document.getElementById('navstrip').style.display = "none"
}
function navstripcome()
{
document.getElementById('navstrip').style.display = ""



}
//-->
</script>

Under the nav tag:
Code:
 
<a href='javascript:navstripgo();'>Text to hide navbar, or <image src=image URL> </a>·<a href='javascript:soqln();'>Test to view navbar<image src=image URL here></A>




Glich found, lets you logn after you are allready loged in, fixed, mabie.... ;)
Offline Profile Quote Post Goto Top
 
Iverson
Touch Of Death
 *   *   *   *   *  
ehm....ok :P
Offline Profile Quote Post Goto Top
 
PaperPeach
Member
 *   *  
Don't like it?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code Snippets · Next Topic »
Add Reply