[jQuery] Re: Known issues with webkit and jQuery 1.3?

2009-05-01 Thread Kelvin Luck
e.com/ >> >> Clicking back and forth between warehouse and services in the >> aforementioned browsers sometimes breaks. A refresh fixes it. And it >> never breaks on the initial load. So it appears to be a webkit issue >> but I'm not sure exactly where it is goin

[jQuery] Re: Known issues with webkit and jQuery 1.3?

2009-04-28 Thread Kelvin Luck
nd it never breaks on the initial load. So it appears to be a webkit issue but I'm not sure exactly where it is going wrong... Any ideas still much appreciated, Kelvin :) On Tue, Apr 28, 2009 at 9:53 AM, Kelvin Luck wrote: > Hi, > > Sorry for the vague question but I'm wo

[jQuery] Known issues with webkit and jQuery 1.3?

2009-04-28 Thread Kelvin Luck
Hi, Sorry for the vague question but I'm wondering if there are any known issues with webkit browsers (e.g. Safari and Chrome) and jQuery 1.3? I've had quite a few queries from users of my jScrollPane plugin who have noticed issues with it on Safari on mac. They seem to be related to either docu

[jQuery] Pointless but fun jQuery experiment

2009-03-25 Thread Kelvin Luck
Inspired by google's chrome experiments I recently put together a pointless but fun experiment with the help of jQuery and I thought that people on the list might like to check it out: http://www.kelvinluck.com/assets/jquery/boingPic/index.html As I said, completely pointless but makes a nice ch

[jQuery] Re: [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-18 Thread Kelvin Luck
lp a lot to have a > simple demo that has the right layout for the animations to work. > > Jörn > > On Wed, Feb 18, 2009 at 9:40 AM, Kelvin Luck wrote: >> >> Hi Jörn, >> >> Thanks for the reply :) >> >> I know using the errorPlacement is a ba

