Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: What is this?

  1. #11
    Join Date
    Jul 2007
    Location
    Beds
    Posts
    111
    Tokens
    0

    Default

    tis quite a sexy design


    Live Laugh Love

  2. #12

    Default

    Not exactly like the habbo one, but it's quite similar if you're interested. I suggest learning jQuery over Prototype, the prototype selectors are extremely slow especially #id last time I checked. Plus it's got to 'piggy back' to scriptalous for effects which annoys me. Anyhow here is the code.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    
    <title>jQuery Slider</title>
    
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script>
    
    <script type="text/javascript">
    $(document).ready(function(){
      $('.content').css('display', 'none');
    
      $('.link').click(function(){
        var id = $(this).attr('id').substr(9);
        var content = $('#faq-content-'+id);
    
        if (content.css('display') == 'none')
        {
          $('.content').slideUp('slow');
          content.slideDown('slow');
        }
    
        else
        {
          content.slideUp('slow');
        }
      });
    
      $('.close').click(function(){
        $(this).parent().slideUp('slow');
      });
    });
    </script>
    
    <style type="text/css">
    html
    {
      border: 0;
      overflow: auto;
    }
    
    body
    {
      margin: 0;
      padding: 0;
      font-size: x-small;
      font-family: Verdana;
    }
    
    #faqs
    {
      width: 530px;
      color: #808080;
      list-style: none;
    }
    
    #faqs li a
    {
      color: #808080;
      cursor: pointer;
      text-decoration: none;
    }
    
    #faqs li a:hover
    {
      color: #76c7e6;
    }
    
    .link:hover
    {
      padding-left: 8px;
    }
    
    #faqs li p
    {
      margin: 0;
      color: #808080;
      margin-top: 2px;
      padding: 8px 8px 25px;
      background-color:#efefef;
    }
    
    .close
    {
      float: right;
      color: #808080;
    }
    </style>
    
    </head>
    <body>
    
    <div id="container">
      <ul id="faqs">
        <li>&gt;
          <a id="faq-link-1" class="link" href="#">What commands do you get with Habbo Club?</a>
          <p id="faq-content-1" class="content">
            <img align="right" src="http://images.habbohotel.co.uk/c_images/album98/hc_oillamp.gif">
            <b>:chooser</b> ? This brings up a list of all Habbos in the room<br><br>
            <b>:furni</b> ? This brings up a list of all items of furni in the room (Only available to Habbos who have been
            in Habbo Club for more than one year).<br>To use these commands you just type them where you type to speak and
            click return or enter, then a pop up will appear containing the list.<br><br>
            <br>
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
        <li>&gt;
          <a id="faq-link-2" class="link" href="#">How do I get the special Habbo Club clothes, furni and room layouts?</a>
          <p id="faq-content-2" class="content">
            Look in your Hand - within 3 days after you join the club, you'll have an special green HC sofa in there that
            only Habbo Club members can get. Every month for the first eleven months, you'll get one item of special HC furni
            as a member of the club. To get your cool clothes, hair, and hats etc, go to 'Update my Habbo ID' and scroll
            through the options - you'll see the Habbo Club stuff there. To get the special room layouts, make a new guest 
            room and you'll see the Habbo Club options in the Room-O-Matic.<br><br>
            <br>
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
        <li>&gt;
          <a id="faq-link-3" class="link" href="#">I've seen someone with an HC badge - what does that mean?</a>
          <p id="faq-content-3" class="content">
            <img alt="habbo HC 1" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_1.gif">
            <img alt="habbo HC 2" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_2.gif">
            <img alt="habbo HC 3" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_3.gif">
            <img alt="habbo HC 4" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_4.gif">
            <br>
            It means that they're a member of Habbo Club.
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
      </ul>
    </div>
    
    </body>
    </html>
    Here's a pastebin one where you can see the example! http://pastebin.me/490dd8e2e80bc enjoy

    Oh just for the record - I coded it all.

  3. #13
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default

    Quote Originally Posted by Iszak View Post
    Not exactly like the habbo one, but it's quite similar if you're interested. I suggest learning jQuery over Prototype, the prototype selectors are extremely slow especially #id last time I checked. Plus it's got to 'piggy back' to scriptalous for effects which annoys me. Anyhow here is the code.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    
    <title>jQuery Slider</title>
    
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script>
    
    <script type="text/javascript">
    $(document).ready(function(){
      $('.content').css('display', 'none');
    
      $('.link').click(function(){
        var id = $(this).attr('id').substr(9);
        var content = $('#faq-content-'+id);
    
        if (content.css('display') == 'none')
        {
          $('.content').slideUp('slow');
          content.slideDown('slow');
        }
    
        else
        {
          content.slideUp('slow');
        }
      });
    
      $('.close').click(function(){
        $(this).parent().slideUp('slow');
      });
    });
    </script>
    
    <style type="text/css">
    html
    {
      border: 0;
      overflow: auto;
    }
    
    body
    {
      margin: 0;
      padding: 0;
      font-size: x-small;
      font-family: Verdana;
    }
    
    #faqs
    {
      width: 530px;
      color: #808080;
      list-style: none;
    }
    
    #faqs li a
    {
      color: #808080;
      cursor: pointer;
      text-decoration: none;
    }
    
    #faqs li a:hover
    {
      color: #76c7e6;
    }
    
    .link:hover
    {
      padding-left: 8px;
    }
    
    #faqs li p
    {
      margin: 0;
      color: #808080;
      margin-top: 2px;
      padding: 8px 8px 25px;
      background-color:#efefef;
    }
    
    .close
    {
      float: right;
      color: #808080;
    }
    </style>
    
    </head>
    <body>
    
    <div id="container">
      <ul id="faqs">
        <li>&gt;
          <a id="faq-link-1" class="link" href="#">What commands do you get with Habbo Club?</a>
          <p id="faq-content-1" class="content">
            <img align="right" src="http://images.habbohotel.co.uk/c_images/album98/hc_oillamp.gif">
            <b>:chooser</b> ? This brings up a list of all Habbos in the room<br><br>
            <b>:furni</b> ? This brings up a list of all items of furni in the room (Only available to Habbos who have been
            in Habbo Club for more than one year).<br>To use these commands you just type them where you type to speak and
            click return or enter, then a pop up will appear containing the list.<br><br>
            <br>
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
        <li>&gt;
          <a id="faq-link-2" class="link" href="#">How do I get the special Habbo Club clothes, furni and room layouts?</a>
          <p id="faq-content-2" class="content">
            Look in your Hand - within 3 days after you join the club, you'll have an special green HC sofa in there that
            only Habbo Club members can get. Every month for the first eleven months, you'll get one item of special HC furni
            as a member of the club. To get your cool clothes, hair, and hats etc, go to 'Update my Habbo ID' and scroll
            through the options - you'll see the Habbo Club stuff there. To get the special room layouts, make a new guest 
            room and you'll see the Habbo Club options in the Room-O-Matic.<br><br>
            <br>
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
        <li>&gt;
          <a id="faq-link-3" class="link" href="#">I've seen someone with an HC badge - what does that mean?</a>
          <p id="faq-content-3" class="content">
            <img alt="habbo HC 1" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_1.gif">
            <img alt="habbo HC 2" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_2.gif">
            <img alt="habbo HC 3" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_3.gif">
            <img alt="habbo HC 4" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_4.gif">
            <br>
            It means that they're a member of Habbo Club.
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
      </ul>
    </div>
    
    </body>
    </html>
    Here's a pastebin one where you can see the example! http://pastebin.me/490dd8e2e80bc enjoy

    Oh just for the record - I coded it all.
    Wow, well done! I'll be using this. Iszak should be a coding community member. +rep
    +.net - omg it's coming o_o

  4. #14

    Default

    Thank you, anything else you want?

  5. #15
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default

    Quote Originally Posted by Iszak View Post
    Thank you, anything else you want?
    Your welcome, and I have to spread :[. I'll put in in my sig.
    Umm... anything else I need..
    a usersystem, but I don't know if you'd do that for free x]
    +.net - omg it's coming o_o

  6. #16
    Join Date
    Mar 2008
    Posts
    940
    Tokens
    75

    Default

    Quote Originally Posted by Iszak View Post
    Not exactly like the habbo one, but it's quite similar if you're interested. I suggest learning jQuery over Prototype, the prototype selectors are extremely slow especially #id last time I checked. Plus it's got to 'piggy back' to scriptalous for effects which annoys me. Anyhow here is the code.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    
    <title>jQuery Slider</title>
    
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script>
    
    <script type="text/javascript">
    $(document).ready(function(){
      $('.content').css('display', 'none');
    
      $('.link').click(function(){
        var id = $(this).attr('id').substr(9);
        var content = $('#faq-content-'+id);
    
        if (content.css('display') == 'none')
        {
          $('.content').slideUp('slow');
          content.slideDown('slow');
        }
    
        else
        {
          content.slideUp('slow');
        }
      });
    
      $('.close').click(function(){
        $(this).parent().slideUp('slow');
      });
    });
    </script>
    
    <style type="text/css">
    html
    {
      border: 0;
      overflow: auto;
    }
    
    body
    {
      margin: 0;
      padding: 0;
      font-size: x-small;
      font-family: Verdana;
    }
    
    #faqs
    {
      width: 530px;
      color: #808080;
      list-style: none;
    }
    
    #faqs li a
    {
      color: #808080;
      cursor: pointer;
      text-decoration: none;
    }
    
    #faqs li a:hover
    {
      color: #76c7e6;
    }
    
    .link:hover
    {
      padding-left: 8px;
    }
    
    #faqs li p
    {
      margin: 0;
      color: #808080;
      margin-top: 2px;
      padding: 8px 8px 25px;
      background-color:#efefef;
    }
    
    .close
    {
      float: right;
      color: #808080;
    }
    </style>
    
    </head>
    <body>
    
    <div id="container">
      <ul id="faqs">
        <li>&gt;
          <a id="faq-link-1" class="link" href="#">What commands do you get with Habbo Club?</a>
          <p id="faq-content-1" class="content">
            <img align="right" src="http://images.habbohotel.co.uk/c_images/album98/hc_oillamp.gif">
            <b>:chooser</b> ? This brings up a list of all Habbos in the room<br><br>
            <b>:furni</b> ? This brings up a list of all items of furni in the room (Only available to Habbos who have been
            in Habbo Club for more than one year).<br>To use these commands you just type them where you type to speak and
            click return or enter, then a pop up will appear containing the list.<br><br>
            <br>
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
        <li>&gt;
          <a id="faq-link-2" class="link" href="#">How do I get the special Habbo Club clothes, furni and room layouts?</a>
          <p id="faq-content-2" class="content">
            Look in your Hand - within 3 days after you join the club, you'll have an special green HC sofa in there that
            only Habbo Club members can get. Every month for the first eleven months, you'll get one item of special HC furni
            as a member of the club. To get your cool clothes, hair, and hats etc, go to 'Update my Habbo ID' and scroll
            through the options - you'll see the Habbo Club stuff there. To get the special room layouts, make a new guest 
            room and you'll see the Habbo Club options in the Room-O-Matic.<br><br>
            <br>
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
        <li>&gt;
          <a id="faq-link-3" class="link" href="#">I've seen someone with an HC badge - what does that mean?</a>
          <p id="faq-content-3" class="content">
            <img alt="habbo HC 1" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_1.gif">
            <img alt="habbo HC 2" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_2.gif">
            <img alt="habbo HC 3" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_3.gif">
            <img alt="habbo HC 4" src="http://images.habbohotel.co.uk/c_images/album103/habbo_HC_4.gif">
            <br>
            It means that they're a member of Habbo Club.
            <a class="close" href="#">Close FAQ</a>
          </p>
        </li>
      </ul>
    </div>
    
    </body>
    </html>
    Here's a pastebin one where you can see the example! http://pastebin.me/490dd8e2e80bc enjoy

    Oh just for the record - I coded it all.
    Plus rep you are amazing ;D


  7. #17
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by TomSpit View Post
    Agree X2.
    USE TEH POWERZ OF SCRIPTOSUCULANTICIOUS.
    what the hell..

    Iszak, I have noticed how much you contribute, and feel the need to +REP you.
    Last edited by Calon; 03-11-2008 at 03:59 AM.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •