Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/webgalli/public_html/blog/wp-includes/plugin.php on line 571

Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /home/webgalli/public_html/blog/wp-includes/plugin.php on line 571
Webdesign Tuts and Resources Archives - Page 2 of 3 - Team Webgalli Blog Archive - Team Webgalli Blog - page 2

Archive for the ‘Webdesign Tuts and Resources’ Category

Recursively walk in a directory and delete all matched files with php

Posted on: July 9th, 2012 by Sarath C 4 Comments

This simple code snippet will help you to recursively walk in a directory and delete all matched files. For example if you have a nested directory with around 10000+ folders and you want to remove all the .txt / .htaccess files inside that directory and sub directories, you ca use the following function. Copy and […]

Lazy load images and save bandwidths of your website

Posted on: June 30th, 2012 by Sarath C No Comments

This tutorial will help you to load your website faster by implementing lazyloading for all the <img> tags. Most of the time server-side render time is probably not the bottleneck of your page performance… Usually its the, the front-end is the most significant contributor to page load time. Things like <img> tags and css images […]

Clean Beautiful Social Media iconset with noise

Posted on: June 28th, 2012 by Raez Mon No Comments

A clean set of Icon’s for your next project. These are a set of icons created by photoshop blending options and filters. The icon set is available to be used in commercial and non commercial design projects. Preview social media clean icon set Download Now Artist: Creative Nerds Iconset Homepage: http://creativenerds.co.uk/freebies/a-clean-noise-social-media-icon-set License: CC Attribution 3.0 Commercial usage: Allowed

Get URL parameters using jQuery

Posted on: June 27th, 2012 by Raez Mon 3 Comments

This simple code snippet will help you in troublesome times to get the query parameters from a URL with jquery / javascript. /** * Function to parse the URL queries */ function get_url_parmeters(url, name) { name = name.replace(/[[]/, “\[“).replace(/[]]/, “\]”); var regexS = “[\?&]” + name + “=([^&#]*)”; var regex = new RegExp(regexS); var results […]

How to get the IP address of users and Country, State and locations

Posted on: June 16th, 2012 by Mohammed Aqeel 18 Comments

Many times we have received the private mails requesting the help to track the IP address of the users. Here is a simple php code to get the IP address of the user. With a little addition to the code, you can get the location details of the user like Country, State and city. Please […]

Asynchronous loading of the tweet button

Posted on: May 24th, 2012 by Raez Mon No Comments

As part of optimization of our home site, we noticed that the tweet button is breaking the page draw flow. It was being loaded in a blocking way so it is slowing down the page. This will create more problems when twitter is down or too busy (which is what happening always!!) So we thought […]

Easily create short URLS with php, curl and goo.gl or bit.ly

Posted on: April 21st, 2012 by Raez Mon 7 Comments

The 140 character limit in twitter has made the necessity of URL shortner services. There are many URL shortening services available like http://goo.gl, http://bit.ly, http://ow.l etc.. You can even have your own short URL service, if you are so much worried about your brand. Deciding which type to use is surely a decision based on […]

Beautiful jQuery home page slideshow with translations

Posted on: January 21st, 2012 by Raez Mon 5 Comments

In this tutorial we will help you to build beautiful homepages with slideshows for your websites. This will let you to have a jQuery powered slideshow on the home page with random effects. We are using the famous Nivoslider plugin for this. The main thing we want to highlight is the lazyload image option integrating […]