Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Coloring book script

    Hi,

    I'm looking for a coloring book script and ... I'm trying to understand, how does it work: http://www.coloringpageskids.org/onl...ls-butterfly,5

    It's HTML5, JavaScript or something else?

  • #2
    Senior Coder
    Join Date
    Dec 2010
    Posts
    2,398
    Thanks
    12
    Thanked 570 Times in 563 Posts
    This is obviously done server side as there is a full page refresh with every click. It could (of course) as well be done using HTML5 canvas element ... even without any page refresh. But that's not the case here.

    So, every mouse click position including the color will be sent to the server which in return delivers the new image to the browser

  • #3
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you,

    Where i can find an example in PHP of using server side method?

  • #4
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you are doing this just as a coding exercise, then I suggest Javascript or maybe a Java applet. Trying to do it via PHP, could be done, but why would you want to put the users through a page refresh every time they click?

    If you just want a really nice coloring book to use with your own coloring pages, and which you can customise, I suggest you look here...
    http://mycoloringbook.keasoftware.com/

    You can download and try it out for free.

    Good luck!

  • #5
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I didn't want Flash. Flash not working with my phone.

  • #6
    New Coder Schrene's Avatar
    Join Date
    Jan 2011
    Location
    Earth
    Posts
    61
    Thanks
    12
    Thanked 1 Time in 1 Post
    Here are two HTML5 coloring book aps
    http://www.williammalone.com/article...t-drawing-app/



    I created one like this http://www.williammalone.com/article...t-bucket-tool/ in Flash and was interested in creating this one but was having a hard time figuring out his tutorial.


  •  

    Tags for this Thread

    Posting Permissions

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