Re: [jQuery] DatePicker: Z-index issues

2007-03-28 Thread Kelvin Luck
jazzle wrote: Hi all, I'm getting awkward issues with datepicker, best illustrated with screenshots: http://hosted.jazzle.co.uk/datePicker/datePickerIssue.jpg and http://hosted.jazzle.co.uk/datePicker/datePickerIssue2.jpg (the second is less of a problem but notable none the less) I

Re: [jQuery] DatePicker: Z-index issues

2007-03-28 Thread Kelvin Luck
Hi, looks like I hadn't got the new CSS, so now it is fixed - many thanks. :) The second image is showing the datepicker off the edge of the screen, and the user can't scroll to it. Could the screen edge be detected and the datepicker flipped to the other side of the icon? Jez Hi, Ah

Re: [jQuery] jQuery Powered Sites - The List Continues to Grow

2007-03-19 Thread Kelvin Luck
I've just released a new jQuery powered site for my Flickr API wrapper: http://flashr.kelvinluck.com/ Uses lots of jquery goodness and plugins including dimensions (thanks Brandon), jqModal (thanks Brice) Flash (thanks Luke) and History/Remote (thanks Klaus). The main jquery power is in the

Re: [jQuery] History/Remote plugin and back to the first page

2007-03-19 Thread Kelvin Luck
Has anyone got any ideas what is going on? Yes I have :-) I had a similiar problem with my Tabs. Just initialize ajaxHistory with a custom callback, that gets fired in the case there's no hash...: $.ajaxHistory.initialize(function() { // do something useful }); This is

Re: [jQuery] jQuery In The Wild: marmot.com

2007-03-15 Thread Kelvin Luck
Chris Ovenden wrote: Anyone know why the text looks so awful on that site (Firefox on WinXP)? font-family: 'Lucida Sans',Tahoma,Arial,Verdana,sans-serif Windows seems to render Lucida Sans really badly but doesn't fall back to the next font in the list...

Re: [jQuery] Who's moderating the jQuery mailing list signup?

2007-03-14 Thread Kelvin Luck
Andy Matthews wrote: That's what I thought...maybe he signed up for the wrong list? Just to be on the safe side, can someone post the correct signup page for the discuss@ list? If his email address is jquery,[EMAIL PROTECTED] as you posted then I'm guessing maybe the signup form doesn't

Re: [jQuery] jQuery.flash plugin and ExternalInterface

2007-03-11 Thread Kelvin Luck
yeah - it was helpful to me too. I ended up having to use SWFObject to get ExternalInterface support on a project I was doing but I'll bear this in mind in future... Cheers, Kelvin :) spinnach wrote: np, i'm glad someone found this helpful.. dennis. Benjamin Sterling wrote: Spinnach,

Re: [jQuery] $(node).hasClass(...) function

2007-03-02 Thread Kelvin Luck
You can use: $(node).is('.className') Sébastien Pierre wrote: Hi all, I was wondering if somebody would be interested in a hasClass(...) function for jQuery. I would definitely find it useful, and am willing to contribute it. -- Sébastien

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Kelvin Luck
Brandon Aaron wrote: This is really great work. I think you might be able to save a few extra bytes by dropping the closing tag when creating single elements. jQuery will add them for you. This: $('div') and $('iframe') Instead of this: $('div/div') and $('iframe/iframe') Apparently

Re: [jQuery] Flash video chunkyness and strange rendering on Mac Firefox using thickbox?

2007-02-21 Thread Kelvin Luck
Yeah - I had exactly this problem before... All parts of the flash movie which aren't being redrawn disappear. I came up with a bit of a hacky workaround... I drew a black box at the back of my flash movie (the background was black) and made it into a movieclip which was constantly switching

Re: [jQuery] jCarousel with many (100+) items

2007-02-21 Thread Kelvin Luck
Alexandre Plennevaux wrote: Back in the days, i developed in flash a UI that is similar to jCarousel, but showing thousands (!) of items. The same issue quickly arouse, so the solution was to unload/load dynamically the prev/next, say, 20 items. Yeah - that is exactly the approach I'm

