Re: [jQuery] Incorrect selection on mouse click in IE7+

2010-02-19 Thread Craig Heneveld
I have a fix for this issue on jQuery Autocomplete plugin 1.1. The file is attached. I commented out the return false on line 222 and added a putCursorAtEnd() function, so that after selecting an autoComplete item it moves the cursor to the end of the field (IE fix). http://old.nabble.com/file/

[jQuery] Re: How to handle large xml files?

2009-12-02 Thread Craig
Well our 1 language xml file is gonna be too huge, to force people to wait for it to finish loading, so i have to break it up, just wondered if there was a better option available, that's all. On Dec 1, 3:27 pm, Andre Polykanine wrote: > Hello Craig and all, > > I have 1 lng file

[jQuery] Re: How to handle large xml files?

2009-12-01 Thread Craig
Do you have 1 lng file for your whole site, or smaller lng files for many different pages? On Dec 1, 1:35 pm, Andre Polykanine wrote: > Hello Craig and all, > > I'm using a *.lng file included once when a user opens the main page. > The choice which file to include is base

[jQuery] How to handle large xml files?

2009-12-01 Thread Craig
Basically i have an xml file that stores english, and other languages, for text replacement all over the site. It can do this rapidly, in smaller xml file sizes. But once we start to use bigger files, it crashes on me. So what can I do, to prevent crashing or long waiting? Is the only way to br

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-06-09 Thread Craig G
I too think that we need an example of how to incorporate Ajax/Lazy loading into slickgrid.

[jQuery] Re: If statement in form validation

2009-05-15 Thread Craig Hoffman
ss: "required", billing_city: "required", billing_state: "required", billing_zip: "required", billing_email: true } }, messages: { first: "Please enter your first name", } }); }); ___ Craig Hoffman iChat / AIM: mountain.dog ___

[jQuery] dynamically reload your data in json (for categorical filtering)

2009-04-03 Thread craig mcrae, interactive developer @ roundarch
What's going on here? We're pulling in a json object with all of our data (itemListMaster) and keeping a record of it to parse data from later and populate our default json object (itemList). I'll comment in the code below to explain what's going on. ### the code ### var mycarousel_itemListMas

[jQuery] Re: Recommendation Required - Custom Classes Library

2009-02-06 Thread Neil Craig
Note, that this applies to Mootools 1.11. I haven't touched version 1.2+, I'm sure they differ a lot. On Jan 23, 2:30 pm, Balazs Endresz wrote: > Then what if you just use Class.Extras and all its dependencies as it > is? Now that sounds too easy :) > > On Jan 23, 9:21

[jQuery] Re: jQuery 1.3.x & XPath

2009-02-06 Thread Neil Craig
Mmmm, haven't tried that. Thanks! On Jan 29, 8:33 am, Klaus Hartl wrote: > On 29 Jan., 06:05, Neil Craig wrote: > > > I have tried it, but it yields no results when searching for elements. > > > What I loved about the xpath functionality was that I could have used >

[jQuery] Re: jQuery 1.3.x & XPath

2009-01-28 Thread Neil Craig
, Karl Swedberg wrote: > On Jan 28, 2009, at 6:43 AM, Neil Craig wrote: > > > > > Earlier version of jQuery allowed one to search for elements using > > XPath, but after the implementation of the Sizzler selector engine, > > the XPath support was lost, or so it seems. &

[jQuery] jQuery 1.3.x & XPath

2009-01-28 Thread Neil Craig
Earlier version of jQuery allowed one to search for elements using XPath, but after the implementation of the Sizzler selector engine, the XPath support was lost, or so it seems. Any comments?

[jQuery] Re: Recommendation Required - Custom Classes Library

2009-01-23 Thread Neil Craig
and Class, and hack it to work with jQuery ... now that sounds > like a whole new framework :) > I don't know Mootools that much at all but maybe it's not as hard as > it sounds... > > On Jan 21, 8:18 am, Neil Craig wrote: > > > Bump :) > > > On Jan 20,

[jQuery] jQuery.support & IE6 or later

2009-01-21 Thread Neil Craig
I fully understand why support detection is considered much better than browser sniffing. But I have yet to see a way to detect the flash/ selectbox bleed-through issue that exists in IE version 6 or earlier. For that reason, I think that jQuery.browser should be maintained in future releases of

