Archive of JavaScript
-
CSS and JavaScript compression and bundling
Posted on June 20, 2010 by Frederik Vig in ASP.NET, CSS, JavaScriptIn the last post in Create an EPiServer site from scratch I go through some optimization tips and tricks from YSlow. One of these are CSS and JavaScript compression and bundling of files to create fewer HTTP...
Continue reading this entry → -
Backup plan when loading the jQuery library from CDN
Posted on April 20, 2010 by Frederik Vig in JavaScriptIn most of my project I load the jQuery library from a CDN, either Google or Microsoft. This ensures that my page will load faster for my visitors, since the jQuery file will get sent to them from...
Continue reading this entry → -
Font resizing and printing with jQuery
Posted on October 27, 2009 by Frederik Vig in JavaScript, Web designYou've probably seen the three A's on various websites, especially public sector websites; that you can click on to increase the font size on the web site. I'm personally not a huge fan of those. In my opinion it is...
Continue reading this entry → -
ASP.NET Validation and jQuery
Posted on May 21, 2009 by Frederik Vig in ASP.NET, JavaScriptRecently I was working on a simple form that used the ASP.NET Validation controls for validation. This worked fine when doing a regular Postback to the server with the data. However I wanted to use Ajax to make it a...
Continue reading this entry → -
Measuring JavaScript performance
Posted on May 10, 2009 by Frederik Vig in Code Snippet, JavaScriptAccording to Response Time overview, the response time for JavaScript code to execeute should be no more than 0.1 seconds (100 milliseconds). Especially on JavaScript/Ajax heavy sites this can be a problem. That's why it is always good thing...
Continue reading this entry →