If you’re finding that your Firefox browser is not caching any images (css/javascripts) and loading them multiple times on the same page, check the following cache settings of Firefox by typing in about:config in the browser’s address bar. Both browser.cache.disk.enable and browser.cache.memory.enable values should be set to true in order to enable browser caching in [...]
Continue reading Firefox browser cache setting
a { word-wrap: break-word; } Works for a long text too: p { word-wrap: break-word; } Tested in IE6, IE7, Firefox, Safari, Chrome
Continue reading Wrapping a long url with CSS
By default, jQuery thickbox plugin displays a thickbox overlay window when you click on a link which class is set to thickbox. The following code lets you display thickbox on page load without hacking anything in thickbox code. <script type="text/javascript"> $(document).ready(function(){ tb_show(“Announcement”,”announcement.html?height=300&width=300″, “”); }); </script> Recommended Books on jQuery jQuery Cookbook: Solutions & Examples for [...]
Continue reading Display thickbox on page load
HTML code: <form action="login.php" method="post" id="login"> <fieldset> <legend>Login</legend> <label for="username" class="label">Username</label> <input type="text" name="username" id="username" class="text" maxlength="30" /> <label for="password" class="label">Password</label> <input type="password" name="password" id="password" class="text" maxlength="30" /> <input type="checkbox" name="remember" id="remember" /> <label for="remember">Remember me</label> <input type="submit" name="submit" value="Login" /> </fieldset> </form> Javascript code: The first javacript snippet will be used to store username [...]
Continue reading Store login information in cookie using jQuery
19 Feb, 2009
Conditional IE Comments (to detect IE browser / IE browser version)
Posted in: Tutorials
Code: <!–[if IE 6]> Internet Explorer 6 <![endif]–> <!–[if IE 7]> Internet Explorer 7 <![endif]–> <!–[if lt IE 7]> A version of Internet Explorer which is older than 7 <![endif]–> <!–[if gt IE 6]> A version of Internet Explorer which is newer than 6 <![endif]–> <!–[if gte IE 7]> A version of Internet Explorer which [...]
Continue reading Conditional IE Comments (to detect IE browser / IE browser version)
Someone emailed and told me that they liked the Recent Posts feature on my blog homepage and would like to know how I did it. Well, it is actually very simple, there is no plugin or widget – all you need to do is add the following snippet to index.php of your WordPress Theme. <?php [...]
Continue reading Display 10 recent post titles on homepage
Looking for professional, affordable, beautiful and ready-to-use website templates? Well, your search is over… Website Templates is your one-stop shop for Website Templates and Flash Templates. Our website templates, flash templates and other products are ready-made web designs, that can be used as a basis for fast and high-quality website. They are completely customisable and [...]
Continue reading The Launch of Website Templates
It is not uncommon for a WordPress blog to display a list of all posts in an alphabetical order. I was using <?php wp_get_archives(‘type=postbypost’);?> to display all posts by post title but I couldn’t find a way to sort the post titles in an alphabetical order. After looking at the source code (general-templates.php), I noticed [...]
Continue reading A list of all posts in an alphabetical order
jQuery Calendar Widget Plugin A simple jQuery Calendar Widget Plugin with a month view. You can specify which month you would like to display or have it display the current month. With just 100 lines of Javascript code, this plugin is light-weight and is perfect for its purpose. Recommended Books on jQuery jQuery Cookbook: Solutions [...]
Continue reading jQuery Calendar Widget Plugin
Hello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more 

