Quantcast
Channel: Azhar Kamar » Snippets
Browsing all 10 articles
Browse latest View live

Hide DIV/SPAN Element Automatically After a Few Seconds Using jQuery

One of the many ways to get 100% attention from your website visitors is to interact with them using popups. Nope, not the 90s, ugly, annoying popup but the neat jQuery modal one. And sometimes you...

View Article



Left Click ‘Save Target As’ PHP Script

Here’s an easy peezy PHP script to mimic the Right click > Save Target As… (or Save Link As, Save Image As, etc.) action in browsers. This script allows you to simply left click and the file dialog...

View Article

CSS3 Codes for Rounded Corners

Since Dreamweaver or any web editing software doesn’t do auto-complete for CSS3 rounded corner properties, I find it helpful to have this here. So whenever you wanna throw in rounded corners for your...

View Article

Image may be NSFW.
Clik here to view.

2 Useful WordPress Admin Hacks

I’ve been using WordPress for just almost 2 years and there are generally 2 features that I would love to change in the WordPress admin. First is the autosave feature and second, the post revisions....

View Article

10 Useful jQuery Snippets for Creating Fade Effects

jQuery is being used by more and more web designers nowadays to create simple animation in web pages. One of the most commonly used effect is the fade in/out effect which is used in image slideshows,...

View Article


SQL Query in phpMyAdmin to Change All Passwords to MD5

Hello there folks! Ok, so here’s the story. I had to batch create Joomla users (about 4000 of them) from an excel file that my client provided. So I created all the users successfully (using...

View Article

Image may be NSFW.
Clik here to view.

How to Edit the Footer in Your WordPress Backend

Here’s a simple way to modify the footer in your WordPress backend, just by adding a function in your theme’s functions.php file. You can change to any text you want or simply remove it completely....

View Article

How to Add a ’selected’ Class to the Menu Link of the Current Page using jQuery

Differentiating the menu item of a current web page from other menu items is pretty important, generally because it enhances user experience as it instantly tells the user exactly which part of the...

View Article


How to Increase the Maximum File Upload Size in WordPress

My blog has been using the Download Monitor WordPress plugin for about 2 years now and I’ve been loving it since. So when a client wanted a function whereby admins can upload files from the backend for...

View Article


Automatic Redirect to Mobile Website using JavaScript

Developing a Mobile site? Want users to be automatically redirected when they access it from a mobile device? Well I think I’ve got a nice piece of JavaScript that will do just that. But firstly I’d...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images