Re: [jQuery] New Site: Hope Cottage

2006-12-13 Thread Sam Collett
On 13/12/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > We just launched a new site that uses jQuery. > http://www.hopecottage.org/ > > -- > Brandon Aaron You don't get anything on the home page with JavaScript disabled, but the top links still work (so technically still accessible, but less searc

Re: [jQuery] Disabling tags

2006-12-13 Thread Sam Collett
On 13/12/06, Brice Burgess <[EMAIL PROTECTED]> wrote: > Joan Piedra wrote: > > > > On 12/12/06, *Aaron Heimlich* <[EMAIL PROTECTED] > > > wrote: > > > > > > div#myid = SLOW!! > > > > #myid = FAST!! > > > > .myclass = SLOW!! > > > > div.myclass = FAST(er)!!

Re: [jQuery] this verus (this)

2006-12-13 Thread Sam Collett
On 12/12/06, Chris Domigan <[EMAIL PROTECTED]> wrote: > > > ...you would have to do $(this)[0], so it's extra typing either way. ... > > > > Er in that example it should be this[0]. $(this)[0] is never needed as 'this = $(this)[0]' when in an 'each' loop (or binding on an event, callbacks in plugi

Re: [jQuery] Disabling tags

2006-12-12 Thread Sam Collett
On 12/12/06, Bruce MacKay <[EMAIL PROTECTED]> wrote: > > Hello folks, > > Another simple question I'm sure. I have a preview page in which I want to > display the text of a tags, but to disable the tag by changing its href > contents to #. > > The code I use to populate the div (#preview) after

Re: [jQuery] Adding an element directly below another one

2006-12-08 Thread Sam Collett
On 08/12/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Brandon Aaron schrieb: > > On 12/8/06, Sam Collett <[EMAIL PROTECTED]> wrote: > >> It has been updated to use the dimensions plugin (I am hesitant to use > >> it as it is still in development, and the

Re: [jQuery] Adding an element directly below another one

2006-12-08 Thread Sam Collett
On 07/12/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > On 12/7/06, Sam Collett <[EMAIL PROTECTED]> wrote: > > I am aware of the dimensions plugin, but am interested in trying to do > > this without relying on it. > > Why do you not want to depend on the dimensi

Re: [jQuery] Adding an element directly below another one

2006-12-07 Thread Sam Collett
On 07/12/06, Chris Domigan <[EMAIL PROTECTED]> wrote: > Link? Don't know how I managed to forget it: http://www.texotela.co.uk/code/jquery/below/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] datePicker changes layout

2006-12-07 Thread Sam Collett
On 07/12/06, Karl Swedberg <[EMAIL PROTECTED]> wrote: > oops. stupid me...I forgot to re-activate the plugin. > > The good news is that I think I've found a solution for you: > > 1., wrap the "to" in a span: > > to > > 2. add some CSS defs to your stylesheet: > > #when input, > #when span.to { >

[jQuery] Adding an element directly below another one

2006-12-07 Thread Sam Collett
This plugin places a given element directly underneath another one. $("#mydiv").below("#myinput") Or at least it is meant to. Doesn't seem to work as intended in IE 6, but Firefox seems OK. I am aware of the dimensions plugin, but am interested in trying to do this without relying on it. __

[jQuery] datePicker changes layout

2006-12-07 Thread Sam Collett
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? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] jQuery tooltip plugin suggestion

2006-12-06 Thread Sam Collett
One thing that I think would be a good improvement to the tooltip plugin (not mine, but the one by Jörn at http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/) is if somehow it has an option to behave like jTip (not the AJAX bit, but the how it is displayed). What I mean by that is for it

Re: [jQuery] Get the Firebug 1.0 Beta!

2006-12-04 Thread Sam Collett
It's remaining open source too, which will probably please some people. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] HI