Re: [jQuery] 3oh scroller by youngpup

2007-02-03 Thread Kelvin Luck
Or this one: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html When I get a chance I'll look at adding some scroll to functionality to it, Cheers, Kelvin :) Sam Sherlock wrote: thats a blast from the past. try this http://interface.eyecon.ro/demos/scrollbar.html On

Re: [jQuery] Kelvin's Scroll Pane

2007-01-24 Thread Kelvin Luck
Mateusz Misiorny wrote: On 1/23/07, Kelvin Luck [EMAIL PROTECTED] wrote: Thanks for the feedback. I'm afraid I can't reproduce your problem though... For me (IE6 and FF2 on WinXP) when you click an arrow it moves immediately, pauses, moves, pauses and then starts moving quite smoothly

Re: [jQuery] Kelvin's Scroll Pane

2007-01-24 Thread Kelvin Luck
Yehuda Katz wrote: Cool! I hope my efforts were useful in your updates! I noticed a slight glitch in IE with the OSX display, which could easily be resolved by simply moving the dragger's z-index in front of the bar (and perhaps some sort of png opacity fix). -- Yehuda Yes - thanks for

Re: [jQuery] Kelvin's Scroll Pane

2007-01-22 Thread Kelvin Luck
Hi, Nice enhancements Yehuda - I'll integrate some of these ideas into the main branch of the plugin tonight... I have a couple of issues. Like Marshall, I think that clicking and holding an arrow should continue scrolling down as an OS scrollbar does. See what happens when you click and hold

Re: [jQuery] Kelvin's Scroll Pane

2007-01-22 Thread Kelvin Luck
to do advanced skinning of the bar through CSS - check out the examples here: http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html Feedback appreciated, Kelvin :) Kelvin Luck wrote: Hi, Nice enhancements Yehuda - I'll integrate some of these ideas into the main branch

[jQuery] Issue in 1.1 with $(selector, context)?

2007-01-21 Thread Kelvin Luck
Hi, I'm just updating my datePicker plugin to work with jQuery 1.1 and seem to have run into problems with the following snippet: jQuery(s, ele) (where s is a string like 'input' and ele is a jQuery object). It seems that in jQuery 1.1 (Rev: 1073) the context (ele) is ignored. If ele is a

Re: [jQuery] Issue in 1.1 with $(selector, context)?

2007-01-21 Thread Kelvin Luck
D'oh - I just finished working around the problem in the date picker plugin! Cheers, Kelvin :) John Resig wrote: Yep - and it's already been fixed. I'm going to be pushing out jQuery 1.1.1 today and it'll include that fix. --John On 1/21/07, Kelvin Luck [EMAIL PROTECTED] wrote: Hi

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-12 Thread Kelvin Luck
Christof Donat wrote: Hi, http://www.jspax.org/test/ FF, OK. IE, KO: Hm, It workes for me. I'll see if I can find something strange around the point, the error message suggests. Christof For me on IE 6 it pops up a message saying This page is accessing information that is not under

[jQuery] jScrollPane updated

2007-01-12 Thread Kelvin Luck
Hi, My jScrollPane plugin has been updated. It now uses the newest versions of the dimensions and mousewheel plugins and has also been tweaked so the mousewheel behaves optimally in nested panes: http://kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html (see the full body scroll page

Re: [jQuery] List of jQuery-Powered Sites

2007-01-11 Thread Kelvin Luck
And another one: http://www.flatline-tignes.com/ Uses jQuery, a modified thickbox, DOM creation plugin, my date picker and various custom code. Most of the jQuery action is on the flat details pages and the booking page. I discovered jQuery half way through building this site so there may be

Re: [jQuery] :input selector (solved)

2007-01-07 Thread Kelvin Luck
var obj = new Object; // all inputs of type text, hidden, select and textarea $(input:text,input:hidden,select,textarea).each(function(){ eval(obj. + this.name + = ' + this.value + ';); }); Or even: var

