Tag Archives: JavaScript

Bing Map v7 Address Query using jQuery

How to initialise Bing map using an street address query. First reference the Bing library, keeping it as an external reference. They changed one of their JavaScript urls once and 404ed on me. There are references for both SSL and … Continue reading

Posted in Web Related | Tagged , , , , , , | Leave a comment

insertAdjacentHTML

Interesting article from http://hacks.mozilla.org/2011/11/insertadjacenthtml-enables-faster-html-snippet-injection/ “On the computer that I used for testing, the innerHTML way of appending managed to append only slightly over 200 tweets in five full seconds. In contrast, the insertAdjacentHTML(“beforeend”, …) way of appending managed to append … Continue reading

Posted in Web Related | Tagged , , | Leave a comment

Lazy Loading Asynchronous JavaScript

Useful article for keepsake, with a good dose of requirements that I like: Small. I don’t want a big mess for them to include on their sites. 10-15 lines, tops. Stand-alone. The environment is unknown, so we can’t rely on … Continue reading

Posted in Web Related | Tagged , , | Leave a comment

ASCII art and old-game nostalgia

http://js1k.com/2011-dysentery/demo/923 Remembering the really old games, with better appreciation for the ASCII art-work and great story lines.

Posted in Random | Tagged , , | Leave a comment

JavaScript 3D engine called Three

I’m reading up on the API and looking through the examples of Three, a JavaScript 3D engine by Mr.Doob. A little eye-candy to perhaps get one started – 1. Open up Chrome, ensure it is the latest version. 2. Have … Continue reading

Posted in Web Related | Tagged , , , , | Leave a comment

JavaScript read for today

http://bonsaiden.github.com/JavaScript-Garden/

Posted in Web Related | Tagged | Leave a comment

Writing better performing JavaScript (with jQuery)

1.  Detach the element from the DOM to do funky stuff with it var child = $(‘#chilID’); var parent = child.parent(); child.detach(); child.doLotsOfStuff(); parent.append(child);

Posted in Web Related | Tagged , | Leave a comment

Study mode…

Will be shutting down all media distractions until I’m finished with this. Some things in the world are free and damn good, thanks to Addy Osmani and many who teach like him.

Posted in Web Related | Tagged | Leave a comment

JavaScript Caching

Improving JavaScript performance in general and improving it by caching has been on my mind recently. It is good to understand and remember raw JavaScript without the library and to remember to cache stuff even with the convenience of the … Continue reading

Posted in Web Related | Tagged , | Leave a comment