2006-12-03 Thread Sam Collett
On 04/12/06, Brian Miller <[EMAIL PROTECTED]> wrote: > The "id" and "name" attributes must always be unique on a form. It's > breaking because you made them the same. They *must* be different, even > if they are on different forms. > > - Brian Name doesn't have to be unique (how else would radio

Re: [jQuery] Window Size

2006-12-01 Thread Sam Collett
On 01/12/06, Glen Lipka <[EMAIL PROTECTED]> wrote: > var dimensions = {width: 0, height: 0}; > if (document.documentElement) { > dimensions.width = > document.documentElement.offsetWidth; > dimensions.height = > document.documentElement.offsetHeight ; > } else if (windo

Re: [jQuery] Designing for reuse

2006-12-01 Thread Sam Collett
On 01/12/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > If this type of functionality starts to be > required I would suggest including a standard way for plugins to > easily restore state (.end()) in the core. Destructive methods will be > no more in 1.1, so I don't think .end() will be around eit

Re: [jQuery] Designing for reuse

2006-12-01 Thread Sam Collett
On 01/12/06, Christof Donat <[EMAIL PROTECTED]> wrote: > Hi, > > > Controller set of methods is returned.. > > > > $('#grid').grid().data(data).drig().show() > > $('#grid').grid().scrollToRow(6).drig().css("border", "1px") > > > > A controller object is returned.. > > > > var grid = null > > $("gri

Re: [jQuery] jquery & thickbox on sourceforge.net

2006-11-29 Thread Sam Collett
On 29/11/06, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote: > don't know if you noticed but jquery & thickbox are used on sf.net > download pages... > > -- > Aljosa Mohorovic > > http://www.revolucija.hr > Ivana Lucica 5 > 1 Zagreb, Croatia > > +385 (0)1 616 8414 I've seen the reference to them i

Re: [jQuery] Interface Draggables/Droppables: New approach

2006-11-28 Thread Sam Collett
On 28/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > Hopefully when jQuery 1.1 is out it would mean you don't have to do > > this and you can stick with event.pageX/Y and event.target. > > event.target is already normalized in the latest jQuery revision. It would b > easy to add the normal

Re: [jQuery] .filter(array) bug, and patch

2006-11-28 Thread Sam Collett
On 28/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > > however the bug is only visible in a complex script, and within th > > Firebug > > > Inspector (but I can assure you it breaks my script), and I was not able > > to > > > write a simple test... so you might prefer to ignore me :) > > >

Re: [jQuery] Change href of external links

2006-11-28 Thread Sam Collett
On 28/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > > New to jQuery, and I'm trying to use it to set my external links to open > > a > > > new window without using any attributes to mark the external links. I > > can > > > do this with regular js, using a.href.match, but I can't get it t

Re: [jQuery] Interface Draggables/Droppables: New approach

2006-11-28 Thread Sam Collett
> event.pageX = event.clientX + > document.body.scrollLeft; > event.pageY = event.clientY + document.body.scrollTop; document.body.scrollLeft is always 0 (unless there is no DTD), so this is what it should be: event.pageX = event.clientX + document

Re: [jQuery] Interface Draggables/Droppables: New approach

2006-11-28 Thread Sam Collett
On 28/11/06, Juha Suni <[EMAIL PROTECTED]> wrote: > > > Considering option 3 and the disadvantage of the cursor not being able to be > on top of the helper: > > Have you guys considered ways to go around this. Since #3 seems like the > fastest, you might want to look for little tricks. > > I quickl

Re: [jQuery] Change href of external links

2006-11-28 Thread Sam Collett
On 28/11/06, agent2026 <[EMAIL PROTECTED]> wrote: > > Hi all, > > New to jQuery, and I'm trying to use it to set my external links to open a > new window without using any attributes to mark the external links. I can > do this with regular js, using a.href.match, but I can't get it to work with >

Re: [jQuery] New plug-in: shortKeys

2006-11-27 Thread Sam Collett
On 27/11/06, Erik Beeson <[EMAIL PROTECTED]> wrote: > Since we're on the subject, I find this page pretty helpful for figuring out > keycodes: http://www.ryancooper.com/resources/keycode.asp > > --Erik This demo which I did a while ago shows how the keyCode/charCode varies onkeypress/down/up (keyd

Re: [jQuery] datePicker plugin - inputClick bug fix and other alterations

2006-11-27 Thread Sam Collett
On 27/11/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > On 11/27/06, Sam Collett <[EMAIL PROTECTED]> wrote: > > Along with that, I have reduced the number of times 'attr' is used: > > > > i.e. > > $("").attr({'title'

Re: [jQuery] jQuery 1.1 API improvements (macros, events)

2006-11-27 Thread Sam Collett
On 27/11/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi folks, > > the discussion so far led to the conclusion to remove all those macros > for css() and attr(), eg. color() or val(). css() and attr() are already > quite flexible: Both allow you to get a single property, set a single > property

Re: [jQuery] New plug-in: shortKeys

2006-11-27 Thread Sam Collett
On 27/11/06, Marshall Salinger <[EMAIL PROTECTED]> wrote: > Excellent plug-in! Does anyone know the key-codes to use the left and > right arrows on the keyboard? > > Thanks, > Marshall Left = 37 Right = 39 Others you may find useful: Backspace = 8 Tab = 9 Enter = 13 End = 35 Home = 36 _

Re: [jQuery] datePicker plugin - inputClick bug fix and other alterations

2006-11-27 Thread Sam Collett
On 27/11/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > On 11/27/06, Sam Collett <[EMAIL PROTECTED]> wrote: > > Along with that, I have reduced the number of times 'attr' is used: > > > > i.e. > > $("").attr({'title'

Re: [jQuery] New plug-in: shortKeys

2006-11-27 Thread Sam Collett
On 27/11/06, Rik Lomas <[EMAIL PROTECTED]> wrote: > Hi guys, > > I tried emailing this before, but it seems to be lost in the interweb. > Thought I'd let you know that I've released a new plug-in called > shortKeys, an easy way to implement web application keyboard > shortcuts, as seen in applicati

[jQuery] datePicker plugin - inputClick bug fix and other alterations

2006-11-27 Thread Sam Collett
I've made a few changes to the Kelvin Luck's date picker plugin (http://kelvinluck.com/assets/jquery/datePicker/). After adding the ability to click the input to show the calendar it replaces any existing css classes that may already exist on it (which I should have caught when adding it). So I hav

Re: [jQuery] jQuery rejected by VirtualMart author

2006-11-24 Thread Sam Collett
On 24/11/06, Erin Doak <[EMAIL PROTECTED]> wrote: > I'm relatively new to jQuery but am excited about using it. I > recently posted a request to have the jQuery library added to the > list of libraries supported natively by VirtualMart, a Joomla > ecommerce component. The author of VirtualMart has

Re: [jQuery] Calling default form submit; $('#form')[0].submit(); VS $('#form').submit();

2006-11-24 Thread Sam Collett
On 24/11/06, Mike Alsup <[EMAIL PROTECTED]> wrote: > > It's actually a really small addition, just something like: > > if ( elem[ fnName ] ) > > elem[ fnName ](); > > Yes, but which do you run first, the native fn or the 'on' fn? Or do > you run them both? I think it's not quite as simple a

Re: [jQuery] TimePicker plugin

2006-11-24 Thread Sam Collett
The plugin has been updated (start time and end time can be supplied as a string, in 24 hour format, i.e. "14:00" for 2pm). It still isn't rendering correctly though - no scroll bars in IE until you scroll the mouse (and then you get both, rather than just the vertical one), it doesn't overlap the

[jQuery] TimePicker plugin

2006-11-23 Thread Sam Collett
Working on a time picker (that works in a similar way to the one used in Google Calendar). A bit buggy (mostly CSS issues), but still functional. http://www.texotela.co.uk/code/jquery/timepicker/ I want to solve the issues in the todo list, so if anyone has any fixes, it would be appreciated. I

[jQuery] datePicker plugin - show on input click

2006-11-23 Thread Sam Collett
At the moment, the date picker plugin (http://kelvinluck.com/assets/jquery/datePicker/) uses an anchor added after the input to show the calendar. What I wanted to do is show it when I clicked on the input instead. Also I think it is good practice to add events after adding an element to the DOM (

Re: [jQuery] Form plugin: license

2006-11-23 Thread Sam Collett
On 23/11/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > I think it might make sense to say that any plugin in the svn has the same > license as jQuery by default. Make sense? > > -- Yehuda That would make things easier for those just getting into jQuery. I wonder how many more licenses people want j

Re: [jQuery] Disable a form field using jQuery?

2006-11-22 Thread Sam Collett
On 22/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm running that function I posted earlier. And if it's the incorrect coupon > code, the client wants to prevent the form from being submitted until it IS > the correct code (or blank). > > Can someone remind me how I'd render a form unsubmitt

Re: [jQuery] Off topic: which programming language for webdevelopment

2006-11-22 Thread Sam Collett
On 22/11/06, Web Specialist <[EMAIL PROTECTED]> wrote: > Sam > > I'll disagree. CF is a powerful and free option for localhost development > acessed by localhost and more 2 machines. Only hosting is paid(GoDaddy.com > haves a plan by US$7,95). > > Running under Java make CF yet more powerful and ea

Re: [jQuery] Off topic: which programming language for webdevelopment

2006-11-22 Thread Sam Collett
On 22/11/06, Web Specialist <[EMAIL PROTECTED]> wrote: > I'm with Rey Bango team: ColdFusion is a great alternative. The syntax certainly is easy to understand if you are comfortable with html. Finding hosts that support it may be more difficult, plus you can't run it for free (in a non-trial way)

Re: [jQuery] Off topic: which programming language for webdevelopment

2006-11-22 Thread Sam Collett
On 22/11/06, Barry Nauta <[EMAIL PROTECTED]> wrote: > To all, > > First of all: apologies for this non-jquery related question, but since there > are many experts in web-development on this list, I dare to ask it anyway. > > Our company is looking for a way for 'quick' web-development. Small webapp

Re: [jQuery] Using thickbox to display a cookie based "one timeonly" window

2006-11-22 Thread Sam Collett
On 22/11/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Andy Matthews schrieb: > > I got it working actually. Check it out: > > http://www.girlscoutsofcv.org/indexNEW.cfm > > > The Thickbox is displayed behind the flash content. I think adding > wmode="opaque" to you flash object should solve that

Re: [jQuery] Breaking news from Dean Edwards site

2006-11-22 Thread Sam Collett
On 22/11/06, Andrea Ercolino <[EMAIL PROTECTED]> wrote: > > Dean has devised a way for cloning global JavaScript objects, like Array, > making it possible to subclass them without interfering with their standard > instances in the current page. > > http://dean.edwards.name/weblog/2006/11/hooray/ T

Re: [jQuery] Firebug 1.0 coming soon

2006-11-18 Thread Sam Collett
On 18/11/06, John Resig <[EMAIL PROTECTED]> wrote: > > I'll take that as a 'no' then? > > Yeah, unfortunately. We have to keep it private until he wants to > release it (which may be for money, it sounds). > > --John It is understandable why he wants to charge for it, but that will put a lot of pe

Re: [jQuery] name attribute gets removed from inputs in IE7

2006-11-17 Thread Sam Collett
On 16/11/06, Sam Collett <[EMAIL PROTECTED]> wrote: > On 16/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > Sam Collett schrieb: > > > Test case: > > > $( > > > function() > > > { > > > var action = $(&q

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

2006-11-17 Thread Sam Collett
On 17/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > 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 ot

Re: [jQuery] name attribute gets removed from inputs in IE7

2006-11-16 Thread Sam Collett
On 16/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Sam Collett schrieb: > > Test case: > > $( > > function() > > { > > var action = $("").attr( > > { > > &q

[jQuery] name attribute gets removed from inputs in IE7

2006-11-16 Thread Sam Collett
Test case: $( function() { var action = $("").attr( { "name": "action", "value": "delete" }); alert(action[0].name); // name seems to be added fine a

Re: [jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
On 16/11/06, Sam Collett <[EMAIL PROTECTED]> wrote: > To answer my own question, creating an iframe containing a form and > then submitting the form works as I want it to. No AJAX needed: > > var records = $("").attr( > { > //"type": &qu

Re: [jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
On 16/11/06, Sam Collett <[EMAIL PROTECTED]> wrote: > var form = $("").attr( > { > "method": "post", > "action": "report.ashx" > }).append(patients)[0]; Should be }).append(records)[0];

Re: [jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
d to body $("body").append(iframe); // get document object in iframe (contentWindow is for IE) var d = iframe.contentDocument || iframe.contentWindow.document; // open the document d.open(); // write the form to the page (by appending to a div and getting the html it contains d.write($("").append(form).

[jQuery] Using AJAX to download files

2006-11-16 Thread Sam Collett
I have a WebHander that returns a binary file (PDF to be precise). How can I use AJAX to display that file in the browser? Returned content type is "application/pdf" and it is sent with the header "Content-disposition:attachment; filename=report.pdf" so it forces a download. var checkedItems = [];

Re: [jQuery] Next generation WYSIWYG editor... maybe? am I missing something?

2006-11-16 Thread Sam Collett
On 16/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > I do not know if anybody has viewed this new project, > > http://www.wymeditor.org/en/ which aims to produce nice clean code AND > > will > > be using jquery to power the application. > > > > Maybe it would be more productive for those wh

Re: [jQuery] Why does this code not work?

2006-11-15 Thread Sam Collett
On 15/11/06, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > > > Hi, all… > > Trying to grasp js and jQuery…why won't this code work? > > (No response on my test page at all to the code…) > > JQuery code: > > $(document).ready(function() { > > > $("div.ann").find("p.title").hide().end().find("p.text"

Re: [jQuery] Opening popup window using jQuery to a.href?

2006-11-15 Thread Sam Collett
On 15/11/06, digital spaghetti <[EMAIL PROTECTED]> wrote: > Hi Folks, > > Ok, I am being stupid and can't work this out and it's probably so > simple. What I want to do is keep my site XHTML valid, so I don't > want target= params in any of my links, I want to use jQuery to take > the href param f

Re: [jQuery] Prototype compatibility - a different approach

2006-11-15 Thread Sam Collett
On 13/11/06, henrah <[EMAIL PROTECTED]> wrote: > Hi Sam. > > > That sounds like a good compromise. I've never seen that method to get > > the current scripts file name. Does it work in most browsers (inc IE > > 5.5+)? > > Actually, after a quick trawl through MSDN, I don't think the fileName > pro

Re: [jQuery] new jQuery API draft

2006-11-14 Thread Sam Collett
On 14/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Hi Sam! > > > It would serve as both documentation and a demo of work done by the > > community. It also needs to be quick (so using too many plugins may > > slow the page down). > > Actually I'm trying to get it working without Javascript.

Re: [jQuery] Get all previous/next siblings

2006-11-14 Thread Sam Collett
On 14/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Sam Collett schrieb: > > Say I have a list: > > > > > > Item 1 > > Item 2 > > Item 3 > > Item 4 > > Item 5 > > > > > > I attach a click event

Re: [jQuery] new jQuery API draft

2006-11-14 Thread Sam Collett
On 14/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > >> I'd like to present you a first draft for a new stylesheet for the > >> jQuery API: http://joern.jquery.com/api-draft/cat.xml > > > > How about adding quicksearch to the navigation? > > > Yes, let's power the API docs with jQuery's own plug

Re: [jQuery] Which CMS / Wiki jQuery.com is using

2006-11-14 Thread Sam Collett
Trac is used for version control and the Wiki: http://trac.edgewall.org/wiki/TracWiki ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Get all previous/next siblings

2006-11-14 Thread Sam Collett
Say I have a list: Item 1 Item 2 Item 3 Item 4 Item 5 I attach a click event to each (actually I would append an anchor and attach to that, but for simplicities sake). How would I then get all nodes prior to it (i.e. if I click Item 3, Item 1 + 2 move after Item 5)? $("#myl

Re: [jQuery] new jQuery API draft

2006-11-14 Thread Sam Collett
On 10/11/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi jQueryians, > > I'd like to present you a first draft for a new stylesheet for the > jQuery API: http://joern.jquery.com/api-draft/cat.xml > > There is still lot's of work to do, but the main concern, a new concept > for the navigation, is

Re: [jQuery] Prototype compatibility - a different approach

2006-11-13 Thread Sam Collett
On 13/11/06, henrah <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I actually posted this in bug #137 - Prototype Support Plugin, but then I > realized it might be more appropriate on the mailing list, since I'm looking > for feedback on this idea. > > > Is the main issue here making jQuery compatibl

Re: [jQuery] new jQuery API draft

2006-11-11 Thread Sam Collett
On 10/11/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi jQueryians, > > I'd like to present you a first draft for a new stylesheet for the > jQuery API: http://joern.jquery.com/api-draft/cat.xml > > There is still lot's of work to do, but the main concern, a new concept > for the navigation, is

[jQuery] Text Clip Generator for jQuery

2006-11-09 Thread Sam Collett
As a user of jQuery (jquery.com) and Programmer's Notepad 2 (www.pnotepad.org) I find that the text clips feature of PN2 can help productivity (and also be used as a quick reference of the methods available), so I have created a command line tool (written in .NET 1.1) that can generate these clips.

Re: [jQuery] Media plugins

2006-11-09 Thread Sam Collett
On 09/11/06, Mike Alsup <[EMAIL PROTECTED]> wrote: > I've just posted some convenience plugins for dealing with Quicktime, > Flash, and mp3 media. > Source and demos can be found here: http://malsup.com/jquery/media/ > > Mike Can it be modified to work with FLAM and WIMPY? Details: http://jdfre

[jQuery] jQuery SVN over HTTPS

2006-11-09 Thread Sam Collett
SVN access over HTTPS would be useful. Are there any plans for it being implemented (the port used by SVN is blocked here and the required header methods for HTTP access aren't allowed either (and probably never will be))? ___ jQuery mailing list discuss

Re: [jQuery] Problems loading select options in IE

2006-11-09 Thread Sam Collett
On 09/11/06, Michael Prinsloo <[EMAIL PROTECTED]> wrote: > Hi > > I am generating some tags with php and then loading them into a > select box with jQuery's load method as follows: > > The Select Box: > > > > The Javascript: > > $("#selectbox").load("phpfile.php", {action: "getoptions", alpha: "A

Re: [jQuery] selectbox plugin - take 2

2006-11-09 Thread Sam Collett
On 09/11/06, Christian Bach <[EMAIL PROTECTED]> wrote: > Erik Beeson wrote: > > Changing with the arrow keys is nice, but it seems like it should select > > when you hit Enter, and revert to the last selection when you hit ESC. > > It's now on the list of stuff to implement. > > Perhaps accessibili

Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-09 Thread Sam Collett
On 09/11/06, Matthew Delmarter <[EMAIL PROTECTED]> wrote: > > > > > Hi Will, > > > > Great plugin! > > > > Just wondered if you could describe your solution to the IE6 flicker? Is it > just a matter of caching images first or something? I have this issue I > something I am building and it is very f

Re: [jQuery] Tweak to Jorn's ToolTip plugin

2006-11-09 Thread Sam Collett
On 08/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm going to use Jorn's plugin for a site I manage, but I didn't think it > was all that useful to have the link or the img src be displayed. I know I > can turn it off, but I chose instead to go behind the scenes and make the P > tag display

Re: [jQuery] Star Rating Plugin?

2006-11-08 Thread Sam Collett
On 06/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > One thing that I'll comment on the example provided is that in IE6/PC, > there's a noticeable delay before the stars display their rollover state. > That would be a deal breaker for me. > > andy matthews > web developer > certified advanced c

Re: [jQuery] New jQuery plug - selectBox

2006-11-07 Thread Sam Collett
On 06/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > The other day i started working with a new client, our designer wanted > to use sucker fish type of menus. In the design select boxes are a > common element due to the fact that this is a e-commerce website. Only > one thought came

Re: [jQuery] set focus?

2006-11-06 Thread Sam Collett
On 06/11/06, Jez McKean <[EMAIL PROTECTED]> wrote: > > > I see focus() will run the events tied to an elements onfocus, but how can I > set the focus. > (e.g. click button to un-disable a text input, then set the focus on said > input.) > > Regards, > Jez $("#myinput")[0].focus() Perhaps calling

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > By the way, as nearly no one uses the "convention" for filenaming > (jquery.xxx.js): I think it's time to simply remove it, any objections? > > -- > Jörn Zaefferer > http://bassistance.de > -- I do find it helpful as it shows that jQuery

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, Michael Geary <[EMAIL PROTECTED]> wrote: > > > http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/ > > > A suggestion - perhaps you should use 'jQuery' instead of '$' > > as isn't that the convention for plugin authoring? > > The code does use jQuery instead of $. Jör

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Hi jQueryians! > > I actually managed to release my first official and documented jQuery plugin, > a Tooltip implementation. It doesn't use AJAX, nor extra markup, only title > and href attributes and some styles. You can customize the de

Re: [jQuery] isNot

2006-11-06 Thread Sam Collett
On 06/11/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > Why not just do > > if(!jQuery("div").is(":foo")) { > // do stuff... > } I thought of that just after hitting send... however, when providing a function I think it is good to provided a counterpart as well. While it is documented, 'not'

[jQuery] isNot

2006-11-05 Thread Sam Collett
jQuery has an 'is' method to see if a current selection matches an expression. There does not seem to be a counter part (not does this but returns a jQuery object, not a boolean). Perhaps there should be isNot? Untested: jQuery.fn.isNot = function(expr) { return expr ? jQuery.filter(expr,

Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Sam Collett
On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote: > Since a lot of what I > do it maps and building apps on top of maps, I would really be able to > use some generic tools for drawing that are fast, cross browser and > capable of handling more than a few dozen points or objects. So I gue

[jQuery] Use native XPath if possible

2006-10-27 Thread Sam Collett
How about using native XPath methods when they are available, falling back to how it is done now when those methods are not available? i.e. $("//h2", context) In Firefox / Gecko based browsers: document.evaluate('//h2', context, null, XPathResult.ANY_TYPE, null) That would hopefully improve perf

Re: [jQuery] Adding class to dynamic element

2006-10-27 Thread Sam Collett
On 27/10/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > First up, you can wrap your newly created nodes in $ and use jQuery methods. > > Instead of: > >var listLabel = document.createElement( 'label' ); > listLabel.style.display = '-moz-inline-box'; > listLabel.style.textAlig

Re: [jQuery] performance optimizations?

2006-10-26 Thread Sam Collett
On 26/10/06, John Napiorkowski <[EMAIL PROTECTED]> wrote: > Hi, > > I've just been using Jquery for a few days and WOW, > this has been very productive for me. This is > fantastic work all around. I do have two questions > I'm hoping someone might know something about: > > 1) Where can I find a s

Re: [jQuery] Brainbreaker: backwards searching possible?

2006-10-25 Thread Sam Collett
On 25/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Guys i am having some problems with my NEW plugin (yes another one :p) > > Is it possible to search backwards from the current element? > > To be specific, i need to find the first VISIBLE (e.g. not hidden by css > or not type="hidden") an

Re: [jQuery] Is there a way to dynamically load jquery plugins

2006-10-22 Thread Sam Collett
On 23/10/06, Michael Geary <[EMAIL PROTECTED]> wrote: > > I would like to be able to load my jquery plugins dynamically > > as this would reduce the number of scripts in my document head. > > You can easily load any .js file dynamically, for example with code like > this: > >function addScript(

Re: [jQuery] method/plugin for getting query string vars?

2006-10-20 Thread Sam Collett
On 20/10/06, Luke Lutman <[EMAIL PROTECTED]> wrote: > Is there a jQuery method or plugin for parsing the browser's query string > into an object? > > I looked through the api and did a bit of searching around, but no luck ... > > Thanks, > Luke > > -- > zinc Roe Design > www.zincroe.com > (647) 47

Re: [jQuery] Improved jQIR?

2006-10-20 Thread Sam Collett
The latest version of my plugin is available at (those on Google Pages are no longer updated): http://www.texotela.co.uk/code/jquery/jQIR/ I use 'format' first as the second parameter 'path' is now optional (leave it blank to have no path prepended). I don't use image.onload due to it not firing

Re: [jQuery] Checking select option has class?

2006-10-18 Thread Sam Collett
On 18/10/06, Luc Pestille <[EMAIL PROTECTED]> wrote: Hi all, Thanks to IE's wonderful ommission of disabled="disabled" for options in select drop downs, I need to add a class to disabled options and and check for that class when the form is submitted. How do I check the selected

Re: [jQuery] SVN and firewall issues

2006-10-18 Thread Sam Collett
I feel your pain... ours (or rather one in particular) don't even allow SVN over HTTP (the HTTP methods it requires are blocked). It is not business critical (would just make my life easier as I would be able to try out more open source applications and maybe even contribute), so unlikely to get un

Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread Sam Collett
On 16/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Hi, > > after making tabs truly bookmarkable the back button still did not work. > I started to fix that and the back/forward button now works in: Firefox, > Safari, Opera. > > In Safari I implemented a pretty straight forward solution based on

Re: [jQuery] jQuery API discussion

2006-10-16 Thread Sam Collett
On 16/10/06, Brian Miller <[EMAIL PROTECTED]> wrote: > I think that there's a simpler answer to this. > > If we're going to overhaul the API that much, we need to do three things. > > 1. Talk it out thoroughly, and make sure we get it "right" this time. > 2. Publish a new full release of jQuery (2.

Re: [jQuery] I'm find a bug in jQuery??s Cookie plugIn

2006-10-16 Thread Sam Collett
On 16/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Microtoby schrieb: > > I'm find a bug in jQuery's Cookie plugIn. > > > > When you write more than 2 cookies, from the second, you could not read > > it value correctly. > > > > It's because read document.cookie is "cookie1=val1; cookie2=val2

Re: [jQuery] IE debug tool

2006-10-13 Thread Sam Collett
On 13/10/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Stephen Woodbridge schrieb: > > Hey, > > > > This is new to me and looks like a great tool for debugging IE issues: > > > > http://www.debugbar.com/ > > > The only thing I could get out of that tool was a view of the rendered > DOM. But it wa

Re: [jQuery] The index of an element with Event

2006-10-13 Thread Sam Collett
On 13/10/06, BoOz <[EMAIL PROTECTED]> wrote: > Hello, > > I can't figure out how to accès the index of the élément that is clicked. > > Let's say I have 4 mp3 links in the page and that I click the second one > , I can acces the url of the link that is clicked like this > > $("[EMAIL PROTECTED]'en

Re: [jQuery] Form plugin revisited ;-)

2006-10-13 Thread Sam Collett
On 13/10/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > An idea to boost the performance of the formToArray method while retaining > order: > $('*', context).filter(':input')... > > -- Jörn That would remove textarea's and buttons though (or does :input already take that into account?) Would

Re: [jQuery] Plugins using jQuery instead of $ died with latest

2006-10-12 Thread Sam Collett
On 12/10/06, John Resig <[EMAIL PROTECTED]> wrote: > That is correct. I would change /src/latest/ to be current, but there > are lots of people who are loading it dynamically from their web > sites, and I don't want to break their existing code. > > For now, the latest version can always be found h

Re: [jQuery] new plugin: nifty for jQuery

2006-10-12 Thread Sam Collett
On 11/10/06, David Olinsky <[EMAIL PROTECTED]> wrote: > Paul, nice implementation of nifty inside of jquery. Out of curiosity, > does nifty do rounded corners any differently then Dave's plugin? > > http://methvin.com/jquery/jq-corner-demo.html Dave's does have less code involved, doesn't use the

Re: [jQuery] form plugin updates

2006-10-12 Thread Sam Collett
On 11/10/06, John Resig <[EMAIL PROTECTED]> wrote: > > I don't think this is a big problem, we can just rename the form's > > serialize method to formSerialize or something like that. It's > > unfortunate that two methods of the same name exist and it's better to > > fix it now than to perpetuate

Re: [jQuery] new plugin: nifty for jQuery

2006-10-11 Thread Sam Collett
On 11/10/06, Paul Bakaus <[EMAIL PROTECTED]> wrote: > Hi all, > > I noticed there was an update on the famous nifty2, which does rounded > corners on elements without the use of graphics. When I saw the parsing > capabilites, I thought "Why not use jQuery for that". > So I went ahead and used 3

Re: [jQuery] Appending to

2006-10-11 Thread Sam Collett
On 11/10/06, Sam Collett <[EMAIL PROTECTED]> wrote: On 11/10/06, Blair McKenzie <[EMAIL PROTECTED]> wrote: I dug this plugin up from the mail list. Don't know whether it's up to date though. BlairThat is an old version. I have a newer version available at: http://www.texo

Re: [jQuery] Appending to

2006-10-11 Thread Sam Collett
On 11/10/06, Blair McKenzie <[EMAIL PROTECTED]> wrote: I dug this plugin up from the mail list. Don't know whether it's up to date though. BlairThat is an old version. I have a newer version available at:http://www.texotela.co.uk/code/jquery/select/To add multiple options: var myOptions = {    "Val

<    1   2   3   4   5   >