[jQuery] ActiveX activation with jquery minified

2008-12-01 Thread Vinoj
Has anyone had any trouble getting the dreaded ActiveX activation even while using JQuery Minified? I know that there's an issue with using the packed version and that there are some workarounds with that. And at first, I figured it had to do with the jquery sifr plugin which was being implemente

[jQuery] next() in a function

2008-11-24 Thread Vinoj
I'm having some trouble with next() and after reading through the posts I don't think it's similar to what has already been posted. The ideal behavior that I'd like is for the (which is hidden at first) to be shown when the anchor tag above it is clicked. There is some extra behavior also throug

[jQuery] Re: Adding class to a parent element- traversion help?

2008-10-01 Thread Vinoj
tent); // "\s" is a shorthand for > whitespace/line breaks > > }).parent().addClass("none"); > > This will exclude from your selector all elements that have only > whitespace in it. Be weary that regexes are slow, you don't want this > code looping over a t

[jQuery] Re: Adding class to a parent element- traversion help?

2008-09-30 Thread Vinoj
@Michael Geary -- Thanks, now I get it. But the code is being output by a CMS, which has some whitespace that is output. So then truncate the whitespace? @FrenchilNLA -- It seemed to make sense, but this didn't work as long as I had that extra space. Once I took out the whitespace that Michael Gea

[jQuery] Adding class to a parent element- traversion help?

2008-09-30 Thread Vinoj
I've got the following as my jquery code: $(document).ready(function() { $(".bc-wrapper:empty").(this).parent().addClass("none"); }); And the html is: The css is as follows: .bottom-content { display: block; width: 215px; border: 1

[jQuery] Using :empty for blank divs

2008-09-26 Thread Vinoj
I've got the following in the of my document: $(document).ready(function() { $(.bc-wrapper:empty").addClass("none"); }); and in the , The class that it's calling, "none" is simply a display: none from the stylesheet. So basically, if the div doesn