[jQuery] Re: [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-18 Thread Kelvin Luck
that animates some label, with the > necessary markup and CSS. That would be a good starting point for me > to work on a solution. > > Jörn > > On Tue, Feb 17, 2009 at 11:32 PM, Kelvin Luck wrote: >> >> Hi, >> >> I've just used the validate plugin for t

[jQuery] [validate] Hooks for animating the appearance and disappearance of the error messages

2009-02-17 Thread Kelvin Luck
Hi, I've just used the validate plugin for the first time and it works great :) One extra thing I would love to see is some sort of hooks which allow the user to customise how the error messages appear and disappear. I managed to hack it in for appearing messages using the errorPlacement function

[jQuery] Re: jScrollPane and display:none

2008-06-16 Thread Kelvin Luck
I'm not sure what could be happening - do you have a test URL? A possible workaround might be to not initialise the jScrollPane until you show the layer. Then the code which shows the hidden layer could immediately initialise the jScrollPane once it's shown it... Cheers, Kelvin :) yabado w

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread Kelvin Luck
Hi, It looks like you are converting the Date object to a string by adding a space to the start of it. Instead you should use the methods available on the Date object itself. So something like this should work: $('.holdDate').html(selectedDate.asString()); (the asString method is defined in

[jQuery] Re: datepicker

2008-03-08 Thread Kelvin Luck
Hi Ahmad, Which datepicker? I can only answer for my one ( http://kelvinluck.com/assets/jquery/datePicker/v2/demo/ ) in which case both of your questions are possible: Is there a way to make the datepicker select future dates? This is the default behaviour. You can customise it by pas

[jQuery] Re: jScrollPane: hide an arrow at end of content?

2008-01-31 Thread Kelvin Luck
Hi, It seems like a sensible requirement to be able to style inactive arrows differently to active ones and to be honest I thought that I had code to do this in jScrollPane. From a quick look it seems like I haven't though... So I have raised a ticket for myself to implement this: http://plu

[jQuery] Re: Date picker

2008-01-14 Thread Kelvin Luck
I can confirm it's not working for me either on IE7 on that page... You could try my date picker instead: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html Cheers, Kelvin :) Lionel Martelly wrote: Does anyone have any issue with date picker not working in IE7.0? $('

[jQuery] Re: ui.datepicker documentation inconsistencies

2008-01-01 Thread Kelvin Luck
Hi, Your confusion is due to the fact that there are two date picker plugins. Mine and Marc's. Marc's plugin was previously called jQuery calendar but was renamed to date picker at some point and included in the jQuery UI library. I hope that clears thing up, Kelvin :) Shawn wrote: I'm s

[jQuery] Re: adding conditional to $("x")

2007-12-31 Thread Kelvin Luck
http://donkeyontheedge.com/jqtest/ (I'm looking at this in Firefox) Could it be that $this.val() doesn't return an integer that corrresponds to the number of letters in the value attribute? Should it be val().length() or something? Thanks for your help! Cheers, Dug On Dec 31, 12:06 pm,

[jQuery] Re: adding conditional to $("x")

2007-12-31 Thread Kelvin Luck
Hi, You could try this (untested): $('[EMAIL PROTECTED]').each( function() { $this = $(this); if ($this.val() < 5) { $this.addClass('S'); } else if ($this.val() > 10) { $this.addClass

[jQuery] Re: server side jquery

2007-12-16 Thread Kelvin Luck
Sharique wrote: Is it possible to run excute jquery on server side. http://ejohn.org/blog/bringing-the-browser-to-the-server/

[jQuery] Re: jScrollPane refuses to display arrows in IE/Win

2007-11-08 Thread Kelvin Luck
Hi, Sorry - I think that there was a problem with the compressed version of the jScrollPane script. I've just re-uploaded it and (I think) fixed the problem. Can you grab the new file from here: http://kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.min.js And let me know if it fixes

[jQuery] Re: "Universal Programming Language" concept...

2007-11-08 Thread Kelvin Luck
It's a bit off topic but you might want to check out haXe: http://haxe.org/ It's a OO language which can compile down to swf, javascript and neko which can run as a serverside process... phobis wrote: We will attempt to make this the Esperanto of the programming world (from a language persp

[jQuery] Re: Moo based Calendar widget

2007-11-06 Thread Kelvin Luck
It looks like it also has a number of handy additions to the Date object that might be useful outside of mootools: http://moomonth.com/docs/index.html There some additions to the Date object like this for jQuery by Joern Zaefferer and Brandon Aaron here: http://jqueryjs.googlecode.com/svn

[jQuery] Re: Getting the now focused element in a blur event handler

2007-10-31 Thread Kelvin Luck
Hi, Just bumping the below question in case there is anyone who didn't see it previously who has some idea how to find the element on a page which is currently focused? Thanks, Kelvin :) Kelvin Luck wrote: Hi, I'm looking for a way to find out the currently focused element fr

[jQuery] Getting the now focused element in a blur event handler

2007-10-29 Thread Kelvin Luck
Hi, I'm looking for a way to find out the currently focused element from within a blur event. I have it working in Firefox using event.explicitOriginalTarget as you can see here: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerOnFocus.html However, this seems to be a Firefo

[jQuery] Re: Datepicker bug in latest Opera

2007-10-25 Thread Kelvin Luck
Hi Klaus, Thanks for the detailed report and fix! I've rolled this into the date picker and made a new release (2.1.1) with the fixed code: http://jquery.com/plugins/project/datePicker Thanks again, Kelvin :) Klaus Hartl wrote: Hi, I just came across a hard to find bug in Opera 9.23 (Win

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Kelvin Luck
have a look at the bottom of this page: http://malsup.com/jquery/cycle/int2.html Andy Matthews wrote: Just out of curiosity, does this plugin do text to, or just images? Could it be wired up to do a div instead of an image? andy -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Jscrollpane and Jquery UI when combined gives error.

2007-10-12 Thread Kelvin Luck
Hi, jScrollPane is currently tested against jQuery 1.2.1 and it works fine. I just noticed there was some misleading information on the jScrollPane homepage which I've now updated to make it clear it uses 1.2.1... Do you have an example URL where it is failing? If you can provide that I mig

[jQuery] Re: Keeping the calendar plug in open?

2007-10-07 Thread Kelvin Luck
Hi Iain, I'm not sure which calendar plugin you are talking about but your email prompted me to add the functionality you describe to my datePicker plugin (something I've been meaning to do for a very long time and luckily had a spare bit of time today for). You can find the examples of thi

[jQuery] Re: jscrollpane plugin problem

2007-10-04 Thread Kelvin Luck
-Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kelvin Luck Sent: jeudi 4 octobre 2007 21:21 To: jquery-en@googlegroups.com Subject: [jQuery] Re: jscrollpane plugin problem It shouldn't be too slow to call jScrollPane on your div after every

[jQuery] Re: jscrollpane plugin problem

2007-10-04 Thread Kelvin Luck
It shouldn't be too slow to call jScrollPane on your div after everytime you add content to it. Is this what you tried? I just did a quick bit of playing around with making the scroll pane automatically update itself and got it working in Firefox thanks to the DOMNodeInserted event but could

[jQuery] Re: Question about jScrollPane - full body scroll

2007-10-04 Thread Kelvin Luck
Hi, This line: $('body>.jScrollPaneContainer').css({'height': $w.height() + 'px', 'width': $w.width() + 'px'}); translates to: "Set the height and width of the element with a class of jScrollPaneContainer directly inside the body (e.g. not nested any deeper) to the height and width of the w

[jQuery] Re: jScrollpane - Occasionaly runs in IE? (init/load problem)

2007-10-04 Thread Kelvin Luck
Hi, Glad you like jScrollPane. I can only take a very quick look at this at the moment but I'm wondering if it's something to do with this bit of your JS: window.onload = function(){ $("tr:nth-child(even)").addClass("even"); }; I think I remember having issues where using this "old scho

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Kelvin Luck
olling down, the end of list scrolls by and there is still white space to go before the end of the scrollbar is reached. It seems to be quite inconsistent or am I overlooking something again? Birgit On 9/23/07, *Kelvin Luck* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

[jQuery] Re: jScrollPane.. css blindness?

2007-09-23 Thread Kelvin Luck
Hi, I had a quick look at your page and you need to add the winXP class to the TD which contains the jScrollPane rather than to the element you are applying the jScrollPane to. The element you apply jScrollPane too is wrapped in another element (the jScrollPaneContainer) which contains the s

[jQuery] Re: datepicker and mark a day

2007-09-17 Thread Kelvin Luck
Hi, You will need to use a custom cell renderer. An example of doing this can be seen here: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerCustomCellRender.html As you can see, the example marks weekends with a different CSS class and makes them disabled. Of course you can

[jQuery] Problem with jQEm and scrolling divs on FF

2007-08-16 Thread Kelvin Luck
Hi, I've just added the ability for jScrollPane to work with jQEm so if a user changes the text size in their browser the jScrollPane automatically updates itself. In doing so I think I've come across an issue with jQEm and scrolling divs in Firefox (PC). An example is worth a thousand word

[jQuery] Re: Scrolling a div area without scrolling the page?

2007-08-16 Thread Kelvin Luck
TECTED] On Behalf Of Kelvin Luck Sent: jeudi 16 août 2007 12:41 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Scrolling a div area without scrolling the page? Hi, I'm not sure I understand you about the jQuery plugin version - it's already a jquery plugin! I've also just made th

[jQuery] Re: Scrolling a div area without scrolling the page?

2007-08-16 Thread Kelvin Luck
Matthew On Aug 14, 2:48 am, Kelvin Luck <[EMAIL PROTECTED]> wrote: Hi, You can do this if you are using my jScrollPane and it's scrollTo method: http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html I'm just about to make an improvement which will allow you to pass in

[jQuery] Re: Tweaks to jCarouselLite

2007-08-16 Thread Kelvin Luck
really like to take a look at the changes and the page in which it wasn't working. This will help me fix the plugin for everyones benefit. Thanks, GTG On 8/15/07, *Kelvin Luck* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi, I've just tried to impleme

[jQuery] Tweaks to jCarouselLite

2007-08-15 Thread Kelvin Luck
Hi, I've just tried to implement jCarouselLite [1] on a project I'm working on. Nice plugin - perfect for my needs of a lightweight carousel for this project :) But I came across a couple of problems. For some reason, when I set circular to false the carousel stopped animating for me. Not s

[jQuery] Re: Scrolling a div area without scrolling the page?

2007-08-14 Thread Kelvin Luck
Hi, You can do this if you are using my jScrollPane and it's scrollTo method: http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html I'm just about to make an improvement which will allow you to pass in a jQuery selector for the object you want to scroll to as well as a pixel position

[jQuery] Re: Kelvin Luck's jscrollpane scrollTo anchor (missing?) feature

2007-08-14 Thread Kelvin Luck
Hi, I think this is a nice idea for an addition to the jScrollPane. I've added it as an issue on the plugin's support page: http://jquery.com/plugins/node/348 I'll try and implement it ASAP, it's not complex to do, Cheers, Kelvin :) Alexandre Plennevaux wrote: hello! i have 3 anchor li

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-08 Thread Kelvin Luck
Because you are using jQuery in noConflict mode you can no longer use $ to create jquery objects. So you need to replace: $('.date-pick').datePicker({clickInput:true}); with: jQuery('.date-pick').datePicker({clickInput:true}); Hope that helps, Kelvin :) syg6 wrote: Thank you both, Kelvin

[jQuery] Re: appfuse: jQuery + scriptaculous + datePicker

2007-08-08 Thread Kelvin Luck
Hi, Have you seen this page? http://docs.jquery.com/Using_jQuery_with_Other_Libraries Hope it helps, Kelvin :) syg6 wrote: Hello all. I posted this over at Appfuse's Nabble list as first, but then thought this would be the better place. I have a default.jsp page that uses SiteMesh to 'dec

[jQuery] Re: datePicker: How to allow choosing dates in the past?

2007-08-01 Thread Kelvin Luck
r awesome datePicker v2 <http://kelvinluck.com/assets/jquery/datePicker/v2/demo/> plug-in by Kelvin Luck, for an app that needs to be able to select a range from the past to the present. I am not clear on what the easiest way to do this is. Any advice is much appreciated. Thanks, Marshall

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Kelvin Luck
complished with datePicker? Thanks. --Larry Garfield On Thu, 26 Jul 2007 14:12:14 +0100, Kelvin Luck <[EMAIL PROTECTED]> wrote: Hi, I'm afraid that it is currently exactly as you describe. A date picker calendar (with the paging etc) only exists as a popup and if you use renderCalend

[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-26 Thread Kelvin Luck
I have an example which does this in my jScrollPane plugin. You should be able to use the logic of getting the y-position regardless of whether or not you are using the plugin: http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html Hope that helps, Kelvin :) fambizzari wrote: Then,

[jQuery] Re: datePicker plugin inline

2007-07-26 Thread Kelvin Luck
Hi, I'm afraid that it is currently exactly as you describe. A date picker calendar (with the paging etc) only exists as a popup and if you use renderCalendar then you don't get paging or anything. The ability to use a date picker not in a popup is one of the two additions I wanted to make

[jQuery] Re: DatePicker | adding multiple selectedDates into input field

2007-07-20 Thread Kelvin Luck
Hi, Try something like this: var datesString = ''; for (var i=0; i I have fixed the issue Solution At this line: console.log(selectedDates); Just add: console.log(selectedDates); (this).val(selectedDates); This will add the array of multiple dates back into text field. Ne

[jQuery] Re: datePicker v2 beta

2007-06-07 Thread Kelvin Luck
Rob Desbois wrote: I disagree; in the interest of keeping the plugin small, to do this outside the class is equally minimal effort and I don't think the plugin should accept every possible representation. If you always use Date where String is required, you can overload and wrap the function t

[jQuery] Re: Problem using jScrollPane with .load

2007-06-06 Thread Kelvin Luck
Hi, I'm not sure exactly what is happening here. One thing that stood out as I looked at your example using firebug was that you are applying the jScrollPane to the tbody. This means that a div gets inserted into the table between the table and tbody tags. To be honest, I'm surprised it's wo

[jQuery] Re: datePicker v2 beta

2007-06-05 Thread Kelvin Luck
Rob Desbois wrote: I've had an issue in Firefox2.0 using the plugin with the 'clickInput' option turned on. When the input field has the focus, clicking on it to display the datePicker will work, but over the top of that will be Firefox's drop-down box showing previous inputs to that field.

[jQuery] Re: datePicker v2 beta

2007-06-05 Thread Kelvin Luck
There's a bug or documentation error with dpSetSelected() [revision #1993] : it's documented as taking a string, but the code for it requires a Date (due to using .getMonth(), .getFullYear() and .getTime()). To fix this problem I added the line d = new Date(d); to the start of dpSetSelect

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Kelvin Luck
Hello again! Rob Desbois wrote: Also, dpSetPosition() has the wrong first sentence too. Thanks - I'll fix that too. There's a bug or documentation error with dpSetSelected() [revision #1993] : it's documented as taking a string, but the code for it requires a Date (due to using .getMonth

[jQuery] Re: datePicker v2 beta

2007-06-01 Thread Kelvin Luck
Hi, Thanks for your feedback on the date picker... I'll address your points below: Rob Desbois wrote: Well, I've finally taken the plunge and started playing with datePicker. Can I join everyone in thanking you for this excellent plugin. Thanks :) Suggestions for a few changes, mainly o

[jQuery] Re: Improved timePicker, time/datePicker demo

2007-05-30 Thread Kelvin Luck
Anders wrote: I've been working on improving Sam Collet's original timePicker. Here is the result: http://labs.perifer.se/timedatepicker/ The demo is a Google Calendar-like time/datePicker. It's far from perfect, most of the issues are with the datePicker though, which for example not yet hav

[jQuery] Re: Trouble with calendar icon and datePicker v2

2007-05-23 Thread Kelvin Luck
Thanks for the headsup on this - I've now fixed the code in the example pages... Wizzud wrote: the class of the anchor is actually .dp-choose-date, not .date-picker as the example page states. Check his css and you'll find an entry for a.dp-choose-date{}. Chris W. Parker wrote: Hello, Wh

[jQuery] Re: datePicker v2 beta

2007-05-21 Thread Kelvin Luck
pd wrote: Is there any particular reason why your plugin doesn't have an option for specifying time as well as date? I'd like to use this plugin but need time functionality. Because I'd like to keep the plugin as light weight as possible (it's already bigger than it should ideally be) and p

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread Kelvin Luck
Ⓙⓐⓚⓔ wrote: thanks! I thought semis were just required when removing linebreaks wouldn't work... I searched the 'net for a definitive rule, I just found the regular work-arounds, (semis all over). I'm prepping some code to be packed. Do I have to cat it together with the jquery-lite first? c

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread Kelvin Luck
Hi, I've added support for this into the date picker: http://dev.jquery.com/changeset/1933#file2 As you can see, you can now pass a hoverClass to $().datePicker or $().renderCalendar which is added to each TD of the calendar as you hover over it. This defaults to dp-hover. You can also pass f

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread Kelvin Luck
/changeset/1931 Cheers, Kelvin :) Ⓙⓐⓚⓔ wrote: Kelvin, I thought packer only needed the final ; ... do you know the rules? is it as simple as making it work if you remove all linefeeds? On 5/20/07, *Kelvin Luck * <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: tl

