[jQuery] How can I display loader images on different locations for different ajax requests using ajaxStart

2008-12-20 Thread bookme
Hi, Please tell me how to display loader images on different locations for different ajax requests using ajaxStart. I have posted my code at the link below :

[jQuery] jQuery.get filtered JavaScript Tag

2008-12-20 Thread howa
When using jQuery.get to fetch remote contents, the content inside the script tag will be removed and therefore not executed. Is it possible to incluce the script tag and run it automcatically when using jQuery.get ? Thanks.

[jQuery] Re: jQuery nodes traversing

2008-12-20 Thread graphic...@googlemail.com
Hi, Thanks for helping. I think I haven't explained properly what I wanted I'm looking for the first parent with an attribute 'id', which in this example was div id=main. However it could be anything, not necessary main, so your code wouldn't work as you are looking specifically for #main.

[jQuery] Re: [validate] Missing the submit button params

2008-12-20 Thread Jörn Zaefferer
As a workaround, you could manually trigger the remote validation, via $(#remotefield).valid(); the plugin caches the input's value, and doesn't validate it again if it isn't changed. If you have only one submit button, you could also add a hidden field that has the name/value of the button.

[jQuery] Re: validation plugin negative number rule?

2008-12-20 Thread Jörn Zaefferer
Use min: 0. Jörn On Fri, Dec 19, 2008 at 8:02 PM, Adam apcau...@gmail.com wrote: How can I create a rule in the validation plugin to disallow negative numbers. I have a text field that should accept any number 0 thanks, A.

[jQuery] Re: [validate] Missing the submit button params

2008-12-20 Thread Jolle
On 20 Dec, 11:35, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: As a workaround, you could manually trigger the remote validation, via $(#remotefield).valid(); the plugin caches the input's value, and doesn't validate it again if it isn't changed. Yes, this seems to work. Thanks! If

[jQuery] Re: create a translate plugin using jQuery

2008-12-20 Thread rabab chakhmoune
tkx for your answer, no i want to create a plugin using jquery i need't a google's machine to translate so i want a different steps to create plugin to translate and when i install or add my plugin, automatiqquely a my site web translate in frensh ok tkx for your help Merci beaucoup Rabab

[jQuery] Error on validation plugin documentation?

2008-12-20 Thread Giovanni Battista Lenoci
Hi, I'm tryng for the first time the validation plugin, I was looking at the doc here: http://docs.jquery.com/Plugins/Validation/validate In the "invalidHandler" sample code there is: $(".selector").validate({ invalidHandler: function(form) { var errors =

[jQuery] jscrollpane _ how to remove flicker on initialisation ?

2008-12-20 Thread pixeline
hello! You can view the problem i'm trying to solve here: http://www.lab-au.com/mr_news/ The OS scrollbars appears for a fraction of second until jscrollpane gets rendered. Did anybody came up with a good solution to avoid the display of default browser scrollbars when jscrollpane kicks in?

[jQuery] [Validate] Validator plugin working (kind of) but submitting form!?

2008-12-20 Thread JoshL
Hello, Im using the validator plugin in Rails, which is fantastic, but noticed something odd the other day. The form actually appears to be SUBMITTING, even if the validation fails!? I can't imagine this is supposed to happen. I was under the impression that the plugin is supposed to prevent

[jQuery] Re: Need help to decide on SWF/FLV/SIFR plugin - a bit unsure, for sure!

2008-12-20 Thread cabdulaahi sheekh cali
--- On Fri, 12/19/08, yvonney yvonn...@gmail.com wrote: From: yvonney yvonn...@gmail.com Subject: [jQuery] Need help to decide on SWF/FLV/SIFR plugin - a bit unsure, for sure! To: jQuery (English) jquery-en@googlegroups.com Date: Friday, December 19, 2008, 8:43 PM Hi all!

[jQuery] Simple XPATH Selector

2008-12-20 Thread chinnakarup...@gmail.com
Hi, I am trying XPATH selector with jqueryit doesn't seem to work..find below the eg.it should select the paragraph. can any tell me what I am missing. THnks !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html

[jQuery] :not selector --- not working

2008-12-20 Thread chinnakarup...@gmail.com
Hi, I tried a eg for :not operator.According to which it should not pick up the Table header but it does .what am i missing. One more question what is the significance of putting the 'th' in the square bracket .is it OK to write like this. $('tr:not(th):even').addClass('even'); THnks

[jQuery] Problem with reloading AJAX content (Flowplayer) in jqModal window

2008-12-20 Thread jefffederman
Hi, I'm a relative newcomer to jQuery (and Javascript in general), and I'm having a problem with content loaded via AJAX that I gather is related to event delegation/rebinding. I'm using jqModal to populate a modal window with html content via AJAX. The content contains both text and a

[jQuery] Re: Simple XPATH Selector

2008-12-20 Thread John Resig
jQuery doesn't support XPath selectors any more - you need to use CSS selectors. $(p).addClass(jq); --John On Dec 20, 9:36 am, chinnakarup...@gmail.com chinnakarup...@gmail.com wrote: Hi, I am trying XPATH selector with jqueryit doesn't seem to work..find below the eg.it should select

[jQuery] Re: :not selector --- not working

2008-12-20 Thread John Resig
That's an XPath selector, not a CSS selector. To do that in jQuery you would need to do: $(tr:not(:has(th)):even) --John On Dec 20, 9:38 am, chinnakarup...@gmail.com chinnakarup...@gmail.com wrote: Hi, I tried a eg for :not operator.According to which it should not pick up the Table header

[jQuery] thickbox close and ajax request

2008-12-20 Thread poncjusz
Hi! I've small (or big- I'm unaware...). I made small image manager using thickbox, when I'm adding new article I can add some images (open thickbox, upload image) AND AFTER CLOSING THICKBOX image list should refresh (using ajax), the main problem is sending request after closing the thickbox

[jQuery] cycle problems

2008-12-20 Thread skitarg
Hi, I can't get jQuery cycle to work and I have no idea why, so I would really appreciate some help. my code: HTML ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//SV http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

[jQuery] show form after each slide (islideshow.js)

2008-12-20 Thread marksen
Hi everyone, I'm new to JS and jQuery, and have been searching my off to find a solution for the following problem: I'm using jQuery with the Interface elements plug ins to display a slide show (islideshow.js). The photos are held in a PHP array and are being dynamically fed to the slide

[jQuery] Re: cycle problems

2008-12-20 Thread Mike Alsup
Hi, I can't get jQuery cycle to work and I have no idea why, so I would really appreciate some help. my code: HTML ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//SV http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

[jQuery] How to parse variables in url to modal box?

2008-12-20 Thread Skooter
How would I parse my variables in a link like... a href=index.php?var1=valuevar2=value rel=modalboxshow modalbox/a ... to a modal box, like the build-in dialog in jQuery? I've tried to solve the problem in the code below, but it does not work for 2 reasons: 1 ) I cannot put in variables using

[jQuery] Re: problem with :contains in 'td'

2008-12-20 Thread chinnakarup...@gmail.com
Also I am not sure what is being passed in the filter .I assume it to be the TD element right now can somebody correct me or tell me what is happening.I want the 'History' cells to be red THnks On Dec 20, 1:43 pm, chinnakarup...@gmail.com chinnakarup...@gmail.com wrote: Hi, I am trying

[jQuery] Re: problem with :contains in 'td'

2008-12-20 Thread chinnakarup...@gmail.com
Or rather the question should be can the :contains selector have a context for its search..and if I make the 'this' to be it will it work. On Dec 20, 1:43 pm, chinnakarup...@gmail.com chinnakarup...@gmail.com wrote: Hi, I am trying to match the content in 'td' and think the problem

[jQuery] Re: Cluetip speed question

2008-12-20 Thread David Morton
On Tue, Dec 16, 2008 at 6:26 PM, Michael Geary m...@mg.to wrote: http://osdir.com/answers/javascript/2618-jquery-optimizing-easiest-tooltip.html#2 Maybe you could use this code as a start for a custom tooltip plugin? Thanks for that link, I did manage to modify the simpletip.js library

[jQuery] [treeview] Expand on link click

2008-12-20 Thread onelesscar
It looked like a link clicked would expand it AND the link would load. But I've found that if the link is another page, there is some event timing problem where it tries to open but then the new page loads and the expand is lost. You can see it here, zunga.orgfree.com Note that the + and -

[jQuery] [Validate] What is causing this error?

2008-12-20 Thread Rick Faircloth
I'm making another attempt to get Jorn's validation plug-in working. I'm getting this error from Firebug after clicking in the first required field then out (onfocusout): validator.settings[on + event.type].call is not a function (function($) {$.extend($.fn,{validate:fun...cured when checking

[jQuery] How to fade in next div after previous div faded in upon document.ready ?

2008-12-20 Thread crowebster
Hi all ! I tried but did not succeeded in making this work. To explain what I'm trying to do. HTML: body div id=first_divptext/p/div div id=second_divptext/p/div div id=third_divptext/p/div /body CSS not important right now jQuery: on document.ready function collect all divs witch id ends with

[jQuery] Google Reader style endless scroll library?

2008-12-20 Thread Eeby
Hey y'all. I'd like to provide endless scrolling of search results in the manner of Google Reader. The thing where an AJAX call loads more results when you scroll to the bottom of the list of results. A Google search turned up a lot of articles on the theory of how to do it. I also searched the

[jQuery] How to fade in next div after previous div faded in upon document.ready ?

2008-12-20 Thread crowebster
Hi all ! Here is my question: How to fade in div after the previous div finished fading in ? Here is code I have so far: HTML: div id=header_div p id=header_textHeader text/p /div div id=body_div p

[jQuery] Re: jQuery nodes traversing

2008-12-20 Thread Ricardo Tomasi
$('h2').parents('[id]') should work! On Dec 20, 8:17 am, graphic...@googlemail.com graphic...@googlemail.com wrote: Hi, Thanks for helping. I think I haven't explained properly what I wanted I'm looking for the first parent with an attribute 'id', which in this example was div

[jQuery] Re: problem with :contains in 'td'

2008-12-20 Thread Ricardo Tomasi
$('tr:contains(Comedy)') and $(':contains(Comedy)','tr') are not the same. When using tr as a context, you're searching it's children (the tds). So if you pass td as a context, the search will happen on it's children (which are none in your page). You need $('td:contains(Comedy)') or to

[jQuery] Re: problem with :contains in 'td'

2008-12-20 Thread chinnak
Thanks a lot ricardo.. $(':contains(History)','tr').css(background-color,red); (WORKS) One thing I understood was :contains uses the context to search in it children.not in the same element.becoz when I use 'td' as the context td has the text 'History' in it that I am looking for. Is

[jQuery] Re: jQuery nodes traversing

2008-12-20 Thread Ricardo Tomasi
or $('h2').parents('[id]:first') sorry 'bout the flooding :) On Dec 20, 9:57 pm, Ricardo Tomasi ricardob...@gmail.com wrote: $('h2').parents('[id]') should work! On Dec 20, 8:17 am, graphic...@googlemail.com graphic...@googlemail.com wrote: Hi, Thanks for helping. I think I haven't

[jQuery] jQuery crashing older PCs in Firefox 3.0.5?

2008-12-20 Thread Magnificent
I have an older PC that I use for testing and I've noticed that when I use Firefox 3.0.5 that sometimes the PC crashes. Not just the browser, but the entire PC. I've yet to have a single crash in Opera 9.62 testing the same code. I forget the exact specs of the PC, but I think it's an AMD

[jQuery] Smarter way to write this repetitive code?

2008-12-20 Thread chriscoyier
$('.headline:eq(0)').click(function() { $('.article-text:eq(0)').fadeIn(); }); $('.headline:eq(1)').click(function() { $('.article-text:eq(1)').fadeIn(); }); $('.headline:eq(2)').click(function() {

[jQuery] replacing more than once

2008-12-20 Thread erikober
Total newbie. Any help appreciated. Why does replaceAll only seem to work once in this example? Thanks very much! !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head script src=js/jquery.js type=text/javascript/script

[jQuery] problem in removing and moving

2008-12-20 Thread Jack Finger
Hi, I want to remove an object, but also move a piece of it into previous HTML element, does exist something like ':prev' selector? Thanks! My code: JS: $('#to_move').insertAfter('#div dl:previous(?) dd'); $('#div dl:last').remove(); HTML: fieldset id=div dl dd...something.../dd !-- MOVE

[jQuery] Re: Smarter way to write this repetitive code?

2008-12-20 Thread Ryura
$('.headline').each(function(i) { $(this).click(function() { $('.article-text:eq('+i+')').fadeIn(); }) })

[jQuery] Re: Cluetip speed question

2008-12-20 Thread Karl Swedberg
Hi David, I wrote both cluetip and simpletip. sorry cluetip didn't work out for you, but happy to see that you were able to use simpletip. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 20, 2008, at 4:25 PM, David Morton wrote: On Tue, Dec 16,

[jQuery] Re: Smarter way to write this repetitive code?

2008-12-20 Thread chriscoyier
Perfect! Thanks Ryura =) On Dec 20, 7:21 pm, Ryura yoyobo...@gmail.com wrote: $('.headline').each(function(i) {         $(this).click(function() {                 $('.article-text:eq('+i+')').fadeIn();         }) })

[jQuery] Re: Problem with reloading AJAX content (Flowplayer) in jqModal window

2008-12-20 Thread jefffederman
I further simplified the problem by removing the jqModal component, so my problem appears to be with Flowplayer and AJAX. When you click the link, the script loads new html, and then a callback function instantiating Flowplayer, as well as triggering an alert from a new link. The first time the

[jQuery] Re: return value from JQuery ajax custom method

2008-12-20 Thread Sara
Thanks a lot Mike On Dec 19, 4:27 pm, Mike Alsup mal...@gmail.com wrote: I'm using jquery ajax within a custom method and try to return its result to that original method but I get nothing while it works fine if I show it in alert window here is my code: