[jQuery] Re: Using jQuery in Wordpress

2008-01-07 Thread Gerry Tucker
This page 
http://scratbycoastalerosion.org.uk/gallery/?photoset_id=72157603031152209view=slideshow
 from one of my Websites is using enqueued jQuery and the Cycle plugin for a 
gallery.

My own shameless plug.

Gerry

--
From: Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED]
Sent: Monday, January 07, 2008 7:25 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Using jQuery in Wordpress

 
 -Original Message-
 From: Benjamin Sterling [mailto:[EMAIL PROTECTED] 
 
 Not sure how to include what they have in the core, but I 
 think it is out of date anyways. 
 
 
 I didn't even mess with trying to get whatever is included working - I
 didn't want to get stuck using an old version, etc.  I just dumped
 jQuery in the root of my site and called it in my template header.php...
 
 Shameless plug for my wife's site:  http://www.yourdoorandmore.com/
 
 I want to next build a little gallery using the cycle plugin w/pager as
 well...
 
 http://www.malsup.com/jquery/cycle/pager3.html
 
 Jim
 
 
 
 
 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.516 / Virus Database: 269.17.13/1212 - Release Date: 06/01/2008 
 22:55
 


[jQuery] Re: Using jQuery in Wordpress

2008-01-07 Thread Gerry Tucker
Sean,


JQuery in WP 2.3.2 is up to version 1.1.4. I imagine at WP 2.5 it will move to 
v1.2.x.

In your header file (header.php) you need to add the following line BEFORE 
the line that reads ?php wp_head(); ?.

?php wp_enqueue_script('jquery'); ?

so that it reads:

?php wp_enqueue_script('jquery'); ?
?php wp_head(); ?

Gerry



From: Benjamin Sterling 
Sent: Monday, January 07, 2008 7:01 PM
To: jquery-en@googlegroups.com 
Subject: [jQuery] Re: Using jQuery in Wordpress


Sean O,
I just include it in my theme:

script type=text/javascript src=?php 
bloginfo('template_directory');?/common/js/jquery-1.2.1.min.js/script

Not sure how to include what they have in the core, but I think it is out of 
date anyways. 


On 1/7/08, Sean O [EMAIL PROTECTED] wrote: 


  So I'm trying to use jQuery in Wordpress (2.3.2)...  Mostly for site
  design/effects now, eventually for posts too, if possible.  It looks like
  jQuery is in the WP core now, but when I Firebug a few $() functions, I get 
  errors.

  Any trick to getting this going?  Googling provided sparse / old articles.


  Thanks,

  SEAN O
  ___
  www.sean-o.com
  --
  View this message in context: 
http://www.nabble.com/Using-jQuery-in-Wordpress-tp14672948s27240p14672948.html
  Sent from the jQuery General Discussion mailing list archive at Nabble.com.





-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
http://www.benjaminsterling.com 





No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.17.13/1212 - Release Date: 06/01/2008 
22:55


[jQuery] Re: Using jQuery in Wordpress

2008-01-07 Thread Gerry Tucker

Sean,

JQuery in WP 2.3.2 is up to version 1.1.4. I imagine at WP 2.5 it will
move to v1.2.x.

In your header file (header.php) you need to add the following line
BEFORE
the line that reads ?php wp_head(); ?.

?php wp_enqueue_script('jquery'); ?

so that it reads:

?php wp_enqueue_script('jquery'); ?
?php wp_head(); ?

This page 
http://scratbycoastalerosion.org.uk/gallery/?photoset_id=72157603031152209view=slideshow
from one of my Websites is using enqueued jQuery and the Cycle plugin
for a gallery.

My own shameless plug.
Gerry


On Jan 7, 7:42 pm, Sean O [EMAIL PROTECTED] wrote:
 Ben, Jim, thanks for the replies.

 I was ready to just hack it in myself, but I haven't worked with Wordpress
 in quite some time and remember it being fairly fragile.  I'll give your
 code a shot, Benjamin.

 Shameless plug for my wife's site:  http://www.yourdoorandmore.com/

 @Jim: my wife is looking for this very thing - a pen  ink drawing of her
 childhood home.  Can you work with photographs? (we're in PA)  Contact me
 off list:  seanodotcom -at- yahoo -dot- com

 Thanks,
 SEAN

 Priest, James (NIH/NIEHS) [C] wrote:







  -Original Message-
  From: Benjamin Sterling [mailto:[EMAIL PROTECTED]

  Not sure how to include what they have in the core, but I
  think it is out of date anyways.

  I didn't even mess with trying to get whatever is included working - I
  didn't want to get stuck using an old version, etc.  I just dumped
  jQuery in the root of my site and called it in my template header.php...

  Shameless plug for my wife's site:  http://www.yourdoorandmore.com/

  I want to next build a little gallery using the cycle plugin w/pager as
  well...

 http://www.malsup.com/jquery/cycle/pager3.html

  Jim

 --
 View this message in 
 context:http://www.nabble.com/Using-jQuery-in-Wordpress-tp14672948s27240p1467...
 Sent from the jQuery General Discussion mailing list archive at Nabble.com.- 
 Hide quoted text -

 - Show quoted text -


[jQuery] Fw: [jQuery] Using jQuery in Wordpress

2008-01-07 Thread Gerry Tucker

Sean,

In your header file (header.php) you need to add the following line BEFORE 
the line that reads ?php wp_head(); ?.

?php wp_enqueue_script('jquery'); ?

so that it reads:

?php wp_enqueue_script('jquery'); ?
?php wp_head(); ?

Gerry


 --
 From: Sean O [EMAIL PROTECTED]
 Sent: Monday, January 07, 2008 6:49 PM
 To: jquery-en@googlegroups.com
 Subject: [jQuery] Using jQuery in Wordpress



 So I'm trying to use jQuery in Wordpress (2.3.2)...  Mostly for site
 design/effects now, eventually for posts too, if possible.  It looks like
 jQuery is in the WP core now, but when I Firebug a few $() functions, I 
 get
 errors.

 Any trick to getting this going?  Googling provided sparse / old 
 articles.


 Thanks,

 SEAN O
 ___
 www.sean-o.com
 -- 
 View this message in context: 
 http://www.nabble.com/Using-jQuery-in-Wordpress-tp14672948s27240p14672948.html
 Sent from the jQuery General Discussion mailing list archive at 
 Nabble.com.





 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.17.13/1212 - Release Date: 
 06/01/2008 22:55