[jQuery] Re: datePicker v2 beta

2007-05-20 Thread Kelvin Luck
tlphipps wrote: Sorry, one more thing. I can't get a clean compressed/packed version of v2. Has anybody else had any luck packing this? Hi, I've just added some missing semicolons to the date picker sourcecode so that you can now pack it successfully with Dean Edwards' Packer, Cheers, K

[jQuery] Re: datePicker v2: setStartDate() is not a function?

2007-05-20 Thread Kelvin Luck
Chris W. Parker wrote: Hello, I'm trying to implement datePicker v2 but Firebug says "$('#date').setStartDate is not a function". I must be missing something simple because I can click "calendar" and have the calendar appear. So it works, just not completely. Any ideas where I'm going wrong?

[jQuery] Re: kelvinluck - date-picker V2

2007-05-16 Thread Kelvin Luck
tlphipps wrote: Kelvin, Did you ever have any luck at getting the date selector to detect the edge of the browser window and re-position itself? Hi, I decided that it would probably be a bit much for the plugin to do this automatically but I added in functionality to make it easy for you t

[jQuery] Re: kelvinluck - date-picker V2

2007-05-16 Thread Kelvin Luck
Vincent Majer wrote: In fact, the code on your demo page works with IE7.. seems it's my integration of your plugin which is not good.. maybee an interaction with other scripts running on that page, i'll search.. thanks anyway for that plugin.. very helpful Cool. Good lick with the integrati

