Currently viewing the tag: "JavaScript"
This afternoon I made a custom stylesheet and script to format Wikipedia nicely for me when I am logged on from my iPhone. If you have a Wikipedia account, you can easily use them by adding them to your own monobook.css and monobook.js. Screenshots below.
John Resig’s jQuery uses a standard technique of anonymous function closures to namespace its internal functionality. (function(){ // jQuery stuff goes here… })(); This is all well and good until you want to inline this code under some of your application code, as I did while working on Eventful’s MySpace application. Consider this example, written [...]