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%

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in CSS, JavaScript, Small Tips 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

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in HML5, JavaScript, jQuery 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

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in CSS, Small Tips 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

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in CSS, Small Tips 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“,

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in JavaScript, Small Tips Tagged with: , , ,