[jQuery] OT: Is CF-Talk down?

2007-04-04 Thread Josh Nathanson
Sorry for posting to this list, but I know there are some other cf-talk'ers on this list...does anyone know what's up with the cf-talk list? I haven't received anything since last night. Just trying to confirm if I'm the only one. -- Josh

[jQuery] Re: Coldfusion: using $.get() to directly call a CFC living outside of the webroot

2007-04-05 Thread Josh Nathanson
Andy, Ben Nadel has some information about calling CFCs outside the webroot, without a mapping, on his blog. It may be of help to you. I think there is still some mediation that happens but I don't think you have to use a middle-man file. -- Josh - Original Message - From: Andy

[jQuery] Re: Coldfusion: using $.get() to directly call a CFC living outside of the webroot

2007-04-05 Thread Josh Nathanson
As an aside, Rob Gonda's AjaxCFC handles numbers 2 and 3 below nicely, and he's built a hook into jquery into the latest version. You can set the return type to JSON or WDDX, and it will report a nice error message for you if there's an error in your cfc. Not sure how that would tie in with

[jQuery] Plugin authoring

2007-04-17 Thread Josh Nathanson
Hey all, I've been working on my first jQuery plugin, it's going to be called jqURL. It handles some url parsing tasks and does a few other nifty things. But, I have a couple of questions -- I want to make sure I'm going about things the right way. 1) I'm not adding any methods, just

[jQuery] jEditable/CSS question

2007-04-19 Thread Josh Nathanson
Hey all, I'm working with jEditable which changes text to an input field when you click the text. It works really nicely. I modded it a bit to allow me to style each of the elements individually, rather than the whole form, which is working fine. When you generate a textarea, it also

[jQuery] Re: jEditable/CSS question

2007-04-19 Thread Josh Nathanson
1. wrap the two buttons in their own div tag. THis will cause them to appear on their own line since div tags are display:block; by default. OK, I'm a dumb dumb...I added display:block to the textarea style and now it displays how I want, with no hacks to jEditable code (other than my

[jQuery] Re: Best way to determine if a user has Javascript enabled?

2007-04-22 Thread Josh Nathanson
Basically, you fire off a message to the server saying that yes JS is enabled. Update the session, and use that from then on in your code. I am thinking of forking my application in one area where I want to handle things very differently depending on if someone has javascript enabled, and

[jQuery] Re: Blink effect

