Always a good way to create ajax loaders

http://www.ajaxload.info/

Adding places to google places in unavailable country

Well, you cannot, but you can make a trick, add your local to google Map Marker, and thats all you have to do!
http://goo.gl/3Qeg7

Jquery Plugins i love..

Pajination

Really Flexibl, easy to use and lots of customization options, go ahead and take a look:

http://th3silverlining.com/2010/04/15/pajination-a-jquery-pagination-plugin/

NivoSlider

Definitely NIVO SLIDER is one of the best choices of jquery slider, and of course my favorite!, i want to encourage you to try it, it’s really flexible, easy to customize code and css styles, and it is available for WORDPRESS too!.. Amazing!

One thing you should never forget about jquery

Never ever forget how to ask if an object exist:

if($('#object').length){ ... }
//or
if($('#object').length > 0){ ... }
//or
if($('#object')[0]){ ... }

Use your prefer, and remember: jquery will always return an object( $(‘xxx’) ), even if it doesnt exist, so if you want to know if an object exist you must to do it correctly.

Fix ie 8 select

If you are reading at this post, it’s because you already know the problem,…. so the javascript (jquery) solution to avoid options has the same widht as the select is:

jQuery(document).ready(function($) {
    
    $("xXxxXxXx select").hover(
        function(){
        $(this)
        .data("origWidth", $(this).css("width"))
        .css("width", "auto");        
        },function(){
        $(this).css("width", $(this).data("origWidth"));
    });

});

Jquery 1.7 slideToogle, slideUp, slideDown issue in IE8

Well after reading like 10 different websites, it seems like the problem was because of negative padding and margins, but i did not used negative values at all… so the WTF!!, anyway, you can grab the solution right here:

Chage:

_default:function(a){a.elem.style&&a.elem.style[a.prop]

by:

_default:function(a){if(isNaN(a.now)){return;}a.elem.style&&a.elem.style[a.prop]

Javascript Split() html crossbrower.

I know it sounds a little bit crazy, but it is true, if you do something like this:

InfoArray = $('#myInfo').html().split('<h2>---</h2>');

It will not work in IE 6,7,8. So the first question in your mind: ¿¿WTF??, internet explorer 6,7,8 will see html tags in capital letters: .split(‘<H2>—</H2>’).

So if you want to fix it, you can do something like this using jquery:

if ( $.browser.msie==true && $.browser.version <9)
InfoArray = $('#myInfo').html().split('<H2>---</H2>');
else
InfoArray= $('#myInfo').html().split('<h2>---</h2>');

If you have a better solution, please let me know it!

Uma pagina muito gostosa

If you dont know portuguese, or spanish, better dont visit it, otherwise, it is hillarious:

I’ll talk to the artist to see if i can make some translations!

http://www.dancandosemcesar.com.br/

Easy Custom Post Type Generator

No more headaches just visit this page: themergency.com/generators/wordpress-custom-post-types/ .

It’s really helpful, i usually make a lot of mistakes when i’m writing a new CPT!

Multiple wordpress post thumbnails

I great tutorial to achieve post multiple post thumbnails:

http://www.tristarwebdesign.co.uk/blog/wordpress/multiple-featured-images-for-1-wordpress-post/

Amazing wordpress Tags description Page

http://www.dbswebsite.com/design/wordpress-reference/V3/

WordPress simple tips, advance functionability.

I will UPDATE this post every time i discover a new one!

  1. Count system for post in wordpress

    This will create automatically a new Custom Field for your post count, called “count_page_hits”. If you want to know how to display them visit: http://codex.wordpress.org/Custom_Fields

    function count_page_hits() {
     if(is_single()) {
       global $post;
       $count = get_post_meta($post->ID, 'count_page_hits', true);
       $newcount = $count + 1;
    
       update_post_meta($post->ID, 'count_page_hits', $newcount);
     }
    }
    add_action('wp_head', 'count_page_hits');

    Source: Bavotasan.com

Have you tried PressWork?

I just was hearing Matt Mullenweg (“new caveman look..”) talking about a new wordpress framework called PressWork, so then i tried, if you want to create pages really easy to customize for your clients, i recommend this, you MUST to see it, it’s quite impressive, althoug the idea its not new, first it was develop by PageLines

Visit: PressWork, PageLines

Multiple WordPress Loops Examples

An awesome tutorial, with good examples about WordPress Loops:
Visit: WPVIBE.COM

How and when to use Jquery opacity animations

Explanation about how each method works:

Source: Catchmyfame

A Playground for web developers

If you like to build snippets or just play with javascript go and try JSFIDDLE

Visit: JSFIDDLE.NET

Jquery caching and chaining

Cooming soon!..

Quick tip Flash with Javascript

Remember to put an ID into the flash container, so the AS can recognize and talk to JS and viceversa.