Drag and Drop File Uploader
If you are feeling bored using same kind of html uploader, this article would help you much. Here we are using drag and drop option. Almost every browser is now has support for drag and drop upload system. Some web sites are using this for most upgraded UI. Here is a sample code for instance. The HTML...
Content cache an retrieve with PHP
Website with huge database is often slower when pulling data from another feed. It’s a total harass when hitting your database again and again after knowing it’s not changing so frequently. This snippet can query after the database updates. And it fetches data from cached content when database is...
Simple Animation
Making an animation using JavaScript is simple. Here is a script for moving an image right. Save image after naming ‘arrow.jpg’ in server root. Save this file ‘arrow.html’. Click start to animate image.   <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html...
Moving Background with CSS
Sometimes you can think it’s impossible to create moving background only using CSS. But with a little touch of JavaScript can makes it happen. Here is an example where background is stunningly moving. HTML: <div id=”background”><a href=”/” id=”Logo”></a> <div...