[jQuery] Sound effects

2009-12-12 Thread kicaj
I looking-for some plugin for sound effect for eg. click, sliding, etc. Not player for songs! Bye!

[jQuery] Re: proper way

2009-12-12 Thread Jojje
Ok, thank you for your anwer :) Appreciate it! One more question. If i use the code in example 2 the function gets triggered without me clicking the link, in example 2 it gets triggered only when i click the link. Dont know if i´m doin anything wrong here? Shouldnt both examples work the same?

[jQuery] Re: Submission of a form creates popin

2009-12-12 Thread Benn
I ended up modifying the href of a link with the values of the form fields and having the form click on it. here's the HTML/JQuery: HTML: form name=aformname action=http://www.google.com/d.jsp; target=iframe method=post id=bid input type=text id=ccc name=ccc value= class=text /

[jQuery] how can i do this selection in jquery

2009-12-12 Thread daft01
i want to select the div with id headerimg, so this is: Code: jQuery(div#headerimg).click(function () { document.location=http://google.com/;; }); but at the same time i want to omit a table with id=search_form from the selection. thanks

[jQuery] Re: Superfish - sfHover on li a href link?

2009-12-12 Thread Olivier
Hi again, I managed to workaround this issue by using absolute positionning values for top left corner of the anchor and then expanding it with paddings. I however found an issue with Supersubs. It works great on IE8 and FF but on IE6, the width:auto automatically added causes some problems.

[jQuery] Re: IF. What am I doing wrong?

2009-12-12 Thread morwo
On Dec 6, 8:31 am, Rafał Pocztarski r.pocztar...@gmail.com wrote: 2009/12/3 shapper mdmo...@gmail.com: Try using === instead of == This is PHP operator, isn't? And we're talking here about javascript. Is there such operator in JS? O.o I'd rather write it like that: if( typeof(cookie) !=

[jQuery] Re: IF. What am I doing wrong?

2009-12-12 Thread morwo
On Dec 6, 8:31 am, Rafa³ Pocztarski r.pocztar...@gmail.com wrote: 2009/12/3 shapper mdmo...@gmail.com: Try using === instead of == This is PHP operator, isn't it? And we're talking here about javascript. Is there such operator in JS? O.o I'd rather write it like that: if( typeof(cookie) !=

[jQuery] Re: TreePlugin with Checkbox and some functions..

2009-12-12 Thread Charlie
Hi, I've found the perfect JQuery-Plugin for my needs: http://www.redcarrot.co.uk/2009/11/11/collapsible-checkbox-tree-jquery-plugin/ Maybe one is also interested in my solution, because it seems that my question was to hard or maybe to much information for those who are reading these emails?

Re: [jQuery] how can i do this selection in jquery

2009-12-12 Thread Charlie
this tutorial on event delegation should help http://www.learningjquery.com/2008/03/working-with-events-part-1 if you follow tutorial you'll likely end up with some statement like: if($tgt.is("#search_form")){ // do nothing }else{ // do something } daft01 wrote: i want to select the div

Re: [jQuery] Re: proper way

2009-12-12 Thread Michael Geary
No, the two examples shouldn't work the same. They are both working exactly as expected. Let me slightly rewrite each version in a more step-by-step fashion and you will see why. The first version is equivalent to: $(function() { function handleClick() { clickFunction1(); }

[jQuery] Re: proper way

2009-12-12 Thread Jojje
Oh ok :) So in order for me to pass arguments without triggering clickFunction1 immediately,and instead triggering it when the link is clicked, i have to call it through another function thats not passed any arguments? So it´s still ok to use an anonymous function like in my example to achieve

[jQuery] Return values

