[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
b/c i can't ever seem to get the ui accordion to work on my wordpress. it works fine on my html demo page but not on the wordpress page.

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
cestor") > > $(this).find("ul") is the same selector, and in fact, the core code > converts the first selector to the second > > // HANDLE: $(expr, [context]) > // (which is just equivalent to: $(content).find(expr)} else > >    return jQuery( context ).find(

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
could you explain how to read $("ul", this).slideUp("slow"); the ("ul", this) has me confused. i just want to make sure i learn something from this instead of just copying and pasting code. thanks! On Dec 10, 9:34 am, mojoeJohn wrote: > thanks so much it wor

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
(){ >                                         $("ul", this).slideUp("slow"); >                                         } ); > >                 }); > > - > > On Dec 10, 2:34 am, mojoeJohn wrote: > > > sorry i forgot to add the ul in the sublink men

[jQuery] Re: simple accordion problem

2009-12-09 Thread mojoeJohn
sorry i forgot to add the ul in the sublink menus: here is the correct layout: Link Head Sub Link Sub Link Sub Link Sub Link Link Head Sub Link Sub Link

[jQuery] simple accordion problem

2009-12-09 Thread mojoeJohn
i'm trying to write my own accordion script. things are almost done, but im having one problem. here is the layout: Link Head Sub Link Sub Link Sub Link Sub Link Link Head Sub Link Sub Li

[jQuery] IE7 not loading jquery in WP

2009-10-22 Thread mojoeJohn
jquery isn't loading right in IE 6 & 7 on http://centermassshootingschool.com/ you can look at the source code, but essentially this is where the problem is ... $(document).ready(function(){ $("#tabs").tabs({fx:{opacity:'toggle'}}); $('.slideshow').cycle({ fx:'fad

[jQuery] .load() function control

2009-06-22 Thread mojoeJohn
I'm loading content with the .load() method. How do i only allow one click to the link. I don't want future clicks to keep loading the same content. $(document).ready(function(){ $("#FAQ").click(function(){ $('').load("content.htm #faqs" , function(){ $(this).hide()

[jQuery] Re: jQuery text toggle effect

2009-06-21 Thread mojoeJohn
n't wrap around "clients" could someone explain what this line does: $(this).text($(this).text() == 'Show box' ? 'Hide box' : 'Show box'); i don't like to have solutions unless i can understand the answer. it'll help me learn better. O

[jQuery] Re: jQuery text toggle effect

2009-06-21 Thread mojoeJohn
7;slow'); >       var currentText = $('span', '.showhide').text() >         if (currentText == 'Hide') { >            $('span', '.showhide').html('Show') >        } else { >           $('span', '.showhide').html('H

[jQuery] Re: jQuery text toggle effect

2009-06-21 Thread mojoeJohn
thanks MATT! On Jun 19, 3:55 pm, Matt Kruse wrote: > On Jun 19, 9:02 am, mojoeJohn wrote: > > > obviously, i want thetexttotogglethe words "show" and "hide" in > > accordance to the slidetoggle. > > I keep this in my toolbox: > > //Tog

[jQuery] Re: jQuery text toggle effect

2009-06-19 Thread mojoeJohn
> $(".showhide").click(function() { >     $(this).children(".clients").slideToggle('slow'); >       var currentText = $('span', '.showhide').text() >         if (currentText == 'Hide') { >            $('span', '.showhid

[jQuery] Re: Debugging tips

2009-06-19 Thread mojoeJohn
t; tutorials, such as this one: > > http://alternateidea.com/blog/articles/2006/05/12/an-in-depth-look-at... > > --Karl > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jun 19, 2009, at 10:26 AM, mojoeJohn wrote: > > > > >

[jQuery] Debugging tips

2009-06-19 Thread mojoeJohn
Where is a good article or site to find tips on how to use firebug to debug jQuery. I know all about how to debug css and html, so firebug is not new to me at all. However, I'm unfamiliar with its javascript debugging capabilities. Can anyone help? Thanks!

[jQuery] Re: Image resize

2009-06-19 Thread mojoeJohn
resize it in what way? on a hover or an image replacement or what? On Jun 18, 11:25 pm, bharani kumar wrote: > Hello Friends , > > How to resize the image using jquery , > > Thanks > > B.S..Bharanikumar

[jQuery] jQuery text toggle effect

2009-06-19 Thread mojoeJohn
So i was looking on here yesterday, and i've been scouring the Web for a simple text toggle tutorial. I haven't been able to find one -- maybe i'm not looking in the right places, but anyway. so you can probably tell what i'm trying to achieve just by my subject line. I have a div of images calle

[jQuery] Re: jquery beginner question

2009-06-18 Thread mojoeJohn
thanks ravi. i appreciate the help! On Jun 18, 4:26 pm, ravi wrote: > On Jun 18, 2009, at 2:03 PM, mojoeJohn wrote: > > > so how do i only act on one logo at a time without having to > > individually number each logo on the page? > > Use "this". I am a newbie m

[jQuery] jquery beginner question

2009-06-18 Thread mojoeJohn
I'm doing a logo display for my company site and I want the caption to fade in each time you hover over the logo and to fade out when you hover away. I've got that part squared away, but I wanted to know how to edit my code so that i can reuse my classes for each logo on the page. Right now if i h

[jQuery] simple beginner question

2009-06-18 Thread mojoeJohn
I'm doing a logo display for my company site and I want the caption to fade in each time you hover over the logo and to fade out when you hover away. I've got that part squared away, but I wanted to know how to edit my code so that i can reuse my classes for each logo on the page. Right now if i h