jQuery dayTimr

9/Ene/2013 190

jQuery dayTimr

Toma y utiliza la hora del día actual del usuario para hacer cualquier cosa a la página actual usando un simple callback. Sólo eso. ¡Funciona hasta en IE!

Get and uses the user’s current time of the day to do anything to the current page using a simple callback. Just that. Even works in IE!

Selecciona tu idioma / Select your language:



   $('body').dayTimr();  // use any HTML element


	'nightClass' : 'night',         // name of the class used if it is night time
	'nightStart' : '21:00',         // time when night starts, must be HH:MM (if it is >= 9 don't use the 0)
	'dawnClass' : 'dawn',           // name of the class used if it is dawn time
	'dawnStart' : '0:00',           // time when dawn starts, must be HH:MM (if it is >= 9 don't use the 0)
	'morningClass' : 'morning',     // name of the class used if it is morning time
	'morningStart' : '7:00',        // time when morning starts, must be HH:MM (if it is >= 9 don't use the 0)
	'afternoonClass': 'afternoon',  // name of the class used if it is afternoon time
	'afternoonStart': '12:00',      // time when afternoon starts, must be HH:MM (if it is >= 9 don't use the 0)
	'debug' : false,                // if true show what's going on in the browser's console
	onNight : function(){},         // callback if it is night; default it adds the nightClass to the body
	onDawn : function(){},          // callback if it is dawn; default it adds the dawnClass to the body
	onMorning : function(){},       // callback if it is morning; default it adds the morningClass to the body
	onAfternoon : function(){}      // callback if it is afternoon; default it adds the afternoonClass to the body
  • 1.0: now you can choose your behavior through the callback.
  • 0.4.1: BUG: onMorning.call fixed.
  • 0.4: First public release.


Toma y utiliza la hora del día actual del usuario para hacer cualquier cosa a la página actual a través de un callaback. Sólo eso.


   $('body').dayTimr();  // puedes utilizar cualquier elemento HTML


	'nightClass' : 'night',         // nombre de la clase si es de noche
	'nightStart' : '21:00',         // hora cuando comienza la noche, debe ser en el formato HH:MM (si es >= 9 no antepongas el 0)
	'dawnClass' : 'dawn',           // nombre de la clase si es de madrugada
	'dawnStart' : '0:00',           // hora cuando comienza la madrugada, debe ser en el formato HH:MM (si es >= 9 no antepongas el 0)
	'morningClass' : 'morning',     // nombre de la clase si es de mañana
	'morningStart' : '7:00',        // hora cuando comienza la mañana, debe ser en el formato HH:MM (si es >= 9 no antepongas el 0)
	'afternoonClass': 'afternoon',  // nombre de la clase si es de tarde
	'afternoonStart': '12:00',      // hora cuando comienza la tarde, debe ser en el formato HH:MM (si es >= 9 no antepongas el 0)
	'debug' : false,                // si es true muestra lo que hace el plugin por la consola
	onNight : function(){},         // callback si es de noche; por defecto inyecta al body la clase definida en nightClass
	onDawn : function(){},          // callback si es de madrugada; por defecto inyecta al body la clase definida en dawnClass
	onMorning : function(){},       // callback si es de mañana; por defecto inyecta al body la clase definida en morningClass
	onAfternoon : function(){}      // callback si es de tarde; por defecto inyecta al body la clase definida en afternoonClass
  • 1.0: ahora puedes definir el comportamiento a través del callback.
  • 0.4.1: BUG: onMorning.call solucionado.
  • 0.4: Primera publicación.


Download/Bajar Plugin

