sign in


Forgot your password?


Why sign up?
- One account for five websites!
- Free access to Premium Codes
- Acess to cool web tools
- Ask and answer questions
- Stay ahead of other web developers
- and MUCH MORE!

You can also sign up by your facebook account!
Feel The Power

Html Codes: Canvas- Make Graphical Buttons by a Function

When HTML5 Canvas element is used, there is no way to define HTML standard form elements; so if you need a button you can not create it easily. The following code is a function for creating buttons inside HTML5 Canvas element. You can set filling Style of the button when the mouse cursor comes in, goes out and when the button is pressed. It is also possible to define button text, its font style and color. If the text is bigger than the button width, it is automatically adjusted. If you fill that simple colors are boring, no problem, define a gradient and put it as the button color. A function name and its arguments can passed into the button creation function; so when the button is pressed, it will get ran. You can easily add different features to the function below, but if you are a beginner, leave the function definition codes and just learn how to use it. Enjoy!

If you don't know how to use this code or need more information Click here!


tracyl327 Posted on 21 June, 2017 - 04:05 AM 1


sustaining towers Posted on 5 June, 2017 - 11:06 PM 1" Jual Besi Beton Malang Jual Besi Siku Malang Jual Kawat Bronjong Malang Jual WF Malang Jual Expanded Metal Malang Jual Plat Malang Jual Floordeck Malang Jual Atap Galvalum Malang Jual Atap Lengkung Malang Jual Hollow Galvalum Malang Jual Seng Gelombang Malang Jual Plat Seng dan Plat Galvalum Malang Jual Genteng Metal Malang Jual Wiremesh Malang Jual Kawat Loket dan Kawat Harmonika Malang Jual Cnp dan Unp Malang Jual Pipa Malang Jual Aluminium Composite Panel Malang Jual Lantai Kayu Vinyl Malang Jual Pintu Harmonika Malang Jual Rolling Door Malang Jual Grating Malang Jual Genteng Aspal Malang Jual Pagar Beton Malang Jual Pagar Brc Malang Jual Besi Hollow Malang Jual Hollow (Hitam,Galvanil,Galvanis) Malang Jual Pipa (Hitam/Gas,Galvanis) Malang Jual Truss (Canal c,Reng Galvalum) Malang Jual Besi Beton Surabaya Jual Besi Siku Surabaya Jual Kawat Bronjong Surabaya Jual WF Surabaya Jual Expanded Metal Surabaya Jual Plat Surabaya Jual Floordeck Surabaya Jual Atap Galvalum Surabaya Jual Atap Lengkung Surabaya Jual Hollow Galvalum Surabaya Jual Seng Gelombang Surabaya Jual Plat Seng dan Plat Galvalum Surabaya Jual Genteng Metal Surabaya Jual Wiremesh Surabaya Jual Kawat Loket dan Kawat Harmonika Surabaya Jual Cnp dan Unp Surabaya Jual Pipa Surabaya Jual Aluminium Composite Panel Surabaya Jual Lantai Kayu Vinyl Surabaya Jual Pintu Harmonika Surabaya Jual Rolling Door Surabaya Jual Grating Surabaya Jual Genteng Aspal Surabaya Jual Pagar Beton Surabaya Jual Pagar Brc Surabaya Jual Besi Hollow Surabaya Jual Hollow (Hitam,Galvanil,Galvanis) Surabaya Jual Pipa (Hitam/Gas,Galvanis) Surabaya Jual Truss (Canal c,Reng Galvalum) Surabaya


jacob11 Posted on 1 June, 2017 - 05:09 AM 1
Nice sharing. HD Wallpapers for android mobile phone a most demanding keyword on the internet. If you are looking for the best hd wallpapers for android mobile then click here and download hd wallpapers for android mobile full screen for free.


sustaining towers Posted on 26 May, 2017 - 06:16 PM 1"

You can leave comments once you sign in/up.


Please Rate this!
Online Users: 27
Total Online Users: 37
Recent Members: ADARSH, alexbetch27, ajha, hadishomali, printcollates


Link to us:

Please put this code in your page.