Category Archives: Uncategorized

Just a test. Delete this post

here, i can write some text

this is a quote

another quote.

this is a preformatted text.
suitable for displaying code.

IIS7: Page runs fine but cannot access (or zero byte) CSS nor JS files.

Symptom:
IIS7: Page runs fine but cannot access (or zero byte) CSS nor JS files.

Solution:
Enable “Static Content” feature.

Solution details:
1.) Control panel
2.) Search “Turn Windows features on or off”
3.) Enable the following:
– Internet Information Services -> Web Management Tools -> IIS Management Console
– Internet Information Services -> World Wide Web Services -> Application Development Features -> ASP.NET
– Internet Information Services -> World Wide Web Services -> Common HTTP Features -> Static Content

Notes:
This solution has been tested in Windows 7 SP1 64bit Ultimate

FIXED: Uniform JS empty SELECT bug

Uniform is a jQuery plugin that customizes the look of html form elements. Definition from the Uniform author:

Uniform masks your standard form controls with custom themed controls. It works in sync with your real form elements to ensure accessibility and compatibility.

Download it from http://uniformjs.com

If you have an empty dropdown element (that is – a SELECT without OPTION), Uniform will result in an unhandled exception: “args[0] is null”

The fault is at line 173 of uniform.js. The offending line is:

spanTag.html(selected.html());

To fix it, simply replace it with:

spanTag.html(selected.html() + '');