Sliding User Login Panel Built With JQuery


Membership in a website offers many advantages for the website owner. You can provide an exclusive member features that work only if anyone has already become a member. This is to increase their recurring visits on your website.

If you sell online, The recurring visits of the members will create more chance for them to buy your stuffs. They will probably click the buy button on your site at their 2nd or 3rd visit.

To make this membership works on your site, You need a user login panel and also a hosting service that will host your site and back up all your data (eq Web hosting and PHP, MySql system).

Now i'm going to show you a login panel demo from Web-Kreation that will create a nice sliding down effect and will be placed above your header like in below image :







 Here's how to create it :

  • Log in to your Blogger account.
  • In your Blogger Dashboard, Click TEMPLATE.
  • Click edit HTML > Proceed
  • Find this code using a Ctrl+F function : 
    </head>
    • Copy-Paste The below codes BEFORE it :
      <script src='http://web-kreation.com/demos/Sliding_login_panel_jquery/js/jquery-1.3.2.min.js' type='text/javascript'/><script style='display:none' type='text/javascript'>$(document).ready(function() {
      
      // Expand Panel
      $(&quot;#open&quot;).click(function(){
      $(&quot;div#panel&quot;).slideDown(&quot;slow&quot;);
      });
      
      // Collapse Panel
      $(&quot;#close&quot;).click(function(){
      $(&quot;div#panel&quot;).slideUp(&quot;slow&quot;);
      });
      
      // Switch buttons from &quot;Log In | Register&quot; to  &quot;Close Panel&quot; on click
      $(&quot;#toggle a&quot;).click(function () {
      $(&quot;#toggle a&quot;).toggle();
      });
      
      });
      </script>

        • Now find this code : 
            ]]></b:skin>
            • Copy-paste the below codes BEFORE it :
              /***** clearfix *****/
              .clear {clear: both;height: 0;line-height: 0;}
              .clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
              .clearfix {display: inline-block;}
              /* Hides from IE-mac \*/
              * html .clearfix {height: 1%;}
              .clearfix {display: block;}
              /* End hide from IE-mac */
              .clearfix {height: 1%;}
              .clearfix {display: block;}

              /* Panel Tab/button */
              .tab {
              background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/tab_b.png) repeat-x 0 0;
              height: 42px;
              position: relative;
              top: 0;
              z-index: 999;
              }

              .tab ul.login {
              display: block;
              position: relative;
              float: right;
              clear: right;
              height: 42px;
              width: auto;
              font-weight: bold;
              line-height: 42px;
              margin: 0;
              right: 150px;
              color: white;
              font-size: 80%;
              text-align: center;
              }

              .tab ul.login li.left {
              background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/tab_l.png) no-repeat left 0;
              height: 42px;
              width: 30px;
              padding: 0;
              margin: 0;
              display: block;
              float: left;
              }

              .tab ul.login li.right {
              background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/tab_r.png) no-repeat left 0;
              height: 42px;
              width: 30px;
              padding: 0;
              margin: 0;
              display: block;
              float: left;
              }

              .tab ul.login li {
              text-align: left;
              padding: 0 6px;
              display: block;
              float: left;
              height: 42px;
              background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/tab_m.png) repeat-x 0 0;
              }

              .tab ul.login li a {
              color: #15ADFF;
              }

              .tab ul.login li a:hover {
              color: white;
              }

              .tab .sep {color:#414141}

              .tab a.open, .tab a.close {
              height: 20px;
              line-height: 20px !important;
              padding-left: 30px !important;
              cursor: pointer;
              display: block;
              width: 100px;
              position: relative;
              top: 11px;
              }

              .tab a.open {background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/bt_open.png) no-repeat left 0;}
              .tab a.close {background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/bt_close.png) no-repeat left 0;}
              .tab a:hover.open {background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/bt_open.png) no-repeat left -19px;}
              .tab a:hover.close {background: url(http://web-kreation.com/demos/Sliding_login_panel_jquery/css/../images/bt_close.png) no-repeat left -19px;}

              /* sliding panel */
              #toppanel {
              position: absolute;
              top: 0;
              width: 100%;
              z-index: 999;
              text-align: center;
              margin-left: auto;
              margin-right: auto;
              }

              #panel {
              width: 100%;
              height: 270px;
              color: #999999;
              background: #272727;
              overflow: hidden;
              position: relative;
              z-index: 3;
              display: none;
              }

              #panel h1 {
              font-size: 1.6em;
              padding: 5px 0 10px;
              margin: 0;
              color: white;
              }

              #panel h2{
              font-size: 1.2em;
              padding: 10px 0 5px;
              margin: 0;
              color: white;
              }

              #panel p {
              margin: 5px 0;
              padding: 0;
              }

              #panel a {
              text-decoration: none;
              color: #15ADFF;
              }

              #panel a:hover {
              color: white;
              }

              #panel a-lost-pwd {
              display: block;
              float: left;
              }

              #panel .content {
              width: 960px;
              margin: 0 auto;
              padding-top: 15px;
              text-align: left;
              font-size: 0.85em;
              }

              #panel .content .left {
              width: 280px;
              float: left;
              padding: 0 15px;
              border-left: 1px solid #333;
              }

              #panel .content .right {
              border-right: 1px solid #333;
              }

              #panel .content form {
              margin: 0 0 10px 0;
              }

              #panel .content label {
              float: left;
              padding-top: 8px;
              clear: both;
              width: 280px;
              display: block;
              }

              #panel .content input.field {
              border: 1px #1A1A1A solid;
              background: #414141;
              margin-right: 5px;
              margin-top: 4px;
              width: 200px;
              color: white;
              height: 16px;
              }

              #panel .content input:focus.field {
              background: #545454;
              }

              /* BUTTONS */
              /* Login and Register buttons */
              #panel .content input.bt_login,
              #panel .content input.bt_register {
              display: block;
              float: left;
              clear: left;
              height: 24px;
              text-align: center;
              cursor: pointer;
              border: none;
              font-weight: bold;
              margin: 10px 0;
              }

              #panel .content input.bt_login {
              width: 74px;
              background: transparent url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/bt_login.png) no-repeat 0 0;
              }

              #panel .content input.bt_register {
              width: 94px;
              color: white;
              background: transparent url(http://web-kreation.com/demos/Sliding_login_panel_jquery/images/bt_register.png) no-repeat 0 0;
              }

              #panel .lost-pwd {
              display: block;
              float:left;
              clear: right;
              padding: 15px 5px 0;
              font-size: 0.95em;
              text-decoration: underline;
              }
              • Find this last code : 
                </body>
                • Copy-paste the below codes BEFORE it : 
                  <!-- Login -->
                  <div id='toppanel'>
                  <div id='panel'>
                  <div class='content clearfix'>
                  <div class='left'>
                  <h1>Welcome To Digita7seven</h1>
                  <h2>Sliding User Login Panel Demo</h2>
                  <p class='grey'>This is only a demo panel</p>
                  <h2>Blogger Tutorials</h2>
                  <p class='grey'>To create this demo panel, go to : <a href='http://digita7seven.blogspot.com/2012/11/sliding-user-login-panel-on-your.html' title='Download'>Click Here</a></p>
                  </div>
                  
                  <div class='left'>
                  <form action='#' class='clearfix' method='post'>
                  <h1 class='padlock'>Member Login</h1>
                  <label class='grey' for='log'>Username:</label>
                  <input class='field' id='log' name='log' size='23' type='text' value=''/>
                  <label class='grey' for='pwd'>Password:</label>
                  <input class='field' id='pwd' name='pwd' size='23' type='password'/>
                  <label><input checked='checked' id='rememberme' name='rememberme' type='checkbox' value='forever'/> Remember me</label>
                  <div class='clear'/>
                  <input class='bt_login' name='submit' type='submit' value='Login'/>
                  <a class='lost-pwd' href='#'>Lost your password?</a>
                  
                  </form>
                  </div>
                  <div class='left right'>
                  <form action='#' method='post'>
                  <h1>Not a member yet? Sign Up!</h1>
                  <label class='grey' for='signup'>Username:</label>
                  <input class='field' id='signup' name='signup' size='23' type='text' value=''/>
                  <label class='grey' for='email'>Email:</label>
                  <input class='field' id='email' name='email' size='23' type='text'/>
                  <label>A password will be e-mailed to you.</label>
                  <input class='bt_register' name='submit' type='submit' value='Register'/>
                  </form>
                  </div>
                  
                  </div>
                  </div>
                  <!-- /login -->
                  <!-- The tab on top -->
                  <div class='tab'>
                  <ul class='login'>
                  <li class='left'/>
                  <li>This Is Only A Demo Panel</li>
                  <li class='sep'>|</li>
                  <li id='toggle'>
                  <a class='open' href='#' id='open'>Log in | Register</a>
                  <a class='close' href='#' id='close' style='display: none;'>Close Panel</a>
                  </li>
                  
                  <li class='right'/>
                  </ul>
                  </div>
                  <!-- / top -->
                  </div>
                  <!-- panel -->
                  • You can replace the words marked with RED with your own value.
                  • Save your template. 
                    The Login and Register forms in this demo will not work “out of the box” without a user login system pre-installed on your site (e.g. PHP/MySQL user login system).




                    Spice up Your Site With Simple PHP  

                    Learn Php In 17 Hours !



                    From Amazon :   
                        1,000 Creative Writing Prompts : Ideas for Blogs, Scripts, Stories and More
                        When you finally have the opportunity to sit down and write, you want absolutely nothing to get in your way. In an ideal world, the ideas would flow from head to pen quickly and easily. You would have thousands of ideas at your fingertips. This new idea-generating book makes that dream a reality.

                        Other Great Stuffs : 

                        Celebrity Blogging
                        Discover The Secrets To Setting Up Your Own Personal Blog For MASSIVE Brand Building... And Build A Name For Yourself That People Will Know, Like And Trust!

                        If You Have A Few Hours Per Week, Then We Can Show You How To Earn Significant Income With Your Own Blog! Step by Step. Click to find out !
                        Know how to find a great market niche and write a successful blog? Great, you don’t need the steps within each of these components. Know how to design the web page and overcome technical difficulties? No? No problem, Here is a deeper level of instruction for that!

                        Struggling to make money online? It's about to get quicker and easier than ever before...Click here !
                        How JUST One Of The Blogs I Create During By The Forth Month Has Already Netted Me $2,537.29

                        1500 MB of disk space, 100 GB of data transfer, PHP and MySQL support with no restrictions, cPanel control panel, Website Builder, Absolutely no advertising ! Join now : CLICK HERE !



                        ?max-results=10">');

                        ?max-results="+numposts2+"&orderby=published&alt=json-in-script&callback=showrecentposts2\"><\/script>");