[jQuery] Re: Recommendation Required - Custom Classes Library

2009-01-20 Thread Neil Craig
Bump :) On Jan 20, 10:36 am, Neil Craig wrote: > I was wondering, which Custom Classes Library is best to use along > with jQuery. Up to now, I've been using Mootools to create custom > classes that can be easily extended through its inheritance model. It > also has custom e

[jQuery] Re: Class selectors not working when using jQuery 1.3 with Mootools 1.11

2009-01-20 Thread Neil Craig
ixed in the trunk. > > I suspect this is > it:http://github.com/jeresig/sizzle/commit/0a9df6e0b68a91dd1f59bfd6e7941... > > On Jan 20, 3:26 am, Neil Craig wrote: > > > Hi > > > I'm working on a project that used to implement Mootools 1.11. It has > >

[jQuery] Re: loading jquery

2009-01-20 Thread Neil Craig
This link might help http://ajaxpatterns.org/On-Demand_Javascript On Jan 20, 10:39 am, slava wrote: > Hi, > I am loading jQuery from a script inside a page and need to execute > next function right after jQuery loads. What would be the best way to > do this? > So far I have tried using a timer

[jQuery] Recommendation Required - Custom Classes Library

2009-01-20 Thread Neil Craig
I was wondering, which Custom Classes Library is best to use along with jQuery. Up to now, I've been using Mootools to create custom classes that can be easily extended through its inheritance model. It also has custom events that I have used extensively. Which library do you recommend that has t

[jQuery] Class selectors not working when using jQuery 1.3 with Mootools 1.11

2009-01-20 Thread Neil Craig
Hi I'm working on a project that used to implement Mootools 1.11. It has been decided however that we switch over to jQuery since it is much faster and more light-weight. However, because we have created numerous widgets in Mootools, we still have to use it while the jQuery equivalent widgets ar

[jQuery] Disable/Enable jQuery Added Events

2008-11-27 Thread Neil Craig
Something I would like to do is to add several events handlers to an element and control the firing by enabling & disabling it. For example: jQuery(".sample").click(function() { // do something }).disable(); Clicking should not fire the event until jQuery(".sample").enable() has been called. Ha

[jQuery] Re: style selector (noob question)

2008-11-26 Thread Craig
Thanks! That looks to be just the solution I'm looking for. On Nov 27, 1:10 pm, seasoup <[EMAIL PROTECTED]> wrote: > ok, found a plugin for you: > > http://flesler.webs.com/jQuery.Rule/ > > On Nov 26, 4:40 pm, Craig <[EMAIL PROTECTED]> wrote: > > > >

[jQuery] style selector (noob question)

2008-11-26 Thread Craig
t and then 'extract' the colors from that. I can only get it to work if I do something like this: ... var color = $(".myclass").css("background-color"); any ideas? Craig.

[jQuery] jqModal and cleaning up after itself

2008-01-10 Thread Matt Craig
Perhaps this is a non-standard way to use jqModal, but I use it pretty much exclusively for dynamic form popups. My modal DIVs are dynamically generated and have iframes for content. My use case is: 1) open Modal_1 (generates a div with id="div_order" containing an iframe with id="if_order") 2)

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-09 Thread Craig
Bit more... turns out you can declare it in the function, just remove var. So instead of var _uacct = code; // <- local declaration Write: _uacct = code; // <- global declaration On Nov 8, 4:13 pm, Craig <[EMAIL PROTECTED]> wrote: > Hi Jason, > > I've been working

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-08 Thread Craig
Hi Jason, I've been working on something very similar and stumbled on your code. Not sure if you figured out your problem yet, but this is my guess for why it hasn't been logging your test accounts: // add tracking code to the current page function addTracking(){ var _uacct = code; // conso

[jQuery] Re: Opinions on YUI?

2007-09-19 Thread Craig
> 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 > thin

[jQuery] Adapting fValidate to work with jQuery

2007-09-09 Thread Craig Allen
Just in case others are looking for help making jQuery work properly if you are also using the fValidate library... The problems mostly afflict IE6, but show up in various places - things just don't work. I'm not sure this cure all problems, but it made a huge difference in what I was trying to d