08 July 2012 ~ 0 Comments

jQuery: Changing the background colour of a page

In an update to http://ianodonnell.com/javascript-changing-background-colour-dynamically/ I will just show the code example, using jQuery, of changing the background colour of a webpage. Demo here, to make sure it’s what you are after. In the last example I used the pure javascript way. back then I had not even started to use any framework layers over [...]

Continue Reading

24 November 2008 ~ 0 Comments

Javascript: Change text colour dynamically

In the wake of my previous post “Javascript: Changing background colour dynamically“, I am going to put together a similarly styled post with the same method of control. Our aim is to allow users to be able to change the colour of the text on the page by clicking an image or a link. Just [...]

Continue Reading

21 November 2008 ~ 1 Comment

Javascript: Changing background colour dynamically

Edit: Updated simpler and easier method using jQuery available here http://ianodonnell.com/jquery-changing-the-background-colour-of-a-page/ During the completion of a recent project I was working on I had to learn something I didn’t do before, this was allowing the user to change the colour of a html web page on the fly without reloading. It was actually quite tough [...]

Continue Reading