[jQuery] How to use multiple versions of jQuery

2009-02-19 Thread Mark Gibson
suggestions? Regards - Mark Gibson

[jQuery] Alternative stylesheet for jQuery.com

2009-01-15 Thread Mark Gibson
-primarySearchForm { bottom: 4px; } At the minute I use greasemonkey to add this, but I thought others may benefit too. Regards - Mark Gibson

[jQuery] Re: Alternative stylesheet for jQuery.com

2009-01-15 Thread Mark Gibson
://addons.mozilla.org/en-US/firefox/addon/2108 Mark Gibson wrote: Any chance of getting an alternative stylesheet added to jquery.com? I've got a small 1024x600 display, and the heading of jquery.com, nice as it is, takes up a lot of space. I'd just like to suggest adding the following

[jQuery] how can i find() including self?

2008-11-28 Thread Mark Gibson
With the follow style of markup: div id=my-combo role=combobox aria-owns=my-list another-thing /div div id=my-list role=list /div I need to find the first element of type [role=list], in either the descendants of #my-combo, or the elements (and descendants) identified in aria- owns. I was

[jQuery] Re: tabindex for beginners

2008-11-26 Thread Mark Gibson
If you are using IE, then it won't currently work in jQuery 1.2.6. Add the following fix at the top of your script: if ($.browser.msie !$.props.tabindex) $.props.tabindex = 'tabIndex'; and you don't need to use the each() call, just do this: $(':input').attr('tabindex', -1); a better idea,

[jQuery] Re: Anyone know how to find the topmost elements of a specific type?

2008-11-26 Thread Mark Gibson
Swedbergwww.englishrules.comwww.learningjquery.com On Nov 17, 2008, at 10:58 AM, Mark Gibson wrote: The trouble is that the elements i'm looking for are not necessarily direct children of the container, so isn't going to work. What I really need is to stop jQuery from searching any deeper once

[jQuery] Re: Anyone know how to find the topmost elements of a specific type?

2008-11-17 Thread Mark Gibson
[EMAIL PROTECTED] wrote: $('#container ul:first') should give you the first UL in the container -Hector On Mon, Nov 10, 2008 at 4:50 PM, Mark Gibson [EMAIL PROTECTED] wrote: Anyone know how I can find the topmost elements of a certain type, eg. Say I have several ul lists on a page

[jQuery] Anyone know how to find the topmost elements of a specific type?

2008-11-10 Thread Mark Gibson
Anyone know how I can find the topmost elements of a certain type, eg. Say I have several ul lists on a page, which in turn contain sub- lists, and so on. Is there a selector I can use to find all the topmost ul elements. I've been raking my brains over this, and can't see a way with css style

[jQuery] New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
- Mark Gibson

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
/jquery.mvc.js On May 18, 1:00 pm, Mark Gibson [EMAIL PROTECTED] wrote: Hello, I've got a new plugin for jQuery. It's a simple data model, useful for implementing a client-side MVC pattern.

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
On May 18, 2:47 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Thats quite interesting stuff. Some things of my mind: Use the metadata plugin to specify and read metadata. It would be nice if the textarea with the serialized model data could be edited. Once you change something, the form is

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
On May 18, 3:12 pm, Brandon Aaron [EMAIL PROTECTED] wrote: I like that! In addition to what Jörn said I would suggest using the $.model namespace for all your other properties and methods. So $.modelOptions would then become $.model.options. This will cut down on the jQuery global namespace