[jQuery] SuperFish - Auto width of main menu when vertical

2010-01-16 Thread Wayne
Using a vertical menu and supersubs so that the submenus all have the correct width. The only thing missing is I need the main vertical menu to size itself to the correct width too! How can we make supersubs also correctly autosize the main items on the vertical menu?

Re: [jQuery] $.ajax and $.get

2009-11-27 Thread Wayne Tong
rst questions: > > 1) What is the response from the server in both cases? > > 2) Install Fiddler2 [*] and have it log the session. What does it show? > > -Mike > > [*]: http://www.fiddler2.com/ > > > On Fri, Nov 27, 2009 at 5:50 AM, Wayne Tong wrote: > >>

[jQuery] $.ajax and $.get

2009-11-27 Thread Wayne Tong
Hi Guys, Need some help on $.get or $.ajax, I have the following code that will send request to server then get either JSON or XML data back, but it seems only working in IE8, not working in Firefox 3.5, In IE8, it returns: data: [object Object] textStatus: success something: undefined in Firefo

[jQuery] (validate) Using text input arrays do not work

2009-10-12 Thread Wayne
If you have the same 'name' for an input type, the error is only shown for the first one. For example, take the dynamic forms example: http://jquery.bassistance.de/validate/demo/dynamic-totals.html change the template it uses for adding rows and change it so the name of the input does not use th

[jQuery] SuperFish: Auto width of main menu when vertical

2009-09-29 Thread Wayne
Using a vertical menu and supersubs so that the submenus all have the correct width. The only thing missing is I need the main vertical menu to size itself to the correct width too! How can we make supersubs also correctly autosize the main items on the vertical menu?

[jQuery] How to animate a div's position

2009-02-04 Thread Wayne
0pt" }, 2000); }); Any ideas how I could get this to work, I've tried various combinates with no luck. I'm completly new to jquery so if you can help or have any pointers I would really appreciate it. many thanks Wayne

[jQuery] Re: [validate] Having an issue with validator clearing file input fields onfocus in IE

2008-12-10 Thread Wayne Austin
required: true } }, }) }); Groups " id="group-edit-form" class="GroupForm" enctype="multipart/form-data" method="post"> Upload group image* *re

[jQuery] [validate] Having an issue with validator clearing file input fields onfocus in IE

2008-12-09 Thread Wayne Austin
Hi, i'm having an issue when using the validate plugin. When the plugin is applied to the form, if I select a file in my file input field then focus on another field in the form it removes the value. This only seems to happen in IE and only to file input fields. Any ideas as to why this would be

[jQuery] Re: BUG: oversized overlay in IE web browsers ( demo included )

2008-10-21 Thread Wayne
me implementation of putting the sizes in the href. -Wayne On Oct 21, 1:04 pm, tallvanilla <[EMAIL PROTECTED]> wrote: > (bump) > > Any takers? > > On Oct 20, 7:47 pm, tallvanilla <[EMAIL PROTECTED]> wrote: > > > Thanks for the reply, Josh... but that isn't th

[jQuery] Re: jQuery efficiency with a large DOM.

2008-10-21 Thread Wayne
nts, to help you zero in on the slowness, some more. -Wayne On Oct 21, 11:49 am, ricardobeat <[EMAIL PROTECTED]> wrote: > How many event handlers do you have registered? IE starts to slow down > at some point. > > It seems that the obvious performance improvements have been ta

[jQuery] Re: Way to use a Multi-Line Example Prompt in a Single-line Text Input Field

2008-10-21 Thread Wayne
Yeah, that might work. I'm experimenting with making it suitable for my use, where I would need 2 labels, I guess. But, that would let me wrap text and do whatever I want without putting any text in the actual field. Thanks for the find. -Wayne On Oct 20, 10:55 am, "Dan Switze

[jQuery] Re: Way to use a Multi-Line Example Prompt in a Single-line Text Input Field

2008-10-20 Thread Wayne
By way of example, here's what I'm currently using. I'm not happy with the textarea actions, though. http://dev.ficclaims.com/test/textbox.php Would it be smarter to use a textarea and switch it to an input[type=text] on click? Thanks, -Wayne On Oct 17, 1:16 pm, Wayne &l

