[jQuery] How to use multiple versions of jQuery

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

[jQuery] Re: Alternative stylesheet for jQuery.com

2009-01-15 Thread Mark Gibson
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 ad

[jQuery] Alternative stylesheet for jQuery.com

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

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

2008-11-28 Thread Mark Gibson
With the follow style of markup: 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 think of creating a plugin to make this easier: $('#my-combo').owns('[role=list]:first'); $.fn.

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

2008-11-26 Thread Mark Gibson
lter(function() { >    return !$(this).parents('ul').length; > > }) > > --Karl > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Nov 17, 2008, at 10:58 AM, Mark Gibson wrote: > > > > > The trouble is that the elements i'

[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-17 Thread Mark Gibson
fty page of CSS3 > > selectors:http://www.w3.org/TR/2001/CR-css3-selectors-2003/#selectors > > > -Hector > > > On Mon, Nov 10, 2008 at 5:06 PM, Hector Virgen <[EMAIL PROTECTED]> wrote: > > > $('#container ul:first') should give you the first UL in the c

[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 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 elements. I've been raking my brains over this, and can't see a way with css style selec

[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 na

[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
epages.com/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] New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
lepages.com/model.js - Mark Gibson