[jQuery] Re: Opinions on YUI?

2007-09-20 Thread Brian Miller
Sounds like you don't to public facing web sites. Having so many libraries means there must be several hundred kb download just to get going. I'm not saying to use all of them at the same time. I'm just saying that we use the parts we need to solve particular problems. In the case of

[jQuery] Re: Opinions on YUI?

2007-09-18 Thread Brian Miller
Personally, I find that limiting oneself to a single library is too restrictive. For my situation, we've approved jquery and YUI, primarily because they're well-documented. Difficulty aside, if you need to complete a task, looking at the docs long enough will get you there. I'm thinking of

[jQuery] Re: Datepicker. Hide dates from next/prev month

2007-08-03 Thread Brian Miller
CSS: table.jCalendar td.other-month { visibility: hidden; } - Brian Hi all. Right now the default behaviour of Kevin's datepicker, http://kelvinluck.com/assets/jquery/datePicker/v2/demo/, is to show the dates from the previous/next month as well as the dates from the current

[jQuery] Re: John Resig Wikipedia Article

2007-06-26 Thread Brian Miller
I think that our opinion matters less than John's. Before considering writing an article about him, you might want to ask him whether he wants an article to be written about himself. After all, who else knows his history (and how notable it is) better then he does? - Brian The jQuery

[jQuery] Re: NOT Selector

2007-06-07 Thread Brian Miller
1. The first form - $(#document a).not(.menu a).dostuff() - should work. I think that this is a bug that it doesn't, and should be reported as such. 2. This does work: $(#document a).not( $(.menu a) ).dostuff(); Instead of removing the elements by expression, you're doing a second selection,

[jQuery] Re: datePicker v2 beta

2007-06-06 Thread Brian Miller
Just my opinion: both Date and String should be supported. It's probably only two lines of code to check for type, and cast to the other type if necessary. - Brian There's a bug or documentation error with dpSetSelected() [revision #1993] : it's documented as taking a string, but the code

[jQuery] Re: dynamic jdMenu help

2007-06-05 Thread Brian Miller
My guess is that it's a behaviors issue. The jdMenu plugin expects the list to already be there when it runs, and it attaches a bunch of events. IF you add stuff to the DOM afterwards, those events don't get attached unless you run the plugin again on the list. Of course, you probably would

[jQuery] Re: Gears Plugin Ideas was: [jQuery] Re: Announce Google gears , dojo partners with them

2007-05-31 Thread Brian Miller
Ideas: $('#mydiv').html( $.gears(db, 'select * from Demo order by Timestamp desc').toTable() ); jQuery shouldn't be made to really change the gears API, but a good plugin should allow the natural result of using the gears API to be easily used to play with the DOM. So, a toTable() method

[jQuery] Re: Quick javascript question (not jQuery)

2007-05-30 Thread Brian Miller
Web browsers simply don't do this well. It breaks the whole non-persistent model. No matter what you do, you'll have to deal with network latency. Also, Browsers react differently when the user closes the browser window. I don't think that the onunload event is reliable for all the use cases.

[jQuery] Re: Autocomplete plugin

2007-05-11 Thread Brian Miller
Dan, I'm essentially trying to replicate a combobox. I'm almost certainly going to use a fairly limited set of local data. Not that I want to rule remote data out, mind you. Basically, I want a pulldown control that will show the entire list (preferably with scrolling, which I think is not

[jQuery] Re: jQuery svn browser broken. Some documentation unaccessible

2007-05-09 Thread Brian Miller
John, Thank you! By moving to Google Code, you've obliquely solved my problem of not being able to check out the code at work through the web proxy (although, convincing subclipse to do so was a challenge in itself). Now, I don't need the nightlies so much anymore. :) - Brian The jQuery

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Brian Miller
It's a .NET thing. The ASP.NET paradigm is to write your page in a server-side language (usually C#), and the server-side object gets rendered into whatever is viewed on the client side. It would be pretty involved, though, because the plugin is dependent on jQuery (and bgiframe, and the Date

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Brian Miller
It's easy enough to simply code the script tags right into the page. But, from an engineering standpoint, I can see why the dev manager wants to keep everything as an ASP.NET control. His people are probably mostly .NET people who use C# or VB.NET . - Brian Thanks for the explanation Citrus.

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Brian Miller
OK, that's hot. Thank you for doing such awesome work! I'm totally going to use this all over the place. :) - Brian Hi, I'd like to announce the beta release of v2 of my datePicker plugin for jQuery. This release is a complete rewrite which makes the date picker considerably more

[jQuery] Re: library conflict

2007-04-23 Thread Brian Miller
PeriodicalUpdater is actually pretty easy to extract from Prototype, or to simply rewrite yourself. It's just a wrapper around the window.setInterval method, combined with the equivalent of $.load(). In fact, I think there's a plugin that does just that, called jHeartbeat. Check the plugins

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Brian Miller
Dan G. Switzer, II schrieb: Jörn, Fully agreed, I'll make that optional. I've got another request for an even more sophicistacted highlighting, seems like a good idea to implement it not only as a boolean option. You could also just define that highlight function as the default option

[jQuery] Re: Keyboard shortcuts

2007-04-19 Thread Brian Miller
Yeuhda's fix events bears some similarities. It might even be a good thing to combine them, as I'm not sure if the keyboard shortcuts script entirely evens out the differences between browsers. - Brian http://www.openjs.com/scripts/events/keyboard_shortcuts/ This looks really cool. Is

[jQuery] Re: Overlib like funtionality with JQuery

2007-04-05 Thread Brian Miller
Since you're asking... :) It would be nice if I could declare the tip body HTML with a string, rather than requiring a bodyHandler function. This way, for static tooltip content, I can be lazy and type a little bit less. :-D Thanks! - Brian [EMAIL PROTECTED] schrieb: Thanks for info. I

[jQuery] Re: Overlib like funtionality with JQuery

2007-04-05 Thread Brian Miller
Brian Miller schrieb: Since you're asking... :) It would be nice if I could declare the tip body HTML with a string, rather than requiring a bodyHandler function. This way, for static tooltip content, I can be lazy and type a little bit less. Sounds good, can you explain that a bit more

[jQuery] Re: problem with setting IDs in IE [C1]

2007-04-04 Thread Brian Miller
This is a known bug with IE. It mixes up the namespaces for IDs and form field names. Your best bet is to rename your fields. - Brian Some more info : I've spotted the origin of evil , and I already had this problem before, but it still seems weird to me : In the form, I have an input,

[jQuery] Re: Web 2.0 is vulnerable to attack

2007-04-03 Thread Brian Miller
Keep in mind that this is more of a server-side thing. The only JS piece involves adding a variable value to your URL when pulling the data through a script tag or an iframe. e.g.: http://mysite/myapplication?uniquevalue=foo Then, your server application should return an error (perhaps 500?)