Nickname: Dottoro
Author feed: Dottoro RSS Feed

Latest entries

Large selection lists and fast string concatenation in JavaScript
 Sometimes a selection list needs to be filled dynamically depending on the state of another control (e.g. when the user selects a country and a selection list must contain the cities in this country, or when the user selects a singer and a selection list must contain his/her songs).
Unfortunately, the usual way of creating a selection list with a large number of items is quite slow in Internet Explorer. In the followings, you can find solutions and speed tests for the problem (the speed test was run on an average computer).
February 4, 2010 - 2:28 pm | post
IE7 zoom level problem, where is the mouse pointer?

There are several cases when you need the position of the mouse pointer on a webpage (e.g. if you want to display custom tooltips or elements that follow the mouse).

The question is, how can you set the position of an element to align to the coordinates of the mouse pointer?

The answer seems simple, the cross-browser clientX and clientY properties of the event object retrieve the position of the mouse pointer relative to the top-left corner of the browser window's client area.
January 24, 2010 - 2:28 pm | post
CSS background ... as it is now
Some of the most widely used CSS properties are the background-related properties; with which you can define how the background of various elements is displayed.

With these properties you can set the color or the image displayed as the background. In addition, you have control over the position, the repetition type (horizontal, vertical, both or neither) of the image. Furthermore, you can set whether the image should scroll with the contents or should stay in a fixed position during scrolling. In this article, you can see these functionalities demonstrated in examples among other things.

October 10, 2009 - 2:27 pm | post
13 amazing free fonts for your website
Why 13? It's only by accident, I wanted to make a top 10 list, but I just couldn't miss any font that I like.
Text content is the biggest part of an informative website, so it's particularly important to choose the perfect font and textual layout. That is even more true when using pre-made templates. The easiest way to make your site unique is to use custom fonts.
October 1, 2009 - 2:26 pm | post
64 high-ranked blogs for developers
The following list contains personal blogs that have at least pagerank 6 and are written in English for developers.
Some of them are about specific technologies, some of them are more general and some of them are not only for developers.

I hope everybody can find some useful blogs in the list.

The OPML file for the RSS feeds of these blogs can be downloaded from here: 6+devblogs.xml.
September 27, 2009 - 2:24 pm | post