Password help?

12 things moisesgarcia likes Explore more popular stuff on Tumblr

  1. 24
    Easily checking in JavaScript if a CSS media query has been executed

    For quite a while I have been looking for a way to “mirror” my CSS media queries in JavaScript, but without duplicating the actual queries. Of course, you can use matchMedia to evaluate a media query in JavaScript, but then you have to maintain your breakpoints in two places – not ideal.

    Paul Hayes devised a clever method in his fork of the match­Me­dia poly­fill, using transitions on dummy elements and watching for the tran­si­tio­nEnd event in JavaScript. But a truly simple solution – one that doesn’t really need watching for resize events – was still lacking.

    Fortunately Jeremy Keith turned to his readers for help, and together they came up with a delightfully straightforward technique:

    @media (min-width: 45em) {
        body:after {
            content: 'widescreen';
            display: none;
            }
        }
    

    Which basically doesn’t do anything, except that you can check for it in Javascript:

    var size = window.getComputedStyle(document.body,':after').getPropertyValue('content');
    if (size == 'widescreen') {
        // go nuts
    }
    

    Nice!

     
  2. 5,234

    We’re very excited to welcome Spanish into our roster of supported languages!

    Spanish is now our seventh language, following English, German, Italian, French, Japanese and Turkish – with more on the way.

    You can switch languages on your Preferences page, and follow the new Spanish Staff Blog.

    And if you’re nearby, why not stop by a Tumblr meetup organized by one of our Spanish communities? There are meetups coming up in Sevilla, Barcelona, La SerenaSan Juan, Buenos Aires, Valparaíso, Alicante, and more.

    ¡Olé!

     
  3. 2
    DHTMLX 3.0 – JavaScript UI Library with Visual Designer Tool
     
  4. 5,915

    Étienne Jules Marey

     
  5. 2,635
    The terrain for the scientific work conducted by ICESCAPE scientists on July 4, 2010, was Arctic sea ice and melt ponds in the Chukchi Sea. The five-week field mission was dedicated to sampling the physical, chemical and biological characteristics of the ocean and sea ice. Impacts of Climate change on the Eco-Systems and Chemistry of the Arctic Pacific Environment, or ICESCPE Mission, is a multi-year NASA shipborne project. The bulk of the research will take place in the Beaufort and Chukchi Seas in summer of 2010 and fall of 2011. 


    Image Credit: NASA/Kathryn Hansen

    (submitted by loveastronomy)

     
  6. 12

    Chewbacca Dog! I want it!

     
  7. 26
     
  8. 1,303
    Improving CoreUpdate

    Published by Harald Ponce de Leon

    One of the great new features of our framework is the ability to perform upgrades via the Admin Dashboard, where update packages are listed, modified files can be seen, and upgrades can be performed at the click of a button.

    Unfortunately not everyone will get to experience how great this can…

    Read more »

     
  9. 12,191

    Stormtrooper - By Christopher Lee

    Website || deviantART