[jQuery] Re: kelvinluck - date-picker V2

2007-05-16 Thread Kelvin Luck
Sam Collett wrote: On May 15, 11:21 pm, Kelvin Luck <[EMAIL PROTECTED]> wrote: Hi, Sorry about the console.log statement - I should have removed that... I'm afraid I don't have IE7 here to test with... Can you confirm that you experience the problem on my demo page: http:

[jQuery] Re: kelvinluck - date-picker V2

2007-05-15 Thread Kelvin Luck
Hi, Sorry about the console.log statement - I should have removed that... I'm afraid I don't have IE7 here to test with... Can you confirm that you experience the problem on my demo page: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerIntoSelects.html If you do and can giv

[jQuery] Re: The problem with jquery!!!

2007-05-13 Thread Kelvin Luck
> Within html content i am including email addresses in the following > format someonesomehwere.com and then > following such occurences with an explanation for > what means for those non-savvy internet users that might > actually try to send an email with instead of the @ sign. > I wrote a ver

[jQuery] Re: datePicker v2 beta

2007-04-30 Thread Kelvin Luck
On Mon, April 30, 2007 12:30 pm, Sam Collett wrote: > Just thought of something else - an onDateChanged event. Could be > useful for date pickers that depend on each other (i.e. a date range, > defined by two pickers - 'picker2' has to be a later date than > 'picker1') > I'm guessing you didn't

