[jQuery] Re: The jQuery Prototype Object and Working with Others' jQuery Plug-Ins

2009-05-09 Thread tres
Hey guys, On the topic of namespacing, I have also found 'pollution' of the core a problem. I recently worked for a company that had over 30 plugins and I did run in to conflicting problems, especially with jQuery UI, which is one reason I stay away from it amongst others. If you are interested

[jQuery] Re: jQuery.support -- No direct support for IE6 detection

2009-04-07 Thread tres
I think that since user agent and version detection is merely deprecated at this point, it would be safe to use it to detect IE6 given this circumstance, if you absolutely need to. There is no way to tell, but by the time it is pulled out of jQuery, IE6 will be long gone (hopefully). That being s

[jQuery] Re: partial step form validate

2009-03-17 Thread tres
Actually, if it's input elements within a step: $('#the-step-parent-element :input'); -Trey On Mar 18, 8:56 am, tres wrote: > Actually, to select all the elements in a specific form, all you need > is: > > $('#your-form :input'); > > -Trey > &

[jQuery] Re: partial step form validate

2009-03-17 Thread tres
Actually, to select all the elements in a specific form, all you need is: $('#your-form :input'); -Trey On Mar 17, 12:43 pm, Led wrote: > See it here > > http://d61628.tinf28.tuganet.info/132/1.htm > > On 17 Mar, 01:30, Stephen Sadowski wrote: > > > Hey, > > > I'd go with $('#form input,sel

[jQuery] Re: Form inside Form value

2009-02-28 Thread tres
bmits the parent form instead. -Trey On Feb 28, 12:31 pm, Po01 wrote: > Can you give me a different way? > I cant believe its impossible to get the value of a field inside a > form when both are inside another form. > Thanks. > > On 27 fev, 18:34, tres wrote: > >

[jQuery] Re: Form inside Form value

2009-02-27 Thread tres
Do it a different way. On Feb 28, 6:20 am, Po01 wrote: > Oh, and i know its not under "webstandarts" but i really need to get > the value. > Yes the email is the name of the label field. > > On 27 fev, 16:14, Po01 wrote: > > > Tried the $("form2 field").val(); but remember that form2 is a > >

[jQuery] Re: A question for John Resig

2009-02-19 Thread tres
Thanks for clearing that up John. -Trey On Feb 19, 10:07 am, John Resig wrote: > > Why implement jQuery.isFunction when you can also just go typeof > > variable == 'function'? > > You can see some of the cases that we handle that normal typeof can't, > here:http://dev.jquery.com/browser/trun

[jQuery] Re: A question for John Resig

2009-02-18 Thread tres
Why implement jQuery.isFunction when you can also just go typeof variable == 'function'? -T On Feb 19, 7:54 am, Kean wrote: > Seems like my hunch is incorrect, thanks for correcting. > > On Feb 18, 12:43 pm, Matt Kruse wrote: > > > On Feb 18, 2:20 pm, Kean wrote: > > > > While it would not

[jQuery] Re: Lightbox working local not live?

2009-02-15 Thread tres
Works for me. Tested in IE7, FF3, Safari 3, Chrome. Assuming Opera 9. -Trey On Feb 15, 4:04 am, Gavin wrote: > Hello, I'm currently working on my own website and I got everything to > work perfect locally, but when I upload live, lightbox fails to work. > My jFlow still works, it's just light

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-13 Thread tres
the page > and switch there focus to there. > > On Feb 12, 11:23 pm, tres wrote: > > > I've created a lightbox plugin called Darkbox. If it's more for > > content, I also have a Window plugin for dialog windows that might fit > > the bill. There are many pl

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-12 Thread tres
I've created a lightbox plugin called Darkbox. If it's more for content, I also have a Window plugin for dialog windows that might fit the bill. There are many plugins in the jQuery plugin repository in this area. Perhaps you could elaborate on your situation. -Trey On Feb 12, 8:39 pm, WC wro

[jQuery] Re: Finding the last sibling.

2009-02-12 Thread tres
I don't think the cat has any skin left. Or does it? -Trey On Feb 13, 3:14 am, mkmanning wrote: > If the input doesn't exist, then wouldn't nothing be returned with $ > ('input').parent().children(':last')  either? It seems to presume the > existence of the input :) > > Maybe you meant if the

[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-12 Thread tres
M, in it's original state on XP, or with multiple IE's? Another question would be, which version of jQuery are you using and have you cleared the ie6 cache? Sorry that didn't work for you. -Trey On Feb 13, 9:56 am, tres wrote: > I'll install multiple IE's and get back to

[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-12 Thread tres
I'll install multiple IE's and get back to you. -Trey On Feb 12, 7:05 pm, mofle wrote: > Thanks, you're a genius. > > But it didn't work in IE6, where I need it. > > Any solution? > > On Feb 12, 12:32 am, tres wrote: > > > Oh and also Safari 3.1.2 Windows. > > > -Trey

[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-11 Thread tres
Oh and also Safari 3.1.2 Windows. -Trey

[jQuery] Re: Only show 5 list item, hide the rest?

2009-02-11 Thread tres
I think this is what you are looking for. I've included all of the code I used. Tested in IE8 beta 2 (in IE7 compatibility mode), Chrome 1.0.154.48, FF 3.0.3, Opera 9.62. Hope this works, -Trey jQuery(function($) { var ul = $('ul'), lis

[jQuery] Re: Passing a Index to a function

2009-02-10 Thread tres
var li = $('ul li'); li.bind('click', function() { alert(li.index(this)); }); ...works for me. Also, if you are calling jQuery on the same set of objects more than once, it is wise to set a reference to it instead of re calling it more than once. Instead something such as this: $('ul li

[jQuery] Re: Validation Plugin

2009-02-05 Thread tres
You can with my form validation plugin. http://shugartweb.com/jquery/form There is an option that you can pass called 'ignore'. It is a selector for all fields that should be ignored in validation. By default it is ':hidden', but you can put anything in there such as ':hidden, [value="default va

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread tres
It is being used and is stable in an enterprise environment so I shouldn't say "alpha". The only reason I said that was because I do want to do a lot more work to it and the api might change. Trey On Feb 5, 9:42 am, tres wrote: > Varun, > > I've actually solve

[jQuery] Re: validation plugin and ui tabs

2009-02-04 Thread tres
Varun, I've actually solved a problem like this for the company that I work for. I have 5 tabs, all located within 1 form. I also had to label the tabs that had errors and focus the first one that had errors. This is simply unachievable without a bit of "hacking" with the .validate() plugin. Don'

[jQuery] Re: Not working in IE

2008-11-03 Thread tres
It does show up (in IE7), but it doesn't take into account the scroll offset and just places itself at the top of the page and is only assigned the height of the viewport, not the document. What it should do is make itself the height and width of the document and problem solved (even when scrollin

[jQuery] Re: putting jquery inline

2008-10-24 Thread tres
Not to state the obvious, but did you make sure that the path to the jquery is correct? Trey On Oct 25, 4:39 am, snacktime <[EMAIL PROTECTED]> wrote: > When I include jquery inline in the body via a script tag I'm getting > jquery not defined errors.  Is there a reason why this approach can't >

[jQuery] access the selector used to retrieve an object set

2008-10-22 Thread tres
I've seen - and only in one place - how to use the .selector property of the jQuery object. Should be easy, right: this.selector. There was even a screenshot (See http://www.nabble.com/Re:-How-to-retrieve-jQuery.query--td19300457s27240.html) showing that it in fact did exist, and in 1.2.6. I have