Category: JavaScript

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% …

Source Code -> Iframe with 100% Height Read More »

Tagged with: , , ,

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 …

HTML5 and pushState Read More »

Tagged with: , , , ,

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“, …

JavaScript – First key from associative array Read More »

Tagged with: , , ,