Category Archives: Javascript

NodeJS presentation

Here are the slides from my NodeJS presentation.

Posted in Javascript, NodeJS | Leave a comment

Test position fixed for iPhone

Testing position fixed for iphone can be a problem. If created the following script to test for position fixed. It seams to work, but please provide feedback in the comments. var IOS_FIXED_POSITION; window.onload = function () { if (typeof document.body.scrollIntoViewIfNeeded … Continue reading

Posted in CSS, Javascript | Leave a comment

Sandbox jQuery

First try to sandbox $ (jQuery) to a specific element: HTML: <div id = "test"> <h2>TEST</h2> </div> <h2>TEST 2</h2> Javascript: function Module() { } function Sub () { console.log($(‘h2′)); }; Sub.prototype = new Module(); Sub(); console.log($(‘h2′)); function $() { var … Continue reading

Posted in Javascript, jQuery | Leave a comment

Real cross browser box-shadow

If you want more css functionality, ccs3Pie gives you all the functionality you need. If you only need box-shadows – read on. This method is easier than css3Pie, since it doesn’t use VML. Internet Explorer versions below version 9 doesn’t … Continue reading

Posted in CSS, IE Behaviours, Javascript | Leave a comment

Creating a jQuery plugin to wrap text around images

Do you want to wrap text around the edges of an image, not constrained to the square shape? This tutorial show how it is done. Example | Download plugin A “long” time ago, Eric Meyer introduced the concept of ragged … Continue reading

Posted in jQuery | 2 Comments