# element

  • Must-see _ 2017-01-02

    8 Years of blogging

    The first article on this blog is published on 22th of August 2008. It’s about a website which I saw at FWA. Eight years later I’m still publishing stuff here and because it is the beginning of a new year I decided to give you some statistics.

    → Read more

  • JavaScript _ 2016-01-14

    Unexpected usage of Array.length

    I like reading code of other developers. It’s a nice way to learn patterns, techniques and small tricks. Recently I found something about Array.prototype.length which caught my attention.

    → Read more

  • CSS3 _ 2015-09-17

    CSSSteal - Chrome extension that extracts CSS

    We had to update some of our old pages adding new elements. This means mixing old and new code. Placing HTML markup and JavaScript in legacy pages is not that difficult. Yes, it brings some issues but they are easily solvable. However, the CSS is a whole new story. That’s why I did CSSSteal. It helps me extract the needed styles.

    → Read more

  • JavaScript _ 2014-02-28

    Mastering the DOM access

    If you build web applications you probably communicate with the DOM a lot. Accessing and manipulating DOM elements is the thing which we do almost every day. Very often we collect information from different controls, we need to set values, change the content of div or span tags. Of course there are million libraries which handle these actions. The most popular jQuery, is de factor a standard. However, sometimes you need something smaller. In this article we will build our own class for managing DOM elements.

    → Read more

  • JavaScript _ 2014-01-23

    Revealing the magic: How to properly convert HTML string to a DOM element

    This seems like a trivial task. However, it is not. There are few popular solutions, but they have a big problem and if you use them a lot you will spot the issue.

    → Read more

  • JavaScript _ 2013-11-08

    An alternative JavaScript for loop syntax

    As javascript developers we all have to write a lot of for loops. Before a couple of months I saw an alternative syntax, which I really liked. It saves some time and it looks much nicer. However, one of my colleagues reported that this fancy syntax is not working as it should.

    → Read more

  • CSS3 _ 2013-09-27

    Select drop-down broken under Firefox

    Firefox has problems if you use