[jQuery] Re: datePicker v2 beta

2007-04-30 Thread Kelvin Luck
Hi, On Mon, April 30, 2007 12:25 pm, Sam Collett wrote: > > Several features in that picker that look like they would be handy in > Kelvin's that aren't in yet are: > > Keyboard Navigation I've been thinking about this... It's not a priority for me currently because I'm not sure that it would be

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 22:20:16 +0100, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > > Does the Date.format field get reference within the datepicker function or > does it get copied when the function is run initially. > > So... > > Date.format = FORMAT_1 > > jQuery('#1').datepicker(); > > Date.for

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 18:28:09 +0100, Shaun Kester <[EMAIL PROTECTED]> wrote: > > I get an error in Firefox and IE with the latest build. Firebug > output: > > (new Date).zeroTime is not a function It seems like you didn't include the date.js file? Or maybe you included the one from the jQuery sv

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> I've found some issues in Opera 9: > > * Sometimes the calendar doesn't render instantly when browsing fast > through the dates, which makes it close unintentionally. I've fixed it > by setting a fixed hight and width on div#dp-popup in the CSS. Yes - I was able to replicate this by clicking l

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
I only just received this email even though it looks like it was sent yesterday... Is anyone else still having issues with the list lagging? > > Looking good. Lots of examples - although it would be nice to have > some CSS samples as well (or 'style packs' - Outlook 2003, Google > Calendar etc)

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 14:25:19 +0100, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: > > Kelvin, > >> I've implemented a new dpSetDisabled feature so that you can disable and >> reenable date picker instances. New demo here: >> >> http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerDis

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 13:08:10 +0100, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > > sorry for 2 emails for one response. > > I don't mean "Set to today" I mean "Go To Today" in the calendar itself. > > see, if I type '123' in the date field, then click the calendar icon to open > the popup, the

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> you are right. I just like to have customizations like that written right > there in the code where I apply the calendar plugin so future developers will > see it rather than have to hunt for the source of the date format. doesn't > really matter, its up to you. > It won't hurt to reset the

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 13:04:59 +0100, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > > No, really, I mean clickInput: false. if its true, clicking before the drag > opens the calendar. > > but if it's false, i can't drag to delete a date i put there. > Weird! I don't have IE7 here so I can't test

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> it appears in IE7 that if you have clickInput: false you cannot drag to > select the text in the input field anymore. I presume you mean if you have clickInput:true? The simple answer is not to use clickInput:true if you want people to be able to select the text! To tell the truth I wouldn't

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Tue, 24 Apr 2007 16:23:29 +0100, Daemach <[EMAIL PROTECTED]> wrote: > > Very cool - I can finally replace xin :) One thing I had to hack into > that code was the ability to trigger an event on the input field > programatically after selecting the date. Can you provide a > triggerEvent("keyup

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> Works flawlessly in Safari 2.0.4 (build 419.3), comparing functionality > and rendering with Firefox 2. > > However, there is a possible bug in this demo: > http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerIntoSelects.html > > It lets you select "invalid" dates, such as Feb 31 wi

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 08:34:06 +0100, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > I just added this to my site. Very nice plugin. You should be proud. One > question/request: set the format PER calendar, not globally with Date. > > Again, nice work. and thank you for the documentation. > > -Arie

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> Looks fantastic, Kelvin! I showed it to our lead engineer who has been > assessing date packages and he said he'd drop his current date package in a > heartbeat for this one IF someone had built a server-side version of it > (.NET). So, if anyone takes on that challenge let me know. I long for t

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
On Wed, 25 Apr 2007 01:03:23 +0100, Su <[EMAIL PROTECTED]> wrote: > This looks great, Kelvin. > The only thing I'm curious about is the almost complete lack of > consideration for time with almost every single picker I've ever seen. I > have a need for one, for example, where the input consists o

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> Long story short, it would be nice to be able to set datePicker in > "disabled mode" ;-) > In "disabled mode", the calendar-icon would get another class and > clicks would not be working. But I guess this is a bit of a curious > feature request ;-) > > Anyway, thanks for the new version ! I've

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
> > I wonder if is was possible to display two months , should be > extremely helpfull for travel sites , could it be done easily ? > Great work ! > Jamin > It's not currently possible but I've put it onto the TODO list, hopefully I'll be able to do it before the datePicker comes out of beta...

