[jQuery] Re: $.modal() "Not a function" driving me crazy

2008-09-22 Thread JohnC
OK - I have it The modal was calling in an external HTML file that contained a reference to the jquery script. Clearly a no-no! John

[jQuery] $.modal() "Not a function" driving me crazy

2008-09-22 Thread JohnC
Hi I know this is going to be something simple, but I've been looking at it for hours and just can't see it. Problem page can be found here: http://www.fridgeframes.co.uk/dashtest.html I'm trying to use the Simple Modal plugin, but just get a "$ ().modal()" is not a function error each time.

[jQuery] Draggable by proxy

2008-07-08 Thread JohnC
Can I (and if so, how) drag an element without actually mouse-downing and -moving on the element I want to move? For reasons I will happily explain, the user can't actually click on the object I want them to drag. So can I get them to click on something else and then have that pass the dragging

[jQuery] Mouse moves on one element triggering a drag on another

2008-07-07 Thread JohnC
I have a series of elements the top of which partly or wholly covers the rest (initially positioned/layered using CSS). I want to drag one of the lower elements but (I guess obviously) only the top element gets the mousedown/mousemove events. Is there a way of passing those events through to one

[jQuery] Re: document.onmousedown=selectmouse vs $(document).mousedown(function(){})

2008-02-25 Thread JohnC
jquertil I put my hand up to being no jQUery expert - I'm just starting out - but shouldn't it be $("body").click( function() {.. ? Regards John

[jQuery] $.width() not giving me the true size....

2008-02-25 Thread JohnC
I have a DIV that I'm appending n spans to. The spans are positioned absolutely, the Div relatively. Also, the spans have whitespace set to nowrap and the Div's parent overflow is set to hidden. When I call $("#divname").width() I get its absolute width ( which is its parent's width since it's se

[jQuery] Re: What am I missing with jQuery Forms ajaxSubmit?

2008-02-06 Thread JohnC
The form being submitted does have a file being uploaded. I've removed the ContentType from the .net code and now that works just fine. Can anyone explain why this behaviour occurred? It worked fine in IE - but not FF. Normally I'd expect things the other way around! Thanks for the advice. Joh

[jQuery] What am I missing with jQuery Forms ajaxSubmit?

2008-02-06 Thread JohnC
Hi This is my script: $("#frmTargets").submit(function(){ var frmTargetsOptions = { 'dataType':'json', target: '#output', 'success':addTargetsResponse, 'error': addTargetsResponseFailed }; $(this).ajaxSubmit(frmTargetsOptions); return false; }