Posts tagged with javascript

A smoothie recipe in code

I made a delicious smoothie this morning and thought I would share the recipe with you:

var servings = 2; var banana = new Ingredient({ Read more
      
    

Accessing clipboard data with Javascript

You can access clipboard data after user input, but of course, it doesn’t work the same way in every browser. Internet Explorer, I’m looking at you.

In Chrome, Safari, and Firefox, the clipboardData object is passed along with the event... Read more

Semi-sticky Navigation

I’ve been working on a proof-of-concept for a fixed navigation bar that is partially hidden/revealed in response to the scroll direction. I don’t know what the correct term is for this type of navigation interaction, so for now I’m calling... Read more