jQuery: Nightmode Plugin

  • nighmode jquery pluginLast night I was bored and started to work on a plugin for JQuery and never had any echo. Así nacio nightMode Plugin que es simplemente un script chiquitito que cambia el color de las letras y el fondo de pantalla. Thus was born nightMode Plugin which is simply a tiny script that changes the font color and background. Con eso logramos ahorrar un poco de energia apagando algunos pixeles de nuestra pantalla y además nos facilita la lectura. With that we can save some energy by turning off some pixels of our screen and we’ll ease of reading. Espero que les guste!! Hope you like it!

    Letter colors and background can be modified

    <a id="nightmode">Turn nightmode On/off</a>
     $(document).ready(function(){
     $('#nightmode').click(function(){
     $('body').nightMode();
       });
     });

    Can be called via

    var options={
     color: '#ffffff'
       }
     $('body').nightMode(options);
    

    Demo: Click the Author link below, and then the lightbulb, top left

    Author: TimerSys
    Download: from here
    jQuery direct: Repository

    Subscribe to Site Help Web Resources Feed

    • No related posts found
    GD Star Rating
    loading…

    August 10th, 2010 | Blue | 1 Comment | Tags: ,

About The Author

Steve

Hi I am a webdeveloper based in Brisbane, Australia. Fanatical about the internet and website code and development. Hence this site, a showcase resource site for you to get the latest greatest code , scripts , apps and demos all from the one venue.

One Response and Counting...

Leave a Reply

* Name, Email, and Comment are Required