Solved

How to make this voting system

Posted on 2013-06-15
4
187 Views
Last Modified: 2013-06-18
Hi!

I am making a vote system, and need some help.

I want 5 buttons, that change color when user select that button.

When user select a button, the value of that button must be stored in a variabel

How can i make this, like the picture show in HTML5
(nice effects is olso nice)
vote.png
0
Comment
Question by:team2005
4 Comments
 
LVL 6

Expert Comment

by:limweizhong
ID: 39250122
What do you know about HTML? You can make this using a table, a CSS style "float:left;", or absolute positioning. Using JavaScript, you then put an EventListener on the elements which will update the value based on which element you clicked.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39250158
Without a link to a page or at least the code you are already using, this is just going to go in circles with guesses and conflicting advice. If you don't have anything done yet, I would suggest to do a google search and find some code that is close to what you want and then if you need help adapting it, we are here.

Cd&
0
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 500 total points
ID: 39251138
0
 
LVL 2

Author Closing Comment

by:team2005
ID: 39255979
thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question