Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Question Credit Converter Script

    I need help :S I can get it to convert credits to dollars but not dollars to credits!
    Does someone know how to do it?
    HTML Code:
    <html>
    <head><title>Habbo Credit Converter || AndreHamon.com</title>
    <body>
    <script language="JavaScript">
    function talertoeuro( taler ) {
      document.rechner.euro.value = taler / 4;
    }
    function eurototaler( euro ) {
      document.rechner.taler.value = euro * 3;
    }
    </script>
    
    <form name="rechner">
    <table align="center">
      <tr>
        <td width="50%">Credits:</td>
        <td width="50%"><input name="taler" type="text" onkeyup="talertoeuro( this.value );" size="30"></td>
      </tr>
      <tr>
        <td width="50%">NZD:</td>
        <td width="50%"><input name="euro" type="text" onkeyup="eurototaler( this.value );" size="30"></td>
      </tr>
    </table>
    </form>
    </body>
    </html>
    And it looks like this.

    Help?
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  2. #2
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Because you're dividing by 4, and only multiplying by 3...?
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  3. #3
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    What Heinous said. Try putting 100 into the credits box. Then put 100 into NZD box and its a different figure.


    You don't like me
    Chances are I don't like you.

  4. #4
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Ohhhh i see thanks.
    +rep.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  5. #5
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by Verrou View Post
    Ohhhh i see thanks.
    +rep.
    Just wondering - do you pass mathematics?
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  6. #6
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Yes but not ICT And plus the script is in german so it doesnt help
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  7. #7
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by Verrou View Post
    Yes but not ICT And plus the script is in german so it doesnt help
    That's using mathematic functions..

    And I wouldn't advise copy and pasting a script, especially if you don't understand the language it's in.

    / is divide, * is multiply. :\ I'm pretty sure most people, not just programmers, know that.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  8. #8
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    I didn't until then
    And i see ur from Oz do you play habbo au?
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  9. #9
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by Verrou View Post
    I didn't until then
    And i see ur from Oz do you play habbo au?
    Join Date: Dec 2005
    Location: Australia
    Posts: 536
    Infractions: 2/2 (2)
    Gender: Male
    Habbo UK Name: Heinous [AU]
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

Posting Permissions

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