JQUERY: NIGHTMODE PLUGIN

Last 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

Site Help
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.