[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

[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 l.r@sapo.pt wrote: See it here http://d61628.tinf28.tuganet.info/132/1.htm On 17 Mar, 01:30, Stephen Sadowski d...@meta-meta.com wrote: Hey, I'd go

[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 treshug...@gmail.com wrote: 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 l.r

[jQuery] Re: Form inside Form value

2009-02-28 Thread tres
the parent form instead. -Trey On Feb 28, 12:31 pm, Po01 diogoapa...@gmail.com 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 treshug...@gmail.com wrote

[jQuery] Re: Form inside Form value

2009-02-27 Thread tres
Do it a different way. On Feb 28, 6:20 am, Po01 diogoapa...@gmail.com 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 diogoapa...@gmail.com wrote: Tried the $(form2 field).val();

[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 jere...@gmail.com 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,

[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 shenan...@gmail.com wrote: Seems like my hunch is incorrect, thanks for correcting. On Feb 18, 12:43 pm, Matt Kruse m...@thekrusefamily.com wrote: On Feb 18, 2:20 pm,

[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 gechterli...@gmail.com 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

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-13 Thread tres
and switch there focus to there. On Feb 12, 11:23 pm, tres treshug...@gmail.com 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 plugins in the jQuery plugin repository

[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 mofl...@gmail.com 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 treshug...@gmail.com wrote: Oh and also Safari 3.1.2 Windows

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

2009-02-12 Thread tres
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 treshug...@gmail.com wrote: I'll install multiple IE's and get back to you. -Trey

[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 michaell...@gmail.com 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

[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

[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 script type=text/javascript src=jquery-1.3.1.js/script script type=text/javascript

[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: 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

[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

[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't

[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 treshug...@gmail.com wrote: Varun, I've actually solved a problem like

[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

[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