[jQuery] Way to use a Multi-Line Example Prompt in a Single-line Text Input Field

2008-10-17 Thread Wayne
ead of "type here" or whatever short message I could use. I also like the amount of space that it takes up visually with two lines. What is a better way of doing this? Should I just use a jEditable element and style it to look like a form input? -Wayne

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
Right, but that trigger doesn't work in the context of the anonymous function. Unless, I'm missing something you changed. -Wayne On Oct 8, 3:43 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > Ok, I think I see what's happening -- you have something like this

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
t; and "trigger condition" are supposed to represent, but I assumed that was related to my isNaN(r) logic. Thanks, -Wayne On Oct 8, 12:36 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > "this" referenced in the success callback will refer to the jQuery objec

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
original_item.hide("slide", { direction: "up" }); // remove the matching node in the remeasures list $( "#ri" + original_item.attr("id").substr(2) ).remove(); // remove this node original_item.remove();

[jQuery] AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
red the best practice for accessing the triggering element after a successful AJAX query? Any help is appreciated, Wayne

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-10-01 Thread Wayne
Wow! Hey, that actually worked. I don't fully understand why, though. I thought that clone(true) simply allowed for jQuery to grab a clone from the new clone. Does livequery duplicate or interfere with that procedure? Thanks for digging into my code, Brandon. I seem to be working, now. -

[jQuery] Re: Show/Hide items in unordered list

2008-09-30 Thread Wayne Dyck
MorningZ, thank you very much! That is perfect and will do nicely to get me started in the right direction. I wasn't sure if I needed to assign unique ids to the individual items or not and your example shows me I can do it without them. Very cool. Thanks, again. Wayne On Sep 30, 6:

[jQuery] Show/Hide items in unordered list

2008-09-30 Thread Wayne Dyck
sure there is an easy way to do this in jQuery, however, I am probably over thinking it. I can dynamically show / hide the entire list, however, not the individual items. Does anyone have any sample code or an example they have seen that they could point me towards? Thanks in advance. Wayne

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-29 Thread Wayne
> Is this your problem? Right, because I'm cloning the ":last" li of the list, that's the element that the editable latches onto. In the example linked, it's the caption tag of each table within the li. -Wayne

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-29 Thread Wayne
can see how it works from there. The way I understand it, livequery should be dynamically unbinding and rebinding that jEditable function, but for some reason, I don't see it doing that. Any insight is appreciated. -Wayne On Sep 28, 3:48 pm, Mika Tuupola <[EMAIL PROTECTED]> wrote:

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-26 Thread Wayne
function(value, settings) { Wanting to watch these items and rebind editable to the newly created captions when I clone them. Is this not a good job for livequery? -Wayne On Sep 22, 9:06 am, Wayne <[EMAIL PROTECTED]> wrote: > Thanks, Mike. This info helps. Great work, btw. > > -Wayne >

[jQuery] Re: cool new DatePicker with a familiar name, but how to make multi-month start with current

2008-09-23 Thread Wayne
Glad it helps. Make sure that there's no conflict with adding a month to a 31 day month when there is no 31 in the following month (i.e. 8/31 + 1 month = 9/31 which doesn't exist). I didn't test it, but that might give you an unexpected result. -Wayne On Sep 22, 5:21 pm, pe

[jQuery] Re: cool new DatePicker with a familiar name, but how to make multi-month start with current

2008-09-22 Thread Wayne
y selected. As follows: $('#date').DatePicker({ flat: true, date: '2008-09-22', current: '2008-10-01', calendars: 3, starts: 1 }); Hope that helps, -Wayne On Sep 22, 2:40 pm, pedalpete <[EMAIL PROTECTED]> wrote: > I'

[jQuery] Re: jEditable Clone Referring to the Original Element

2008-09-22 Thread Wayne
Thanks, Mike. This info helps. Great work, btw. -Wayne On Sep 20, 12:22 pm, Mika Tuupola <[EMAIL PROTECTED]> wrote: > On Sep 19, 2008, at 6:20 PM, Wayne wrote: > > > In short, I can clone jEditable items, but I can't edit them in place > > without a page reload

[jQuery] jEditable Clone Referring to the Original Element

2008-09-19 Thread Wayne
omewhere when I do the DOM modification? Thanks, Wayne