treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] Replace character with image using JQuery

  • Hi wonderful people :)

    I am in the process of creating my own countdown timer. I need a little help though.
    I want to have it count down like normal, but I want a specific image assigned to a specific number (The number are going to be heavily edited so there is not way of styling it through css)

    So when the JQuery timer is busy displaying/working with real numbers, what you see on the front-end is a number replaced by a beautifully designed number/image :)

    Sounds simple enough, yet I have no idea how :/
    Please keep it simple when talking about JQuery, my skills are between beginner and intermediate when it comes to JQuery. For HTML/CSS knock yourself out :D

    Thank you in advance!
  • I think it would be easier for us if you shared a demo or some of the code. More specifically, share the resulting HTML that will display the time and the code that manipulates it.
  • Nevermind I found a good link to what I was looking for :)

    https://github.com/ro31337/jQuery-Countdown-Timer