Re: [jQuery] dimensions plugin: height() and width()

2007-01-01 Thread Kelvin Luck
Abel Tamayo wrote: Hi everyone and Happy New Year 2007. I'm using Kevin Luck's jScrollPane plugin (http://kelvinluck.com/assets/jquery/jScrollPane/ http://kelvinluck.com/assets/jquery/jScrollPane/), wich is great stuff but uses the plug in Dimensions wich overrides jQuery's functions

Re: [jQuery] New plugin: jScrollPane

2006-12-31 Thread Kelvin Luck
David wrote: Kelvin Luck schreef: Hi all, I've just released my new plugin - it is called jScrollPane and replaces the browser's scrollbars where a container has an overflow of auto and a fixed height: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html nice

Re: [jQuery] New plugin: jScrollPane

2006-12-31 Thread Kelvin Luck
Abel Tamayo wrote: Thanks very much. You just saved my life. I spent the last week unsuccesfully trying to implement Interface's scrollbar, then yesterday I gave up and started looking into YUI's solution but I was unhappy because (although it's a great elemment) it's not jQuery and it made

[jQuery] New plugin: jScrollPane

2006-12-30 Thread Kelvin Luck
Hi all, I've just released my new plugin - it is called jScrollPane and replaces the browser's scrollbars where a container has an overflow of auto and a fixed height: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html As you can see, it is unobtrusive and degrades

Re: [jQuery] Clearing all form field values

2006-12-28 Thread Kelvin Luck
Does this work (presuming the form has an id of myForm)? $('#myForm')[0].reset(); Andy Matthews wrote: I'm going to be submitting a form via AJAX and I'd like to be able to clear all of the fields afterwards. I could obviously do it by referencing each field manually, but I'm wondering if

Re: [jQuery] Flash plugin and ExternalInterface

2006-12-14 Thread Kelvin Luck
(as far as Flash 6, I think). Luke Kelvin Luck wrote: Hi, I'm using the really nice jQuery Flash Plugin( http://jquery.lukelutman.com/plugins/flash/ ) to embed some Flash in a page I'm building. This Flash needs to communicate with JS through Flash's ExternalInterface. When embedded

Re: [jQuery] firefox2 and flash external interface

2006-12-14 Thread Kelvin Luck
play wrote: I'm new to this list. Lovin' jQuery. Not sure if this should be posted to ff bugzilla or not but I'm having problems with some strange behaviour with flash ExternalInterface and jQuery in firefox2. Basically, any jQuery function call that occurs after a call to javascript from

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Kelvin Luck
Hi, I've just discovered this thread and can confirm that the problem is still existing for me in 1.0.4. To summarise the thread (which can be read in full here: http://www.nabble.com/Fix%3A-ExternalInterface-breaks-jQuery-in-firefox-2-tf2677747.html#a7468229 ): * Calling an

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Kelvin Luck
Jörn Zaefferer wrote: Kelvin Luck schrieb: * Calling an ExternalInterface function which passes arguments between Flash and JS in Firefox 2 breaks the a.constructor==String comparison ( see http://dev.noiseusse.org/testflash ). * This then totally breaks jQuery which relies

Re: [jQuery] .selectedIndex VS jQuery

2006-12-12 Thread Kelvin Luck
Well yes. Generally speaking this among the things where the framework is extending the language. Chaining seemed to be one of the aspects of jquery that peoples seemed like the most, but I did not found a lot of literature about it. What is or is not possible in a chain ? how to

Re: [jQuery] this.addClass(foo)??

2006-12-08 Thread Kelvin Luck
This doesn't work because 'this' is not a jQuery object I guess. How sould I do this then? $(this).addClass(clicked); Hope that helps, Kelvin :) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Kelvin Luck
Brice Burgess wrote: Kelvin Luck wrote: OK - I've managed to break the problem down to a simple test case: http://kelvinluck.com/assets/jquery/fadeBug/ As you will see, the fade doesn't happen in IE but the callback does. If you get rid of position:relative or any width in the styles

Re: [jQuery] datePicker changes layout

2006-12-07 Thread Kelvin Luck
When I apply the datepicker to an input, it alters the layout of the items in the form. http://www.texotela.co.uk/datepickerbug.php How can I prevent this from happening? It looks like the elements that the date picker adds so that there is somewhere for the pop up calendar to appear

Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Kelvin Luck
Hi, Thanks for the feedback, I've put my comments in below... Dave Methvin wrote: OK - I've managed to break the problem down to a simple test case: http://kelvinluck.com/assets/jquery/fadeBug/ As you will see, the fade doesn't happen in IE but the callback does. If you get rid of

Re: [jQuery] Known issue with fadeTo and IE?

2006-12-07 Thread Kelvin Luck
Brandon Aaron wrote: So in my little bit of testing IE7 shows that the filter is applied because the text has the smoothing removed. Also, it only works for me (IE6 and 7) by removing position: relative; and it doesn't matter if it has a width or not. Position absolute made it fail also. I

Re: [jQuery] Custom headers to ajax calls

2006-12-05 Thread Kelvin Luck
Jörn Zaefferer wrote: Mike Alsup schrieb: preprocess: function(xml) { The form plugin uses 'before' for the preprocess hook. For consistency, maybe using that name would be a good idea. Done. Still, setting custom request headers in IE(5 - 7) fails, anyone got any

[jQuery] Known issue with fadeTo and IE?

2006-12-05 Thread Kelvin Luck
Hi, Is there any known issues with 1.0.3 and the latest svn which should effect fadeTo in IE? On a page I'm building it seems fadeTo is being ignored (although the callback for after the animation is still firing). Of course everything works fine in Firefox... If it's not a known issue I'll

Re: [jQuery] Known issue with fadeTo and IE?

2006-12-05 Thread Kelvin Luck
the latest from svn. -- Brandon Aaron On 12/5/06, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, Is there any known issues with 1.0.3 and the latest svn which should effect fadeTo in IE? On a page I'm building it seems fadeTo is being ignored (although the callback for after the animation is still

Re: [jQuery] Ajaxstop() having problems in IE?

2006-12-05 Thread Kelvin Luck
Mike Chabot wrote: How do I update to the latest version using SVN? When I try TortoiseSVN, it prompts me for a username and password. Thank you, Mike Chabot It checks out fine for me without from svn://jquery.com/trunk - is that where you are grabbing it from? Hope this helps, Kelvin :)

[jQuery] Custom headers to ajax calls

2006-12-04 Thread Kelvin Luck
Hi, I'm just working on a project which is making ajax calls to a .NET backend using the AjaxPro extension. However, since I'm already using jQuery on the front end I thought I'd avoid using their extra frontend code and just use jQuery. The problem is that their .NET backend expects a

Re: [jQuery] Custom headers to ajax calls

2006-12-04 Thread Kelvin Luck
Choan C. Gálvez wrote: On 12/4/06, Kelvin Luck [EMAIL PROTECTED] wrote: So I made the attached little patch (against jquery-1.0.3.js [Rev: 501]) which just allows you to pass extra headers to the ajax call. It seems to be working for me - please consider it for inclusion into jQuery, I made

Re: [jQuery] DatePicker plugin: dateFormat enhancement [u]

2006-11-23 Thread Kelvin Luck
Hi Stefan, devsteff [c] wrote: hi community and kevin luck, It's keLvin but that's OK :) first i must thank kevin you for his great datepicker. it's really fantastic and fits perfect into my project (even the css :)). Glad you like it! but unfortunately he forget the old world in his

Re: [jQuery] First day of week -- date picker plugin

2006-11-17 Thread Kelvin Luck
Hi, There isn't currently a way in the plugin to change the first day of each week. This is on my TODO list and will get done when I next get a chance to work on the plugin (unfortunately this won't be for at least three weeks). If you are desperate for a version of the date picker where the

Re: [jQuery] First day of week -- date picker plugin

2006-11-17 Thread Kelvin Luck
Hi Kelvin! (unfortunately this won't be for at least three weeks). Please consider adding your datepicker plugin to the jQuery plugin repository. I you don't have an account yet, ask John to get you one. That would allow others to fix bugs in your plugin, or maybe even add features, if

Re: [jQuery] [PATCH] use datePicker without IDs

2006-10-03 Thread Kelvin Luck
Hi Matt, Thanks again for the patch. I just found the time to test it out and it seems to work nicely so I have integrated it into the date picker plugin, Cheers, Kelvin :) On Thu, September 28, 2006 5:06 am, Matt Good wrote: The datePicker plugin[1] won't work for multiple date inputs

Re: [jQuery] [PATCH] use datePicker without IDs

2006-09-29 Thread Kelvin Luck
Hi Matt, Thanks for the patch. I'm just about to go away for the weekend so won't be able to look at it properly until next week but I'll get back to you (and the list) when I have. From a quick look, I think that I was originally doing what you do (storing the relevant info on the INPUT elements

Re: [jQuery] JTip Issue with IE

2006-09-21 Thread Kelvin Luck
Rey Bango wrote: Solved!! Thanks to Yehuda Katz for pointing me over to the jQuery date picker plugin which had a IE hack that resolved the issue! ... This solved the issue! Thanks go out to Yehuda for pointing me in the right direction and Kelvin Luck for developing the workaround

Re: [jQuery] anyone got Date Picker plugin(downloaded) ?

2006-09-14 Thread Kelvin Luck
The site is back up - sorry about that, my host has gone all sketchy for the last few days and my email and sites have been down intermittently... It's here: http://kelvinluck.com/assets/jquery/datePicker/ I'm up for putting it in the jQuery/ visual jQuery svn if someone gives me the relevant

Re: [jQuery] Only allow PDF File upload

2006-09-11 Thread Kelvin Luck
How about: input type=file accept=application/pdf name=whatever / A good first step, this should get most browsers limiting what you can select in the popup choose file dialog, Hope this helps, Kelvin :) Raffael Luthiger wrote: Hi, I would like to create a simple file upload form. The

[jQuery] datePicker plugin IE memory leak fixed

2006-09-10 Thread Kelvin Luck
Hi, I have just released an updated version of my date picker plugin: http://kelvinluck.com/assets/jquery/datePicker/ Thanks to Sean McKenna who reported a memory leak in IE. This turned out to be a pretty major one but relatively easy to fix and so I'd recommend anyone using the date picker

Re: [jQuery] datePicker plugin IE memory leak fixed

2006-09-10 Thread Kelvin Luck
Hi Milian, Thanks for the feedback. This is something that has been requested quite a few times. However, I'm still not convinced by the usefulness of it, I have never needed this functionality on a page I have made or used. Since it seems to be a popular request I'll consider adding it in in

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Hi, Thanks for the great feedback! My comments below... bbuchs wrote: I would argue that less is more. One of the most fantastic things about jQuery and the syntax is that it's so damn light. What's the most common scenario for a date picker in a web app? Is it really neccessary to pick a

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Now, if there were a way to make the start and end dates dependent on another date picker field, then you'd have support for from and to date fields, automatically enforcing the the to can't be after the from. That would be highly cool. :-) Along with the changes I just announced I also did

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Another vote for markup generated via scripting rather than editing the page. That way, you will get more graceful degredation (for when JavaScript is disabled or the browser cannot handle the code). All done :) Although it degraded just as gracefully before it is now a little neater!

[jQuery] date picker plugin update

2006-08-15 Thread Kelvin Luck
Hi, I've just released some fixes to my jQuery date picker plugin which you can get from here: http://kelvinluck.com/assets/jquery/datePicker/ The fixes since I last announced on the list are: * You can now specify an end date - dates after this can't be selected ($.datePicker.setLastDate).