Familien Schøler’s blog

Lidt af hvert fra hverdagen hos Michael, Kamilla, Marie og Katrine Schøler

Encöding Mätterß

My personal number one reason for hating all encoding issues.

IE6 bug-me-not script

“I don’t care why it works. This is the best IE6 compatibility fix ever.” (læs hele artiklen + kommentarer, klik på citatet)

Afgjort ugens sjoveste og mest indsigtsfulde kommentar, som jeg er faldet over i hvert fald.

  1. /**
  2.  * jQuery Crash (http://mktgdept.com/jquery-crash)
  3.  * A jQuery plugin to crash IE6.
  4.  *
  5.  * v0.0.2 – 5 March 2010
  6.  *
  7.  * Copyright (c) 2009 Chad Smith (http://twitter.com/chadsmith)
  8.  * Dual licensed under the MIT and GPL licenses.
  9.  * http://www.opensource.org/licenses/mit-license.php
  10.  * http://www.opensource.org/licenses/gpl-license.php
  11.  *
  12.  * Use $.crash();
  13.  *
  14.  **/
  15. ;jQuery.crash=function(x){for(x in document.open);};

Script source

Anti IE6 logo

W.I.T.S. projektet er igangsat

Trenden startede i Egå med at jeg smed en version 0.1beta Working-In-The-Sun, eller W.I.T.S, arbejdsplads op. Som det ses, er det tydeligvist indført lidt intermistiske, og ganske midlertidige, løsninger for at undgå at få sol ind på fremvisningsenheden, men som sådan fungerede denne “proof-of-concept” version ganske fint:

W.I.T.S. v0.1 beta

Herfra varede det ikke længe inden version 1.0 stod klar til brug. Blandt forbedringerne er at nævne sikring imod strømforsyningsnedsmeltning, og ikke at forglemme indførslen af en mere intuitiv og brugervenlig afskærmningsteknologi:

W.I.T.S. v1.0

Succes’en bredte sig hastigt på Internettet, og der meldtes ganske få minutter efter udgivelsen af W.I.T.S. v1.0 om branch projekter så langt væk på kloden som i København.

Se således dette ganske imponerende eksempel, hvor der endda er inddraget en ekstra stor fremvisningsenhed:

W.I.T.S. v1.0 branch 1

Her er endnu en afart af W.I.T.S. hvor det bør bemærkes at der er tilføjet en ekstra duft dimension i form af adskillige dekorative beplantningsenheder:

W.I.T.S. v1.0 branch 2

Det skal blive spændende at følge projektets videre fremdrift, og at høre om brugeroplevelser samt evt. nærmest uundgåelige fejl samt fejlrettelsesbestræbelser hertil.

JSLint v1.1 is released!


Jakob Kruse and I have just released version 1.1 of our Yahoo! Widget for validating JavaScript files: JSLint Multi (download link for v1.1). We are also happy to announce that JSLint Multi now is the “official” JSLint widget and that several improvements have been introduced since v1.0, which is why we recommend everyone to update right away.

Since we released version 1.0, Yahoo! has approved and included the JSLint widget on their widget site. If you download and install the latest JSLint Multi from the Yahoo! widget download site you will from here on automatically receive future updates. If you use one of the few browsers which the Yahoo! inpage installer currently support, you’ll be able to install by just clicking the button to the right. Please note that Yahoo! can be a bit slow to update the widget gallery, so it might be a while before version 1.1 ends up there. It has been submitted just now.

Version 1.1 changes include:

  • JSLint has been updated to the 2009-04-19 version.
  • Support for the new “newcap” option has been added, which makes it possible to disable control of constructors required to start with a capital letter.
  • Support has been added for the new “immed” option, which makes it possible to control the recommended syntax for “immediate function invocations”.
  • We have discovered a serious memory leak in the Yahoo! Widget engine itself which we have worked around. As a direct consequence our JSLint Multi widget now use far less memory!
  • Better support for Mac has been implemented, with help from Harry Whitfield.
  • We now use a minified version of JSLint (making the widget much faster).
  • The JSLint engine version being used is now show in the widget title.

We wish all of you Happy Linting!

(It will hurt your feelings though, be warned).