It is pretty easy to embed an iPhone-optimized video in any website you are designing. Which can be a nice flourish to welcome the growing hordes of iPhone users who might be visiting your site soon. All video format is not playing in iPhone or iPad. The most commonly used format is m4v and it… Continue reading Embed iPhone Friendly Videos on your Website
Month: May 2012
Create multi level drop down menu in css
This is pretty simple to create a multi level drop down menu in css. But it’s true that it doesn’t have such flexibility that javascript have. And also the width of drop down section needs to be fixed, not flexible. Now a days css drop down menu is not widely used, but it is very… Continue reading Create multi level drop down menu in css
Change input type text to password type onclick – JQuery
Sometimes we need to change input type text to password type when user click on it. It should like more attractive. This is very simple. Here is the code for jQuery, just set a class name e.g. pw for that input field: $(‘input.pw’).each(function() { var val = $(this).attr(‘value’); if(val != ”) { $(this).focus(function() { var… Continue reading Change input type text to password type onclick – JQuery