Copyright 2013, CSSLab.cl – Free under the MIT license. Blackhole Icon from Turbomilk


  1. Cxneli [#]

    lyrica 100 mg capsule – lyrica in mexico generic lyrica 2017

  2. Lgbtgc [#]

    purchase zithromax z-pak – generic zithromax over the counter azithromycin z pack

  3. Krgfjx [#]

    azithromycin zithromax – buy generic azithromycin 500mg zithromax 100mg dose

  4. Ghqkxm [#]

    buy prednisolone tablets – buy cheap prednisolone prednisolone buy uk

  5. Zmzdhf [#]

    cheap prednisolone – prednisolone 60 mg daily prednisolone to buy

  6. Vhgyle [#]

    ivermectin 2 – stromectol buy uk ivermectin 5 mg price

  7. Tqiqoo [#]

    generic ivermectin cream – ivermectin us where to buy stromectol

  8. Ntmpnc [#]

    viagra 100mg for sale – over the counter viagra in us 20mg sildenafil

  9. Zshtqt [#]

    sildenafil 5mg price – viagra generic canada price low price viagra

  10. priligy otc [#]

    ordering priligy

    tobacco orthostatic hypotension gender

  11. Iuufcx [#]

    can you buy furosemide online – buy furosemide 20 mg tabs 500 mg doxycycline pill

  12. Zrjztc [#]

    lyrica pills price – lyrica cap 50mg canadian pharmacy ratings

  13. Wsfnhe [#]

    buy azithromycin – buy generic azithromycin 100mg buy zithromax 100mg

  14. Zkvffa [#]

    lasix 20mg tablet price – lasix 10 mg pill furosemide brand name

  15. Jdelnj [#]

    order lasix – average cost of lasix where can i buy lasix

  16. Gtdvyj [#]

    generic clomid – generic clomid 50mg online order clomiphene

  17. Zgpugq [#]

    generic clomiphene 50mg online – where can i buy clomid clomid for men

  18. Qrnbfa [#]

    cheap sildenafil 20mg – viagra 500mg price in india order viagra 25mg

  19. Acyaiy [#]

    buy viagra tablet india online – viagra without a rx sildenafil 25 mg cost

  20. purchase hydroxychloroquine sulfate [#]

    My brother recommended I might like this web site.
    He was totally right. This post actually made my day.
    You cann’t imagine simply how much time I had spent for
    this info! Thanks! https://hhydroxychloroquine.com/

  21. Esrfeb [#]

    tadalafil online no rx – 24 cialis tadalafil price 5mg

  22. why is hydroxychloroquine [#]

    chloroquine and plaquenil https://plaquenilx.com/# hydroxyclorquin

  23. sildenafil 50 coupon [#]

    Link exchange is nothing else but it is simply placing the
    other person’s webpage link on your page at proper place and other person will
    also do same in support of you. http://droga5.net/

  24. Mpkjtb [#]

    buy generic cialis online australia – 100mg cialis for sale cialis 200mg price

  25. keto macros calculator [#]

    keto diet meals https://ketorecipesnew.com/

  26. Lpwpfl [#]

    buy ivermectin for humans – ivermectine online ivermectin virus

  27. Fasufw [#]

    ivermectin over the counter canada – ivermectin over counter generic name for ivermectin

  28. Xkcsrs [#]

    wind creek casino online play – caesars casino online online gambling

  29. gay dating without sites [#]

    legit gay dating sites https://freegaychatnew.com/

  30. Ikjtqu [#]

    real money online casino – online casino real money no deposit play for real online casino games

  31. gay older men dating [#]

    gay women dating site https://gaychatus.com/

  32. pittsburgh gay dating [#]

    gay dating south africa https://gaychatgay.com/

  33. Uvltec [#]

    best non prescription ed pills – what blood pressure medication does not cause erectile dysfunction best male ed pills

  34. Qferik [#]

    best place to buy ed pills online – ed pills walgreens where to buy over the counter ed pills

  35. Rgpqyu [#]

    prices for 5mg prednisone – 50 mg prednisone tablet prednisone 10

  36. Cfnqby [#]

    where to buy generic viagra online – cheap sildenafil uk how much is sildenafil in canada

  37. Txnpwk [#]

    viagra Houston – viagra pills uk viagra 25mg

  38. Lloydneoky [#]

    drugs from canada
    price of cialis in canada get a prescription online canadian-meds ordering viagra online viagra wikipedia canada for viagra best viagra buy online viagra highest rated canadian pharmacies online pharmacy cialis
    best viagra buy cheap generic viagra free viagra samples generic viagra buy ed medication

  39. directions for taking clomid [#]

    Greetings from Ohio! I’m bored to death at work so I decided to check
    out your site on my iphone during lunch break. I really like the knowledge you present here and can’t
    wait to take a look when I get home. I’m shocked at
    how quick your blog loaded on my mobile .. I’m not even using WIFI, just 3G ..
    Anyways, great site! https://buszcentrum.com/clomid.htm

  40. Lloydneoky [#]

    canadian pharmacy.reviews
    canada online pharmacy online canadian pharmacies canadian overnight pharmacy does generic viagra work ordering medications from canada canada online pharmacy viagra viagra cialis buy viagra online without prescription viagra brand for sale viagra pharmacy
    cialis from canadian pharmacy viagra purchase viagra over the counter viagra soft tabs canada online pharmacy viagra

  41. JoshuaVog [#]

    viagra dosing
    drug store online canadian levitra viagra without a prescription best price on cialis 5mg approved canadian online pharmacies best online pharmacies viagra expiration date cialis canadian pharmacies generic female viagra taking viagra
    viagra.com canada viagra sale order viagra from canada free viagra sample pack alternative viagra

  42. JoshuaVog [#]

    how long does viagra last
    how much does cialis cost substitute viagra best canadian pharcharmy online online pharmacy canada viagra samples free cialis from usa pharmacy order viagra online best generic cialis sildenafil viagra best price on cialis 5mg
    lowest cost cialis order cialis online canada how does cialis work viagra erections free trial of viagra

  43. Lloydneoky [#]

    cheap drugs
    generic brand viagra ed drugs online from canada canadameds.com sample viagra what is viagra buy real viagra online where can i buy viagra drapolene cream viagra 100mg price prescription codes
    best price on cialis 5mg canadian pharmacy viagra cheap medications northwest canadian pharcharmy online london pharmacy canada

  44. BarryBitle [#]

    viagra online purchase
    cheap generic viagra universal pharmacy canadian rx viagra sale online viagra sale canada med best price viagra viagra generic brand viagra substitute best treatments for ed
    cialis in usa pharmacy calais pills from canada costco pharmacy buy viagra online viagra prescriptions

  45. JoshuaVog [#]

    viagra plus
    cheap viagra 100mg prescription prices cialis at canadian pharmacy canada pharmacy online online prescription canada viagra canada prescriptions online canadian cheap viagra do you need a prescription for viagra in canada medications without prescription
    prescription drugs from canada prices when will viagra go generic best generic cialis viagra buy online cialis for daily use

  46. BarryBitle [#]

    price of cialis prescription drugs canada cialis canadian pharmacy does viagra work for women buy viagra canada cialis from canada pharmacy medication without prescription canada drug pharmacy tadalafil canada viamedic.com
    canadian pharmacy with viagra can women take viagra buy drugs order cialis side effects of viagra

  47. اکران آنلاین فیلم خورشید [#]

    I have read so many articles regarding the blogger lovers except this article is really a fastidious article, keep it up. https://www.filmroz.ir/

  48. RogerPSync [#]

    cheapest viagra online
    overseas pharmacy alcohol and viagra cialis for daily use canadian rx pharmacy viagra 50 mg discount cialis canadian med walmart viagra price get viagra canadian pharmacies shipping to usa
    my canadian pharmacy canadian pharmacy cialis 20mg adhp drugs without prescription viagra 50 mg

  49. PatrickFax [#]

    https://cialiswithdapoxetine.com/ cialis dosage

  50. azithromycin and chlamydia [#]

    azithromycin and chlamydia

    Database Error