1
   

How to color a button in JavaScript

 
 
Reply Thu 18 Dec, 2014 01:01 pm
Ok so I want this program to add a color to a button or object before redirecting to a menu or title screen



var button = function() {
ellipse(200,200,200,200);
};
button();



var filler = function() {
mouseClicked = function() {
fill(20,202,20);
};
};
filler();
button();



plz help me out
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 1 • Views: 481 • Replies: 1
No top replies

 
hingehead
 
  1  
Reply Thu 18 Dec, 2014 02:15 pm
@manameslol,
Http://lmgtfy.com/?q=onclick+change+button+color
0 Replies
 
 

Related Topics

Clone of Micosoft Office - Question by Advocate
Do You Turn Off Your Computer at Night? - Discussion by Phoenix32890
The "Death" of the Computer Mouse - Discussion by Phoenix32890
Windows 10... - Discussion by Region Philbis
Surface Pro 3: What do you think? - Question by neologist
Windows 8 tips thread - Discussion by Wilso
GOOGLE CHROME - Question by Setanta
.Net and Firefox... - Discussion by gungasnake
Hacking a computer and remote access - Discussion by trying2learn
 
  1. Forums
  2. » How to color a button in JavaScript
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 1.09 seconds on 04/26/2024 at 12:48:02