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!


Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default HTML Forms With A Difference...

    Hey All..

    I'm wondering how to make a HTML form, where instead of a classic drop down, or radio butons choice, There is Images, each choice in the form is an Image, when you clikc the image the form automatically submits thinking the image you clicked is your choice.

    It's probably possibly, i just hate HTML forms is all

    I googled too, no luck

    +REP, TY

  2. #2
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Echo54321 View Post
    Hey All..

    I'm wondering how to make a HTML form, where instead of a classic drop down, or radio butons choice, There is Images, each choice in the form is an Image, when you clikc the image the form automatically submits thinking the image you clicked is your choice.

    It's probably possibly, i just hate HTML forms is all

    I googled too, no luck

    +REP, TY
    Code:
    <form action="somepage" method="post"><input type="file" /><input type="image" src="image.gif" value="submit" /></form>
    Something along them lines.

  3. #3
    Join Date
    Nov 2007
    Posts
    144
    Tokens
    0

    Default

    AHH!

    THANKS

    i was just coding, playing about and i coded this:

    <FORM action="PAGE" method="post" name="NAME">
    <INPUT type="radio" name="OPTION" value="OPT1" onClick="NAME.submit();"> YEH<BR>
    <INPUT type="radio" name="OPTION" value="OP2" onClick="NAME.submit();"> YES<BR>
    </FORM>


    So i'll ad your code into that

    and i have it

    TY +REP

  4. #4
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Echo54321 View Post
    AHH!

    THANKS

    i was just coding, playing about and i coded this:

    <FORM action="PAGE" method="post" name="NAME">
    <INPUT type="radio" name="OPTION" value="OPT1" onClick="NAME.submit();"> YEH<BR>
    <INPUT type="radio" name="OPTION" value="OP2" onClick="NAME.submit();"> YES<BR>
    </FORM>


    So i'll ad your code into that

    and i have it

    TY +REP
    Haha, try get rep power first, but thanks for the more-or-less empty rep utation.

  5. #5
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Independent View Post
    Code:
    <form action="somepage" method="post"><input type="file" /><input type="image" src="image.gif" value="submit" /></form>
    Something along them lines.
    Wouldnt it be

    Code:
    <form action="somepage" method="post">
    <input type="file" />
    <input type="submit" style="background: url('IMAGEURL');" value="submit" /></form>
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

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