[jQuery] Re: datePicker v2 beta

2007-04-25 Thread Kelvin Luck
Thanks for the feedback Luke... > > Is there any way to use the datePicker with the keyboard? I couldn't > figure out how to open it without clicking the calendar icon (which I > couldn't tab to). > I can pop up the calendar with the keyboard (in Firefox 2 and IE 6) - I can tab to it and then p

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Kelvin Luck
On Tue, 24 Apr 2007 14:56:41 +0100, Diego A. <[EMAIL PROTECTED]> wrote: > > I'd just come across a scenario where events would have made > datePicker more flexible and was thinking of passing the idea to you. > http://groups.google.com/group/jquery-en/browse_frm/thread/8993bb17785c6d3b?hl=en > >

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Kelvin Luck
Hi Dan, > * When using clickInput:true, you might want to turn off autocomplete > automatically for the field. When the browser's built-in autocomplete box > gets triggered, it hovers over the data picker. Plus it looks a little > weird. Thanks for the info. My browser hadn't tried to autocomple

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Kelvin Luck
On Tue, 24 Apr 2007 16:53:27 +0100, Shelane <[EMAIL PROTECTED]> wrote: > > Is there a way to allow the user to select a date in the past without > that being the default date shown? > Yes. Simply pass a startDate in when you initialise the date picker or call dpSetStartDate afterwards. The date

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Kelvin Luck
On Tue, 24 Apr 2007 16:56:23 +0100, Christopher Jordan <[EMAIL PROTECTED]> wrote: > Kelvin, > > This looks great! :o) > > I wonder though can the size of the calendar be configured? Does it have > to be a popup, or can it be placed anywhere on the screen (say in a div > element)? Bear in mind th

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Kelvin Luck
You can create a close button by passing in displayClose:true when you create the date picker. You can use CSS to style it how you like, I've left it very simple in my multiple select demo: http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerMultiple.html On Tue, 24 Apr 2007 11:55:

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Kelvin Luck
Thanks Mike :) On Tue, 24 Apr 2007 11:41:00 +0100, Mike Alsup <[EMAIL PROTECTED]> wrote: > > This is awesome, Kelvin!! Works great in IE7. > > Mike > >> 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 pi

[jQuery] datePicker v2 beta

2007-04-24 Thread Kelvin Luck
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 powerful and flexible than it previously was. Check out the temporary project page: http://kelvinluck.com/assets/jquery/datePick

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread Kelvin Luck
You can use the .is() method. It would look something like this on your code: function hijackLinks(root) { $('a',root).click(function(){ $this = $(this); if ($this.is(".admin-link")) { // If admin link, load into sub-admin area $('.admin-area'