2007-04-23 Thread Josh Nathanson
How about callback = function() { $(#mydiv).hide().show().hide().show() } -- Josh - Original Message - From: Alexandre Plennevaux To: jquery-en@googlegroups.com Sent: Monday, April 23, 2007 1:27 PM Subject: [jQuery] Blink effect hi, i've been playing with the effects

[jQuery] Re: DOM manipulation white space issues

2007-04-23 Thread Josh Nathanson
I am experiencing spacing issues with my divs that is apparently fixed when I delete white space between DIV's using firebug. I am having trouble with jEditable/textarea that seems to be related to your issue. When I do a POST, and the textarea kicks back to the div, a space and two

[jQuery] Re: DOM manipulation white space issues

2007-04-24 Thread Josh Nathanson
When you POST something to script this script should echo back content of the div. Is your script echoing back extra newline. This is what was happening. I am using ColdFusion for the backend and I had to set cfsetting enablecfoutputonly = yes to get rid of the extra junk. -- Josh

[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-24 Thread Josh Nathanson
I see what's going on there Rey. It looks like there are two divs on top of the image - when you hover the right half, it pops up the next link and when you hover the left half, it pops up the previous link. When you click it, it shows the browser's native focus mechanism for that div -

[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-25 Thread Josh Nathanson
. Again, thanks goes out to Stefan Petre for developing the original version and Matthieu Paineau for his nice revisions and fixes. Rey... Josh Nathanson wrote: I see what's going on there Rey. It looks like there are two divs on top of the image - when you hover the right half, it pops

[jQuery] selecting a parent

2007-04-26 Thread Josh Nathanson
Hey all, I want to select the first parent of my selection that is a td element. How do I do that? I don't want parent(), since the number of parents in between may vary, or parents(), since I don't want to select ALL the td's that are up the hierarchy. Just the first parent that's a td.

[jQuery] Re: Find a element - Basic issue

2007-04-27 Thread Josh Nathanson
This is a tricky one, you use the contextual selector: $(option:selected,#edit-taxonomy-1) This is like saying find the selected option in the context of element id edit-taxonomy-1. Give that a shot. -- Josh - Original Message - From: Mario Moura To:

[jQuery] Re: Force the FIRST option to be selected in a select box.

2007-05-02 Thread Josh Nathanson
Andy, try this: $(option:first,#select-id).attr(selected,true); -- Josh - Original Message - From: Andy Matthews To: jquery-en@googlegroups.com Sent: Wednesday, May 02, 2007 11:45 AM Subject: [jQuery] Re: Force the FIRST option to be selected in a select box. Hrm...

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Josh Nathanson
Rey, I put up a very basic proof of concept for you, you can view source to check the code: http://www.igigi.com/divstest.cfm It looks like hell in IE, but the basic functionality is there. It just needs some css help I think for IE. The only thing you'd need to add is grabbing your

[jQuery] Re: Dropdown div functionality

2007-05-02 Thread Josh Nathanson
- From: Josh Nathanson [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Wednesday, May 02, 2007 5:07 PM Subject: [jQuery] Re: Dropdown div functionality Rey, I put up a very basic proof of concept for you, you can view source to check the code: http://www.igigi.com/divstest.cfm

[jQuery] Re: NEW jQuery plugin - tableFilter() Beta 1. Auto-paging, filtering and sorting on multiple columns.

2007-05-07 Thread Josh Nathanson
Looks real good... One question though, I thought that up arrow means ascending and down arrow means descending? It seems that the opposite is happening. Maybe it's a US/non-US thing. -- Josh - Original Message - From: Daemach [EMAIL PROTECTED] To: jQuery (English)

[jQuery] remove attribute disabled from select - IE6

2007-05-09 Thread Josh Nathanson
Hey all, It seems as though in IE6, doing $(select).removeAttr(disabled) has no effect, i.e. it doesn't re-enable the select menu. My code works fine in FF. Is this known behavior and is there a workaround, or am I missing something? I started out trying to set disabled=false, which

[jQuery] Re: remove attribute disabled from select - IE6 SOLVED

2007-05-09 Thread Josh Nathanson
I had my name and id attributes with different values, this was messing up IE. When I named them the same, it started working. -- Josh - Original Message - From: Josh Nathanson [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Wednesday, May 09, 2007 2:06 PM Subject: [jQuery

[jQuery] Re: Getting a checkbox value

2007-05-15 Thread Josh Nathanson
You have to do something like this: $(this).attr(checked) ? $(this).val() : 0 This will return the value if it's checked, or 0 if it's not. $(this).val() is just reaching into the dom and getting the attribute value of the element, whether or not it's checked. -- Josh - Original

[jQuery] Re: * Important: Repent, Completely trust in God only and, Love Him with all of your heart.

2007-05-15 Thread Josh Nathanson
It's funny how they're so anti-science, yet without science, I doubt we'd have computers or email to allow them to spread the good word so easily. - Original Message - From: Matt Stith [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Tuesday, May 15, 2007 4:14 PM Subject:

[jQuery] Re: Question about the context attribute of a jQuery call

2007-05-23 Thread Josh Nathanson
The OP has a case where there are two forms, each with its own ID, however, the elements of each form are the same so there are duplicate ID's. Perhaps this is not the best design pattern, and class or name could be used for selection rather than IDs. Or, set it up so the IDs are not

[jQuery] testing, please ignore.

2007-06-05 Thread Josh Nathanson
Testing, please ignore.

[jQuery] select td 2 levels up

2007-06-07 Thread Josh Nathanson
I am trying to select the first td element two levels up from the clicked div element. I have this, which works, but it's ugly. $(this).parents(td:first).parents(td:first).attr(class,greenback); Is there a cleaner way? - Josh

[jQuery] Re: select td 2 levels up

2007-06-07 Thread Josh Nathanson
You're right...it doesn't work with just the parent() and no specific element selector. I need the td's in there. I would like to use divs to make the layout simpler, but I just couldn't get it looking the way I want in IE6. Oh well, ugly it is! - Original Message - From: Ⓙⓐⓚⓔ

[jQuery] Re: select td 2 levels up

2007-06-07 Thread Josh Nathanson
, Josh Nathanson [EMAIL PROTECTED] wrote: You're right...it doesn't work with just the parent() and no specific element selector. I need the td's in there. I would like to use divs to make the layout simpler, but I just couldn't get it looking the way I want in IE6. Oh well, ugly

[jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery

2007-06-08 Thread Josh Nathanson
I get that error too, when you try to login at http://ajaxcf.com/project/ with admin admin. -- Josh - Original Message - From: Rey Bango [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, June 08, 2007 2:47 PM Subject: [jQuery] Re: ANNOUNCE: Open Source Project Tracker

[jQuery] Re: jEditable on blank field

2007-06-12 Thread Josh Nathanson
It is an known issue. I have a solution for it but have not implemented it yet. Solution would be to dynamically add a string such as Click to edit to an empty element. String would be configurable. This way you have something to click even if element was empty. Any other ideas are

[jQuery] Re: CNN and Apple Choose Prototype. Why?

2007-06-14 Thread Josh Nathanson
Most jQuery plugins, big exception for Interface, are superfluous IMO. If people took the time to really look into everything you can do with jQuery + JavaScript's native features, they'd see how incredibly easy it is to come up with a home grown solution that does specifically what they need

[jQuery] Re: Can I select just one?

2007-06-14 Thread Josh Nathanson
Do you mean like $(td:first) for example? -- Josh - Original Message - From: Chris Jordan [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, June 14, 2007 1:18 PM Subject: [jQuery] Can I select just one? Hi folks, I've not really had a need to do

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson
I'm using it, also in conjunction with ColdFusion, with good success...nothing jumps out of your code...what exactly is the doing something funny that you reference? -- Josh - Original Message - From: cfdvlpr [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent:

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson
There is probably a CF error happening. If this happens, the ajax post does not complete. If you have firebug, you can check the ajax response to see what the CF error is. -- Josh - Original Message - From: cfdvlpr [EMAIL PROTECTED] To: jQuery (English)

[jQuery] Re: Preload multiple hidden data with $.get()?

2007-06-25 Thread Josh Nathanson
It looks like you are using php, can you just do a plain old server include, rather than doing it client side? -- Josh - Original Message - From: vince [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Monday, June 25, 2007 10:48 AM Subject: [jQuery] Preload

[jQuery] Load into tbody, errors IE6

2007-06-26 Thread Josh Nathanson
Hey all, I have a script that does an ajax load into a tbody jQuery object, like so: $tbl = $(# + asp + _tbody); // dynamically finds tbody $tbl.load(prodsched/dom_dpdcolorrow.html, {}, addrow ); // load html content (tr's) into tbody The html file consists of a table row tr with

[jQuery] Re: Load into tbody, errors IE6

2007-06-27 Thread Josh Nathanson
, you can't load a tr into a table. Crap. On Jun 26, 6:01 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Hey all, I have a script that does an ajax load into a tbody jQuery object, like so: $tbl = $(# + asp + _tbody); // dynamically finds tbody $tbl.load(prodsched/dom_dpdcolorrow.html

[jQuery] Re: Load into tbody, errors IE6

2007-06-27 Thread Josh Nathanson
. On Jun 26, 6:01 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Hey all, I have a script that does an ajax load into a tbody jQuery object, like so: $tbl = $(# + asp + _tbody); // dynamically finds tbody $tbl.load(prodsched/dom_dpdcolorrow.html

[jQuery] Re: jQuery plugin architecture info

2007-07-02 Thread Josh Nathanson
Hey Ben, That all looks really good, and it's fun to play with! People on this list who are not familiar with your coding style will probably trip out on its verticality, since because of jQuery's chainability, it tends to get quite horizontal. It would be cool if you added a little got me!

[jQuery] Re: SOT: Graceful Degradation of JavaScript

2007-07-06 Thread Josh Nathanson
Yeah...1.18 MB of nothing. They obviously are not concerned with dialup users either... Just for fun I went to my Netflix account with JS turned off. For those who don't know, Netflix is a DVD rental company that's pretty big here in the U.S., and they use a ton of JS to enhance the user

[jQuery] Re: tutorial needs additional material

2007-07-06 Thread Josh Nathanson
If each of your target td's has a class clicktd... $(.clicktd).click(function() { $(this).siblings(td:eq(1)).children(div.class).show(); }); Something close to that should work...someone will jump in and correct me I'm sure! Basically on an event such as click, $(this) will point to

[jQuery] ANNOUNCE: ClockPick, a timepicker plugin

2007-07-12 Thread Josh Nathanson
Hey all, I've whipped up a timepicker plugin over the last few days, and I'm hoping some folks on here using Macs might try the demo and let me know how it works, especially Safari. http://www.oakcitygraphics.com/jquery/clockpick/ClockPick.cfm Most of the kinks have been worked out, there

[jQuery] Re: ANNOUNCE: ClockPick, a timepicker plugin

2007-07-12 Thread Josh Nathanson
! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: jeudi 12 juillet 2007 22:16 To: jquery-en@googlegroups.com Subject: [jQuery] ANNOUNCE: ClockPick, a timepicker plugin Hey all, I've whipped up a timepicker plugin over the last few days

[jQuery] Re: ANNOUNCE: ClockPick, a timepicker plugin

2007-07-13 Thread Josh Nathanson
Hi Dan, Thanks for all the input. As far as the unbind behavior...that was mainly for the demo, so that if you switch from click to mouseover in the demo, it will unbind the previous setting. No need for that really. I'll work on the other stuff and get it ready for version 1.01. -- Josh

[jQuery] Re: ANNOUNCE: ClockPick, a timepicker plugin

2007-07-13 Thread Josh Nathanson
$(#clockpick1).unbind().clockpick(opts); opts.valuefield = 'timefield'; $(#clockpick2).unbind().clockpick(opts, cback); Duh, should've figured that out. It's done now. By the way, take a look at the Klaus' new release of clueTip(). He's got code in the clueTip to make sure the clueTip

[jQuery] Re: How do you delay for a few seconds

2007-07-14 Thread Josh Nathanson
Some folks are lobbying for a pause(ms) method, but it's not in the code yet. There's a plugin to do what you want though; if you dig around in the thread archives for animation pause plugin you can probably find the link for the plugin. -- Josh - Original Message - From:

[jQuery] Long running script IE6, help!

2007-07-20 Thread Josh Nathanson
Hey jQuery'ers, I am having an issue with jQuery in IE6. I have a very large html page coming from the server which also includes the jQuery packed file. When the page is too large, IE6 throws a long running script error; the end user clicks abort script, and havoc ensues with the

[jQuery] Re: Long running script IE6, help!

2007-07-20 Thread Josh Nathanson
Hi Dan, Thanks for the info. I'm working on increasing the specificity of the selectors, but it's still too many darn dom elements. There might be 3000 bindings that need to happen. Next step is to do the old fashioned binding right in the html. -- Josh - Original Message -

[jQuery] Re: Long running script IE6, help!

2007-07-20 Thread Josh Nathanson
Everyone, Thanks for the help. I went old school and hard coded the mouse events into the elements, of course using jQ in the event handlers. Just too many elements on the page for jQ to handle the binding comfortably. Now it's running great. -- Josh - Original Message - From:

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-26 Thread Josh Nathanson
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: Thursday, July 26, 2007 1:30 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Are there any particular ways to debug jQuery code? Mitchell - if an error occurs in a script, you will see a red x in the lower right

[jQuery] Re: 1.1.3.1 breaks jqModal in IE6

2007-07-26 Thread Josh Nathanson
Mark, I noticed the same thing and also had to roll back to 1.1.2. I sent the plugin author an email offlist, I see you have cc'd him as well. Hopefully he will come up with an update soon that will address the issue. -- Josh - Original Message - From: mmiller [EMAIL PROTECTED]

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-26 Thread Josh Nathanson
Mitchell, a good way to debug jQuery or JS in general is via a tool called Firebug, that is available as an extension for the Firefox browser. In your case, it probably would have said something like fade is not a method of jQuery, which would have immediately helped you diagnose the problem.

[jQuery] Re: SITE SUBMISSION: Please add gsalr.com to the list of sites

2007-07-26 Thread Josh Nathanson
My critique is: that is badass. -- Josh - Original Message - From: Marshall Salinger To: jquery-en@googlegroups.com Sent: Thursday, July 26, 2007 4:20 PM Subject: [jQuery] Re: SITE SUBMISSION: Please add gsalr.com to the list of sites Hi Michael, I wish I could offer

[jQuery] Re: Are there any particular ways to debug jQuery code?

2007-07-26 Thread Josh Nathanson
Mitchell - if an error occurs in a script, you will see a red x in the lower right corner of the web browser. Click that to open the Firebug console. In the console tab you'll see the error. Instead of throwing an alert like IE6 does, it logs errors into the console. If your script is

[jQuery] Re: Elements strip for horizontal scroller

2007-07-30 Thread Josh Nathanson
Are you describing something like this at the top of the apple mac store? http://www.apple.com/mac/ I'd love to know how to do that in jQuery as its both a continuous scroller AND a group scroller. Isn't that very similar to the JCarousel line of plugins? -- Josh

[jQuery] Re: A little different edit in place. (use a link to initiate the edit)

2007-07-30 Thread Josh Nathanson
I know these kinds of responses aren't really popular but... Why bother doing any of that? Why aren't you just using regular text fields (and any other applicable form field)? Why force the user to click yet another time to edit a field? In my case I wanted my users (who have no idea the

[jQuery] Re: A little different edit in place. (use a link to initiate the edit)

2007-07-30 Thread Josh Nathanson
I hope someone could help me with this. i tried to put this: $(#username).editable(???, { cssclass : someclass }); in a function and than call the function when you click the link but that didn't work. Mark - you might be able to nudge the jEditable creator to mod the plugin to

[jQuery] Re: Coder vs Designer?

2007-08-02 Thread Josh Nathanson
What are others doing to make sure that even small snippets of HTML aren't creeping into their js files? Do you have this in separate html files that you import and then fill with data? Yes, I do this. If I am adding more than a couple of elements to the DOM, I will create a blank html

[jQuery] Re: annoying newbie

2007-08-03 Thread Josh Nathanson
I haven't done it, but isn't the modal window just a div on the parent page? I would think you could add a function in the onHide callback that would select the appropriate modal window field and then populate your parent window field with the value. Not tested, but something like this

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Josh Nathanson
quick question... are the :eq() etal... selectors gonna stay? or are they going to be removed as well. They would have to be left in the API for backwards compatibility, correct? Or would they become private methods only? -- Josh - Original Message - From: Ganeshji Marwaha

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Josh Nathanson
Selectors are staying, the methods are going. Ah yes, that's the way to maintain backwards compatibility. - Original Message - From: John Resig [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, August 03, 2007 3:29 PM Subject: [jQuery] Re: :eq vs :nth? --John On

[jQuery] Re: :eq vs :nth?

2007-08-03 Thread Josh Nathanson
josh, how is that maintaining backwards compatibility? I assume that you will still be able to use the old selectors, but the underlying method that processes them will be different - thus they will be deprecated. Is that not correct jQuery gurus? -- Josh

[jQuery] Re: Jquery Vs. Prototype

2007-08-06 Thread Josh Nathanson
say-ferry = American say-kweery = UK -- Josh - Original Message - From: Tobias Parent [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Monday, August 06, 2007 5:26 PM Subject: [jQuery] Re: Jquery Vs. Prototype I feel like such a n00b - I've always pronounced it to rhyme

[jQuery] Re: Convert Text to Int

2007-08-07 Thread Josh Nathanson
I think you need to get rid of the dollar sign. This will get rid of any non-numeric characters or decimal points, so will take care of any symbols - dollar sign, euro or whatever: script type=text/javascript var amt = '$7.95'; var result = amt.replace(/[^\d\.]/g,); alert(parseInt(result));

[jQuery] Re: Convert Text to Int

2007-08-07 Thread Josh Nathanson
Oh, I thought he wanted the int 7 out of $7.95. If you just want the float then use Erik's code, or mine without the parseInt part. -- Josh - Original Message - From: Erik Beeson [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Tuesday, August 07, 2007 3:49 PM Subject:

[jQuery] Form plugin, packable?

2007-08-10 Thread Josh Nathanson
Hey all, Just downloaded the official Form plugin, and I notice there is not a packed version anywhere that I can find. I can pack it myself of course, but I'm just wondering if there's a reason that there's not a packed version anywhere - is there an issue with packing this particular

[jQuery] IE6 Out of Memory Error on click away

2007-08-13 Thread Josh Nathanson
that mean it's firing onUnload? Is that used anywhere in jQuery or the plugins I mentioned? -- Josh Nathanson

[jQuery] Re: jQuery Form Plugin Repository: Compressed versions?

2007-08-15 Thread Josh Nathanson
Anyone know where to get the compressed version of this plugin: http://www.malsup.com/jquery/form/ I asked that myself recently and got no reply. I ended up just packing it myself. If you don't have the Dean Edwards packer url, here it is: http://dean.edwards.name/packer/ -- Josh

[jQuery] Re: JSON String problem

2007-08-16 Thread Josh Nathanson
Yep, that's a feature of JavaScript. No quotes means it's a number, not a string, and numbers that start with 0 are assumed to be octal (base 8). Even parseInt(063) will give you 51, since again, it assumes you mean octal. Boy am I glad I saw this thread. I have just started using $.getJSON

[jQuery] Re: Question about event.StopPropagation()

2007-08-16 Thread Josh Nathanson
I think this will work: if (event.target.id 'match') -- Josh - Original Message - From: Mitch [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, August 16, 2007 6:32 PM Subject: [jQuery] Question about event.StopPropagation() I am trying to get

[jQuery] Re: Release: Accordion 1.5

2007-08-24 Thread Josh Nathanson
Great job Jörn! I see you got my wizard implementation in there...your code is of course super slick compared to mine! Love the new animations. -- Josh - Original Message - From: Jörn Zaefferer To: jQuery Discussion. Sent: Friday, August 24, 2007 3:03 PM Subject: [jQuery]

[jQuery] Re: Tablesorter Questions

2007-08-27 Thread Josh Nathanson
Hi Peter, welcome to the jQuery list! Try just changing the val to text in the plugin - as long as you keep the class name the same it should work: var s = $(c.cssPageDisplay,c.container).text((c.page+1) + c.seperator + c.totalPages); Now, best case scenario you don't want to change the

[jQuery] Re: Tablesorter Questions

2007-08-27 Thread Josh Nathanson
12:11 PM Subject: [jQuery] Re: Tablesorter Questions @Rey, The very same - thanks to your continued evangelism of jQuery I've finally caught the bug! Best Wishes, Peter On 8/27/07 2:36 PM, Josh Nathanson [EMAIL PROTECTED] wrote: Hi Peter, welcome to the jQuery list! Try just changing

[jQuery] Re: $(html) error...I think. Please help, I'm stumped!

2007-08-30 Thread Josh Nathanson
I notice you are running an each method when the find is looking for an id (#invoice). This implies that you are looping over multiple elements with the same id. This will mess things up as it is invalid to have multiple elements with the same id. Try using invoice as a class rather than

[jQuery] Re: getting query string val method with jquery

2007-08-30 Thread Josh Nathanson
Hey Jim, I have an extension jqURL you can check out. The demos aren't quite finished, but it works. Here's the link: http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html Basically if your query string value is myvar, you do: var x = $.jqURL.get(myvar); There are some other useful

[jQuery] Re: next() problems

2007-08-30 Thread Josh Nathanson
Next() will only get siblings -- can you post the html? -- Josh - Original Message - From: ruperdupe [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, August 30, 2007 11:36 AM Subject: [jQuery] next() problems What I'm trying to do is when someone

[jQuery] Re: jqModal content overflowing -- scrollbars?

2007-08-31 Thread Josh Nathanson
Would it be possible to use the wrap method to wrap the content in a secondary div on callback, which would be styled to your specifications? I think if you try to change the layout properties of the jqModal div itself it will cause problems like what you're seeing. -- Josh -

[jQuery] Re: jQuery Merchandise for Sale. Help Support the Project

2007-09-04 Thread Josh Nathanson
Weird, the first time I went I saw nothing, then I checked again and I see the merch now. Try refreshing Glen? -- Josh - Original Message - From: Rey Bango [EMAIL PROTECTED] To: jQuery Discussion jquery-en@googlegroups.com Sent: Tuesday, September 04, 2007 10:49 AM Subject:

[jQuery] Re: event.target and switch statement...

2007-09-06 Thread Josh Nathanson
If you know it's always going to be an a element, maybe this would work: switch (event.target.className) { case 'close': do stuff break case 'continue': do stuff break etc. -- Josh - Original Message - From: gr00vy0ne [EMAIL PROTECTED] To: jQuery

[jQuery] Re: My freelance site, a question about redundant code...

2007-09-07 Thread Josh Nathanson
Really like that interface Andy. My only beef is that the top of the logo gets cut off when the page slides up. More of a design preference on my part I guess. Super cool UI. -- Josh - Original Message - From: Scott Sauyet [EMAIL PROTECTED] To: jquery-en@googlegroups.com

[jQuery] Re: tablesorter plugin not working...

2007-09-11 Thread Josh Nathanson
Andy - I think you need to use th tags in the header row, rather than td. Give that a try. -- Josh - Original Message - From: Andy Matthews To: [jQuery] Sent: Tuesday, September 11, 2007 12:27 PM Subject: [jQuery] tablesorter plugin not working... I've tried it with

[jQuery] Re: tablesorter plugin not working...

2007-09-11 Thread Josh Nathanson
with the demo code. Anyone else have an idea? -- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: Tuesday, September 11, 2007 2:53 PM To: jquery-en@googlegroups.com Subject

[jQuery] Re: Vibrator Plugin

2007-09-12 Thread Josh Nathanson
Nice -- onclick it should alert Oh yeah baby! or something. - Original Message - From: Glen Lipka To: jquery-en@googlegroups.com Sent: Wednesday, September 12, 2007 3:44 PM Subject: [jQuery] Vibrator Plugin Ben Nadel and I were playing with his latest experiment.

[jQuery] Re: jQuery 1.2 and jCarousel

2007-09-14 Thread Josh Nathanson
jCarouselLite has a couple lt and gt methods (removed from 1.2), and also suffers from the negative pixel issue that was discussed on this list earlier this week. Can't speak for jCarousel though. If you roll back to 1.1.4 for jCarouselLite you should be ok for now. The negative pixel

[jQuery] Re: errors using carousel lite plugin

2007-09-18 Thread Josh Nathanson
Stef - lt and gt are missing from jQuery 1.2 and 1.2.1. You'll need to roll back to jQuery 1.1.4 if you want to use jCarouselLite, or try modding the jCarouselLite code yourself. -- Josh - Original Message - From: stef [EMAIL PROTECTED] To: jQuery (English)

[jQuery] Re: errors using carousel lite plugin

2007-09-18 Thread Josh Nathanson
OK sorry, lt and gt are NOT in 1.2.1. I was not using the part of jCarouselLite that invokes those methods. Sorry about that. -- Josh - Original Message - From: stef [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, September 18, 2007 8:23 AM

[jQuery] Re: errors using carousel lite plugin

2007-09-18 Thread Josh Nathanson
Hold the phone -- looks like lt and gt are back in jQuery 1.2.1. I just fired up jCarouselLite with 1.2.1 and it works fine. I can't find lt and gt as methods in the 1.2.1 source code, but no errors are thrown. Can anyone confirm? -- Josh - Original Message - From: stef [EMAIL

[jQuery] Re: Spolsky's Strategy Letter VI

2007-09-19 Thread Josh Nathanson
Well, I might wake up in five years and decide that I can use a 1MB library, but when I woke up this morning, I was glad I'm using 25K jQuery. And not only because it's optimized for small footprint, but also because it's easy to use. -- Josh - Original Message - From: Bil Corry

[jQuery] Re: easiest question all day

2007-09-19 Thread Josh Nathanson
var GitRDone = smoke'n hot; $(body).append(GitRDone); Not tested... - Original Message - From: FrankTudor [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Wednesday, September 19, 2007 12:45 PM Subject: [jQuery] easiest question all day can someone show

[jQuery] Re: Image + map area + mouseout event

2007-09-20 Thread Josh Nathanson
Try adding return false; - $(#myimage).bind(mouseout, function() { console.log(Hello) doStuff(); return false; }); -- Josh - Original Message - From: Fabien Meghazi [EMAIL PROTECTED] To: ML:jQuery jquery-en@googlegroups.com Sent: Thursday, September 20, 2007 3:13 PM Subject: [jQuery]

[jQuery] Re: Image + map area + mouseout event

2007-09-20 Thread Josh Nathanson
Maybe you can bind a mouseover event to the map areas, that would do nothing but return false. This may keep the mouseout from firing when you mouseover an area -- $(area).mouseover(function() { return false; }); - Original Message - From: Fabien Meghazi [EMAIL PROTECTED]

[jQuery] Verizon Wireless website using jQuery?

2007-09-20 Thread Josh Nathanson
Spotted in the wild? - Go to http://www.verizonwireless.com - Look at your Firebug Script tab, find the script gn_engine.js That packed script looks suspiciously familiar...and it's 27K ?

[jQuery] Re: Verizon Wireless website using jQuery?

2007-09-20 Thread Josh Nathanson
OK, sorry about that. Weird though that it's also 27K packed. - Original Message - From: Michael Geary [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Thursday, September 20, 2007 4:05 PM Subject: [jQuery] Re: Verizon Wireless website using jQuery? From: Josh Nathanson

[jQuery] Get time of ajax post?

2007-09-21 Thread Josh Nathanson
Hey all, This is more of a JS queston in general than a jQuery question: how do I get the time it took for an ajax post to complete? I am trying to show a progress bar for an ajax post which may take anywhere from 1 to 20 seconds. It's a multi-row database table update. To do this I'm

[jQuery] Re: Get time of ajax post?

2007-09-21 Thread Josh Nathanson
(); } // before the ajax call var before = now(); // and in your ajax success callback: var elapsed = now() - before; Time is in milliseconds, but actual resolution is usually less, e.g. 15 millisecond resolution on a typical PC. -Mike From: Josh Nathanson This is more of a JS queston

[jQuery] Re: fadeIn to ajax submit succes callback

2007-09-22 Thread Josh Nathanson
Are you sure your ajax call is returning what you expect? Assuming you're using Firebug, check the response in your Firebug Net tab - you should see an XHR request that you can click on and see what's coming back from the server. -- Josh - Original Message - From: [EMAIL

[jQuery] Re: Checkbox checked event

2007-09-24 Thread Josh Nathanson
If you're talking about capturing the event when a checkbox is checked, then click is correct. $(#mycheckboxid).click(function() { dostuff; }); - Original Message - From: voltron [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Monday, September 24, 2007

[jQuery] Re: Time Entry restrictions

2007-09-26 Thread Josh Nathanson
Hey Shawn, Have a look at my plugin ClockPick - you can set the time intervals as you describe: http://www.oakcitygraphics.com/jquery/clockpick/trunk/ClockPick.cfm -- Josh - Original Message - From: sgrover [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Tuesday, September

[jQuery] Re: Building my own datepicket - limting clicks to only two?

2007-09-26 Thread Josh Nathanson
Andy, on the click event I think you would have to: - check to see if they are toggling from off to on - if they are, and there are already two on days, return false You can do this by checking the size of the jQuery object that is returned when selecting all on days (pseudo code follows): if (

[jQuery] Re: Stripping domain from email

2007-09-26 Thread Josh Nathanson
You could the masked input plugin, so that they couldn't enter periods or @'s in the first place. It's really nice. http://jquery.com/plugins/project/maskedinput -- Josh - Original Message - From: Alex [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent:

[jQuery] Re: Can't parse input from one form of many on page

2007-09-27 Thread Josh Nathanson
Try this: $('input,select,hidden', '#adminForm').each(function() { do stuff; } This says get all input, select, hidden elements in the context of #adminForm. -- Josh - Original Message - From: mo2g [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent:

  1   2   3   4   >