With application cach it is easy to make an offline version of a web application, by creating a cache manifest file. HTML5 introduces application cache, which means that a web application is cached, and accessible without an internet connection. Application cache gives an application three advantages: Offline browsing – users can use the application when they’re offline Speed – cached resources load faster Reduced server load – the browser will only download updated/changed resources from the server

Read More...

It is right time to share one of nice article with you freinds…. Recently i started working on making websites for mobiles(iPhone). I had a great experience with it. I come across with the image orientation issue with banner in home page. I have done some research on it. Finally i could get the solution for it. My requirement is that: I need to apply the class dynamically based on the mobile orientation. If mobile is oriented in portrait mode then the widh of banner should be 320px and apply some styles. In other case, If mobile is oriented in landscape mode then the widht of banner should be 480px and apply some styles

Read More...

Hello Friends, I would like to share small topic related to image resizing functionality in PHP here. I have used timthumb script for image resize functionality. It is open source script. We can feel free to use it and share it to others. It has beautiful functionality for image resizing. Recently i have been asked by my client regarding image resizing as “Images should be resized but it should not be distorted”.I tried very hard to make the images resized but i could fail to resize them according to aspect ratio. Then i googled┬á for it and i could find the solution as “Timthumb is good solution for you in this case”. I downloaded the timthumb script and used it. It is working great and [&hellip

Read More...

Would you like to know with what keyword takes user to your site form google/bing/yahoo? If yes it is right place for you to know about it. You can simply know about it by going through google analytics. But i dont go for GA for this small thing. I just want to show visitors for of my site in my personal admin area. To achieve this i have written small php code. Please have a glance on it. The following is the small php code to know the keyword used by visitor of your site. You just copy this code and save it in one php file. Also you can integrate it into any of your webpage

Read More...

Hi Friends, I would like to share small javascript code which is aimed to provide add more option to your static HTML form. I used this code to provide add more option to add additional fields in my HTML form. It is working great. It might be useful for you.´╗┐ Open your HTML document and add the following javascript code in your head tag . This code is to create and remove dynamic div for HTML document. Javascript function to create dynamic div

Read More...

Hi, I am working on LAMP stack. I enforced to install the curl library in-order to run the curl functions. curl is the php library which provides functions to get the content remote location. And it allows us to communicate different web-servers with different protocols. So i installed the curl library in my ubuntu system by using following commands. Assume that you have already working with LAMP stack then. Go to terminal and run the following command: Applications –> Accessories –> Terminal

Read More...