Category: Web stuff

Source Code -> Iframe with 100% Height

Ever wonder how to create an iframe that fills the entire height (and width) of a page? You probably tried writing something like: [cc lang=”html” escaped=”true”]<iframe width=”100%” height=”100%”></iframe>[/cc] and expected the iframe to fill up whatever it could. The width=100%

Tagged with: , , ,

HTML5 and pushState

Nowadays JavaScript and more particularly AJAX is used in every type of web applications. The asynchronous data loading is great asset of AJAX but it has one drawback, the user can’t use back/forward buttons of the browser to navigate through

Tagged with: , , , ,

Debugging with CSS – outline all elements

Sometimes document structure and layout could be very difficult and complex. To achieve some goals designers tend to use a lot of nested elements in their code and after that style them with CSS. What if you want to see

Tagged with: , , , , ,

Rotate element with CSS3 and some tricks

I see many people are playing around the net with the new CSS3 features. The biggest problem is that some features are still not very well or at all adopted by some browsers. Since Microsoft had officially announced the IE6

Tagged with: ,

JavaScript – First key from associative array

Working with arrays is very beneficial for every developer in every language. But in different languages some operations are done differently. Very good example is retrieving first key from an associative array in JavaScript. In PHP you could use “foreach“,

Tagged with: , , ,