•  
Posts Tagged ‘jQuery’

Think outside the box

By Austin On November 5, 2009 1 Comment

Start

Click here to continue reading


How to: show/hide a widget in WordPress with jQuery

By Austin On May 11, 2009 5 Comments

In

Click here to continue reading


Remove the title attribute using jQuery

By Austin On March 11, 2009 6 Comments

In WordPress, when you use wp_page_menu your anchor attribute’s usually carry a title with the same name. I’m not sure if it’s correct to do this, but it bother me when I hover over a page menu navigation link and I get a hover of the title.

So on my site I used jQuery to remove the title:

$("#nav a").removeAttr("title");

Pretty simple huh? Click here to continue reading



How to: Open external links in a new window

By Austin On March 1, 2009 5 Comments

Over the weekend, I attended WordCamp Denver, and I was asked by John Hawkins how to force links to open in a new tab with out editing the source code. So, today lets learn a simple jQuery trick to open all external links in your site in a new tab or window. We are going to make sure you have jQuery active on your site, you can do this easily in WordPress, since it’s bundled with the latest installations. Use this code in your header: <?php

Click here to continue reading


How to: Show/Hide any div box with jQuery in WordPress

By Austin On February 2, 2009 38 Comments

If you take a look at my current sidebar (right) and see the heading Google Search you’ll notice that when you click it the Google Search box show’s into view.

Let me show you how this is done.

First make sure that your WordPress site is calling jQuery, buy pluggin this code into our header.php file above the <?php wp_head(); ?> text:

<?php wp_enqueue_script('jquery'); ?>

Then anywhere above the </head >, plug this code in:

<script type="text/javascript"> jQuery(document).ready(function() { // hides the slickbox as soon as the DOM is ready jQuery('#toggle-search').hide(); // toggles the slickbox on clicking the notedClick here to continue reading


Flip! A jQuery plugin

By Austin On December 8, 2008 No Comments

I just came across a interesting new plugin built on the wonderful jQuery library. It’s called Flip!, head on over and check out the cool demo! Click here to continue reading



JDidIt.com

By Austin On December 1, 2008 No Comments


Comment Validation

By Austin On November 24, 2008 No Comments

Another plugin I am using on this site: Comment Validation by Jörn Zaefferer.

From Jörn’s site:

Why should you install it? Because you care for comments and want to help users reduce mistakes that hold them off from commenting at all.

Whats the technology used? jQuery and the jQuery Validation plugin with a few customizations to make it fit into the standard WordPress theme.

Is it compatible with other plugins? The plugin is tested with the Draw Comments plugin and works, though

Click here to continue reading