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

Comments Off

25 Feb, 2009

Wrapping a long url with CSS

Posted in: CSS,Snippets

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

20 Feb, 2009

Display thickbox on page load

Posted in: Snippets

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

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

07 Feb, 2009

The Launch of Website Templates

Posted in: Design

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

Profile PicHello! 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 about me or have a look at some of the tips & resources I've written.
Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
We do NOT spam.
Your name:  
Your email:  

Tips & Resources

Tips & Resources
WordPress Web Hosting
Recommended web hosting providers for WordPress 3.0
iPhone Native App Development
Important steps into iPhone app development for beginners
iPhone Web App Development
Tips for iPhone web app development
Coupons for Web Developers
Get discounts on web hosting, domain names, templates, etc
10 Useful jQuery Snippets
Easy-to-use jQuery snippets for any website
HTML Email Newsletter
Step-by-step tutorial on how to code an HTML email newsletter
  • bluehost Hosting $6.95/month
  • Joomla Templates