CSS3 + jQuery download buttons

Discussion in 'Web Programming' started by Jazz00006, Sep 26, 2012.

CSS3 + jQuery download buttons
  1. Unread #1 - Sep 26, 2012 at 11:07 PM
  2. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    CSS3 + jQuery download buttons

    I've been sitting on this script for a while, originally created in jQuery it only worked on 1 element.

    Today I re-wrote it in CoffeeScript. It now plays nice with all elements (or at least each of the 4 I tested).


    You can find the demo here: http://lab.jcode.me/coffeeButtons/

    Note: CSS3 only works in modern browsers.
    I've tested web-kit and gecko and they both loved it. IE9 only showed the button and the final hover, but not the transition effects. So if you're using IE they won't look as pretty as they do in other browsers.

    As usual you can find the source on GitHub and while it works currently I still haven't cleaned up the LESS style sheet (Technically it's still pure CSS, which I need to change).



    Questions and comments are always welcome. Don't forget to check out my lab if you want more web-code snippets.
     
  3. Unread #2 - Sep 27, 2012 at 6:43 AM
  4. T R 1 B A L
    Joined:
    Jun 27, 2007
    Posts:
    2,726
    Referrals:
    1
    Sythe Gold:
    0

    T R 1 B A L Grand Master
    Retired Sectional Moderator

    CSS3 + jQuery download buttons

    This is lovely. The concept is great, and it works flawlessly on the two browsers I tested it on - will most probably use it in the near future :)
     
  5. Unread #3 - Sep 29, 2012 at 4:53 AM
  6. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    CSS3 + jQuery download buttons

    Even if you don't, thank you for the feedback, it's appreciated.


    I'm working on theming options so it's not stuck with default colours all the time.
    External links work now, and it's starting to handle http errors (404, 403, etc)
     
  7. Unread #4 - Oct 4, 2012 at 9:13 AM
  8. Avaticus
    Joined:
    Jan 26, 2011
    Posts:
    220
    Referrals:
    0
    Sythe Gold:
    0

    Avaticus Active Member

    CSS3 + jQuery download buttons

    Just tested on FireFox 15.0.1 and it works great. Pretty neat. Nice job.
     
< Can anyone help me? | [JavaScript] Access multiple HTML Elements in Javascript. >

Users viewing this thread
1 guest


 
 
Adblock breaks this site