2009-12-12 Thread Jojje
How deep in the scope can you go in nested functions and still return a value? For example: $.validator.addMethod('userCheck', function (value) { $.ajax({ type: POST, url: _scripts/send_message.php, data: action=checkuser username= + value, success:

[jQuery] Return values

2009-12-12 Thread Jojje
How deep in the scope can you go in nested functions and still return a value? For example: $.validator.addMethod('userCheck', function (value) { $.ajax({ type: POST, url: _scripts/send_message.php, data: action=checkuser username= + value, success:

[jQuery] how to disallow a div's 'left' property from exceeding a specified number

2009-12-12 Thread exodusnicholas
I'm using http://dev.iceburg.net/jquery/jqDnR/ this tiny drag plugin to drag div.slider horizontally across it's div.container. I do not want div.slider to be able to go past the bounds(don't want it to exit) div.container. so when div.slider reaches the very right side of it's container

[jQuery] Re: validate

2009-12-12 Thread rpinna
Sucheta, You need to trigger a change event when the popup sets the input field. Something like... mydateinput.change(); ~Rob On Dec 4, 3:41 am, sucheta suchet...@yahoo.com wrote: Hello all, I am using the JQueryvalidator fromhttp://bassistance.de/jquery-plugins/jquery-plugin-validation/

[jQuery] Re: validate

2009-12-12 Thread rpinna
I have a similar situation with a timepicker control. I have a text input and an image that displays a popup when selected. The popup fills the input field when a selection is made. The timepicker control allows me to define a callback whenever this occurs. I use the callback to force

[jQuery] plugin - Validate v1.6

2009-12-12 Thread Pingyao48
Bear with me - I am not a web programmer or designer so I'm sorry if this post is not terribly clear. Trying to use the 'Validate' JQuery plugin (my thanks to all those who provide such amazing pieces of work) using Chrome and Firefox 3.6 and have one small problem with its default behaviour. If

Re: [jQuery] FadeOut Ajax Post FadeIn problem

2009-12-12 Thread brian
I believe the sudden appearance is due to the fact that the new div was not hidden. But, a better approach would be to not replace the #pageArticle div. Instead, replace its contents, then fade it in. On Fri, Dec 11, 2009 at 5:02 PM, S9DD david.c@virgin.net wrote: Hi Folks This script

Re: [jQuery] how to disallow a div's 'left' property from exceeding a specified number

2009-12-12 Thread Charlie
you may want to consider the jQueryUI draggable. It has containment option http://jqueryui.com/demos/draggable/ you also benefit from a big support group for UI exodusnicholas wrote: I'm using http://dev.iceburg.net/jquery/jqDnR/ this tiny drag plugin to drag div.slider horizontally

Re: [jQuery] Re: proper way

2009-12-12 Thread Michael Geary
I think you've got it! By George you've got it! (With apologies both to you and to Rex Harrison and Audrey Hepburn!) What you describe is not the only way to do it, but it's certainly a good way. You just have to understand what variables a function has access to. Of course a function can

Re: [jQuery] Re: IF. What am I doing wrong?

2009-12-12 Thread Rafał Pocztarski
2009/12/12 morwo lukaszewsk...@gmail.com: On Dec 6, 8:31 am, Rafał Pocztarski r.pocztar...@gmail.com wrote: 2009/12/3 shapper mdmo...@gmail.com: Try using === instead of == This is PHP operator, isn't? And we're talking here about javascript. Yes, I somehow managed to figure it out that

Re: [jQuery] FadeOut Ajax Post FadeIn problem

2009-12-12 Thread David Day
Thanks Brian The working script is as follows: $(#menuJ a).click(function(){ var js = $(this); $(#pageArticle).fadeOut(500, function() { $.post( js.attr(href), null, function(response) { var bob = div id=\pageArticle\ + response + /div; $(#pageArticle).html(bob);

Re: [jQuery] FadeOut Ajax Post FadeIn problem

2009-12-12 Thread David Day
Oops! Make that... otherwise you get nested divs. $(#menuJ a).click(function(){ var js = $(this); $(#pageArticle).fadeOut(500, function() { $.post( js.attr(href), null, function(response) { $(#pageArticle).html(response); $(#pageArticle).fadeIn(500); }, html); }); return

[jQuery] Using ASP.NET gridview control with JQuery themerollers - Is this good or bad architecture?

2009-12-12 Thread Bunn
I am using the themerollers so that I can use the slick dialogs in an appication - I use the dialogs when a record is inserted, updated, to confirm delete, delete confirmation - and validation errors - I have a panel above a gridview where the user adds a record or selects a record from the

[jQuery] Re: Positioning of nested child elements when using sliders/carousels?

2009-12-12 Thread O.J. Tibi - @ojtibi
Still nothing guys? I can't even think of a decent alternative.