[jQuery] Are numerical properties/indexes supported?

2010-01-13 Thread Dean
Any jQuery object currently has numerical properties/indexes that store references to the DOM node elements matched in the search. (E.g., $(div)[0] is a reference to the first matched DOM node element in the search.) Can we rely on these properties remaining in jQuery indefinitely? (I haven't

[jQuery] Re: Are numerical properties/indexes supported?

2010-01-13 Thread Dean
I seem to have answered my own question here. Since the jQuery.get() method is around, and since jQuery is an array at heart, I assume it's supported. On Jan 13, 2:03 am, Dean deanpe...@gmail.com wrote: Any jQuery object currently has numerical properties/indexes that store references

[jQuery] simple plugin script

2010-01-12 Thread Dean
In my plugin, I'd like to provide a constructor (or sorts) that returns an extended jQuery object with some additional functionality. I've reduced this problem down to a very simple test case. I don't get an error until I attempt to run a method of the new, extended object. The error is

[jQuery] Re: re-establish user selection in a div with designmode=true

2009-06-07 Thread Dean
Thanks. I took your advice and thought I had everything working nicely. Before I update the div my code recursively descends into the div so that I can turn a range component (refNode + offset) into an offset in a paragraph number. I tested this in firebug and it works fine. After the div is

[jQuery] Re: re-establish user selection in a div with designmode=true

2009-06-07 Thread Dean
Sidenote: Now this is truly weird. I commented out my code. After I reload the div I have it select all the contents of the div, like this: $('#right div.text').each(function() { window.getSelection().removeAllRanges(); var range = document.createRange();

[jQuery] Re: re-establish user selection in a div with designmode=true

2009-06-07 Thread Dean
OK, now I got it to work... I needed to re-establish the range inside my ajax call. Cool. One wierd thing I did notice though is that sometimes the insertion cursor disappears. Its in the right place, its just not visible until you start to type. Thanks again for the suggestions.

[jQuery] Re: re-establish user selection in a div with designmode=true

2009-06-05 Thread Dean
paragraph. I really don't understand how to get it to work. If I can figure out how to do it, life will be good! Any other ideas? Dean On Jun 5, 6:29 pm, Gustavo Salomé gustavon...@gmail.com wrote: Im not sure if i get what you want to do but try this: $div=$('#div'); div.data('old',div.html

[jQuery] Re: inline script html vs xhtml

2009-05-27 Thread Dean
Wow. That is totally bizzare. When I self close but don't have any inline scripts, it works. Thanks! On May 27, 11:52 am, Scott Sauyet li...@sauyet.com wrote: dhooverwrote: I am a bit perplexed at why a simple bit of code I have is firing in HTML but not in the equivalent XHTML. Here is

[jQuery] Does IE simply not work or...

2009-02-16 Thread Dean C. Reed
Or is there a common work around? I spent a few days getting familiar with JQuery and it works perfectly in Firefox. I go to test it in IE and literally nothing works. Aside from the basics, I'm using a validator plugin, but I'm getting JS errors at every turn. Vague errors like object

[jQuery] Re: Gathering page elements when using .post()....

2009-02-13 Thread Dean C. Reed
The serialize appears to create a string for GET, I need name/value pairs - object1: object1value, object2: object2value etc. For constructing the URL, I can see how to use serialize but it won't work for post, I get the JS error Invalid object initializer. Any ideas for using serialize

[jQuery] Re: load() not loading my dynamic page

2009-02-05 Thread Dean Barker
look at onLoad() http://www.frameJockey.co.uk www.frameJockey.co.uk i...@framejockey.co.uk framejoc...@gmail.com framejoc...@yahoo.com [image: Google Talk:] framejoc...@gmail.com [image: Y! messenger:] frameJockey 2009/2/5 Code Daemon ryan.det...@gmail.com When I use load(), it works fine

[jQuery] Re: good in FF but not in IE??? 10 lines of code ?

2009-02-04 Thread Dean Barker
the sidebar list is missing ?? whats all that about . Roll on IE 8 ! http://www.framejockey.co.uk/preWordpress/ Thanks in advance Dean

[jQuery] jQuery generated links are printing out the whole URL when user tries to print their info

2009-01-27 Thread Dean Farrell
We're having a problem with jQuery generated links appearing normally on screen, but printing out the whole URL in print view. Any suggestions? Thanks, Dean Farrell

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-08 Thread dean
I use scite its really light weight and powerful at the same time if you have ever used TextMate on the Mac then it will be familiar. Might be worth a look anyway. href=http://www.scintilla.org/;http://www.scintilla.org//a

[jQuery] Re: [New plugin] Colorpicker

2008-07-07 Thread Dean Landolt
The picked is really nice, but I'm unable to use the arrows on firefox 3 / Linux. The arrows work for me in FF3. You have to click and drag on them -- they're not spin buttons, though at first glance that is how they look.

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-26 Thread Dean Landolt
Hi again, you replied directly to me with this: Awesome! Now 1 more question. How can I have it not hover the last row too? Just to expand a little on sheshnjak's point above, if it does sound like it's a header and footer you're trying to differentiate. If that's the case, may I suggest

[jQuery] Re: submitting a form by pressing enter

2008-06-26 Thread Dean Landolt
It's been my experience that listening for keycodes in js can be a bit hairy. If you have a bunch of inputs, it's probably semantic to wrap them in a form (the div too if you like), then you could take advantage of the on built-in event listener but just prevent the actual form submission:

[jQuery] Re: Cluetips Protips Jtips

2008-06-07 Thread Dean
Haven't seen anything of that quality done with jQuery, you could use Prototip with jQuery noConflict. I've emailed the author if he could port this to jQuery. He said he would consider making his scripts framework independent, I guess that would be even better. Regards, Dean On Jun 2, 4:22

[jQuery] Re: Cluetips Protips Jtips

2008-06-07 Thread Dean
Karl, Prototip has ajax and the things you've mentioned. If you are looking for ideas to improve cluetip, it might be a good idea to a look at it. - Dean On Jun 8, 1:51 am, Karl Swedberg [EMAIL PROTECTED] wrote: Thanks, Rey, for mentioning that. Dan, if you have a design eye, the clueTip

[jQuery] Re: Promoting jQuery the WRONG way

2007-04-04 Thread -dean
be a bit harsher online than they would be in a face-to-face conversation. I should be used to it by now. :-) -dean