Images can be converted to Base64 format and can be used in “data’ URI scheme instead. The data URI for white and black 1×1 px images are provided in this article.
Firebug is on of the famous extension for inspecting web pages in firefox. Now it is possible to use firebug in any browser using Firebug lite. Firebug lite is the small version of Firebug with limited features and usage, but has the full capability. In order to do this, just save a bookmarklet and use it whenever needed. [...]
Watermarks play a very important role in sections of copyright and also in site promotions. But adding custom watermarks to each and every image in site using a Photo-editing software will be painful sometimes. But for regular blogging sites with more images for a single post will definitely be painful. But, adding watermarks to images [...]
Email address are frequently used in each and every posts at the bottom or at the top for contacting the post’s author. But those email addresses get spammed more. Replacements like using images instead of directly typing the addresses are also appreciable. But they can be painful inserting the images directly in each and every [...]
PHP’s date function strtotime () solves the problem of comparing dates and to check whether the user entered date/custom date is expired or not. Inorder to check whether, the custom date is expired or not, we need to do the following steps Get today’s date. Get the date to be checked. Convert the dates to [...]
The site: operator for Google search is pretty useful in getting search results from a targeted site. But it is pretty painful to type the operator site:example.com search term. Recently Google introduced the the "AT" operator which is very useful to get more results from a spefic site. This works similar to the site: operator, [...]
Some useful techniques in debugging PHP are mentioned below Article: http://dev.piwik.org/trac/wiki/HowToSetupDevelopmentEnvironmentWindows Firefox addon – Firephp PHP Extension – Xdebug Using var_dump() <?php var_dump(__FILE__, __LINE__, $_REQUEST); ?> phpEd Zend Studio (5.5) with Zend Platform Using, print_r and echo echo "<pre>";<br>print_r();<br>echo "</pre>";
The .click() and similar functions like .hover() allows to access the elements which are already present. But elements created using .append(), .after(), .before() etc are newly inserted into the page. These newly created elements cannot be accessed using the functions .click(), .hover() as they target only the already present elements. Hence, to resolve this problem [...]
WordPress’s popularity is vast due to its high customization and extensibility. And it is a must to optimize wordpress for best performance. WordPress itself makes your site faster, but it is still recommended to do some optimization works to speed up your site and to reduce bandwidth costs. Below are the list of wordpress plugin to optimize [...]
Triangles can be made easily using CSS also without any images. This trick requires only div tags and some CSS works. To get this trick, just use the code below.