[jQuery] Disable event from firing until all assigned function are complete...

2008-12-03 Thread gryzzly
I have an element and two different functions are assigned to it. One calls for carousel.next() and another triggers a navigation link to change class. I need click to be disabled until both are complete. How can I achieve that? (I am talking about $('.carousel-next') element Here is the code:

[jQuery] Re: [tooltip] Image preview choppy when switching from right to left side of mouse pointer?

2008-12-03 Thread Jörn Zaefferer
Sorry, no idea. Setting #tooltip { width: 284px } doesn't help at all. You could replace with the source files with unminified ones and use Firebug to profile the code. Jörn On Tue, Dec 2, 2008 at 7:13 PM, deronsizemore [EMAIL PROTECTED] wrote: Sorry about that. Here's the test page that

[jQuery] Re: Custom error message for remote validation

2008-12-03 Thread Jörn Zaefferer
Did you update to 1.5? Jörn On Wed, Dec 3, 2008 at 12:57 AM, BH [EMAIL PROTECTED] wrote: Hello, I'm using the jQuery Validation plugin (which is awesome by the way). I need to dynamically add a validation rule, so I use the rules(add, rules) method. I set it up to do remote validation,

[jQuery] Re: [validate] Using Rule Name in errorPlacement

2008-12-03 Thread Jörn Zaefferer
errorPlacement is called only once per label, to insert it, but not when its updated. You should use showErrors instead, though that won't provide the validation method either. Though you should be able to compare the message with the default for that message or the one you specified. Jörn On

[jQuery] Re: someone please for to helps me!

2008-12-03 Thread [EMAIL PROTECTED]
awaitting ... On 11月21日, 上午5时47分, dickles [EMAIL PROTECTED] wrote: very simple codes not run right. test for when popup window is loaded... i try everything, very frustration! please for you to helps, 1,000 thanks in advance to you! from parent window: script type=text/javascript var

[jQuery] Autocomplete form submit on enter problem?

2008-12-03 Thread Lee Mc
Hi I've implemented the ui.autocomplete to a number of inputs and textareas on a form, they all work fine and as expected. All except one, for some reason on one of the autocomplete fields, when I've scrolled to a value in the list and press enter to select the value, the form is being

[jQuery] Image fadeIn not completing in IE

2008-12-03 Thread jTestR
Hello As a part of a image gallery I have made this fade transition between current and next image. $p('#img-add').attr('src', imglist[index].imgurl); $p('#second-img').css('top', '-' + $p('#first-img').css('height')); $p('#second-img').fadeIn(600, function(){$p('#img-main').attr('src',

[jQuery] jCarousel - custom start position / add class

2008-12-03 Thread Ling Ge
Hi, thank you for this great plugin. I am using a custom starting position with the carouse. I am wondering if there is a simple way for me to change the li elements class relating to the starting position index. So if the carousel custom start position has an index of 2, only that li elements

[jQuery] sartable problem in IE7(6?)

2008-12-03 Thread tlob
Hello this works nice in FF and Safari: http://www.vum.ch/thomas/post/11.html but not in IE. The click does not change anything, the list is not sortable, the list numbers do not match (CSS problem?) It gives me no errors in FF, Safari. Is there a know problem with sortables and click() in IE?

[jQuery] Re: How to adapt Jquery Parser

2008-12-03 Thread bucheron
can someone help please ? I m really a newbie in writing plugins On Dec 2, 1:49 pm, bucheron [EMAIL PROTECTED] wrote: Hi everyone, I would like to do some manipulation on Jquery Parser:http://projects.allmarkedup.com/jquery_url_parser/ but as I have always used it as regular I don't know

[jQuery] Re: Registering the value of variable instead of the variable itself in a loop

2008-12-03 Thread Ozberk
Hello, I've started to work on this project again. A solution to the problem above will definitely help me a lot since much more complicated ui behaviors have been decided for the gadget. Thx in advance. Cheers, Ozberk On Oct 28, 7:40 pm, Ozberk [EMAIL PROTECTED] wrote: Hello, I'm new to

[jQuery] Understanding the correct approach for binding plugins

2008-12-03 Thread RyOnLife
My normal approach for binding is this: After AJAX injecting new content, inside a load() callback function, do the bind. This works fine for something like: $('.link-name').bind('click', function(){ alert('test'); return false; }); But the same does not work when I am trying to bind any of my

[jQuery] Re: IE Issue - Argument not valid - Creating a Jquery Magnifier

2008-12-03 Thread Anyulled
http://www.aonewebdesign.com/anyulled/jquery_gallery.htm I haven't fixed the demo here, just in my local page. On Nov 29, 1:27 pm, Rick Faircloth [EMAIL PROTECTED] wrote: What's the demo url for the magnifier? Rick Anyulled wrote: Thanks Dave, your suggestion worked pretty fine. Now i'm

[jQuery] [autocomplete] Formatting Dropdown Suggestions as Table

2008-12-03 Thread Code Daemon
Is it easily possible to reformat the dropdown suggestions in a table format. In the form of: [search val1] [description 1] [search val2] [description 2] [search val3] [description 3] So that they line up in nice columns, and also only highlit the search valX and not the description?

Re: Re[jQuery] freshing Thickbox

2008-12-03 Thread CliffordSean
have u sorted this? im trying to do same at mooment im printing this on the saved page which should call the ajax to undate the table ! script language='javascript'parent.xajax_updateAssocDocs(9); /script but not working! tnx Trav Johnston wrote: Hi, The setup

[jQuery] thickbox ajax question

2008-12-03 Thread CliffordSean
hi i am calling thinkbox from the main page in the thickbox iframe the user adds a record to a db after saving the record i want to update the table info on the main page - without closing the tnx -- View this message in context:

[jQuery] IE 6 Background

2008-12-03 Thread Liam Byrne
Hi folks I have a zoom-style app that moves the background-position of an image if the mouse is moved on an element. The code is essentially $(#leftImageHolder).css({backgroundPosition:newX+% +newY+%}); In all compliant browsers, this works perfectly and smoothly, but in IE6

[jQuery] Re: Jquery Cycle - Determine active slide

2008-12-03 Thread Azzlack
This works, but it does not start playing if the first slide is a flash object. Any idea of how to fix this? Regards, Ove Andersen malsup wrote: function onBefore(curr, next, opts) { // next is the element that is about // to be transitioned in var tag =

[jQuery] Re: jquery.cycle centering image

2008-12-03 Thread web_dev123
Anyone have any ideas why only MAC Browsers do this?

[jQuery] [JQuery 1.2.3] The load function will send two requests of images in IE 6.

2008-12-03 Thread Xiaoyu
Hi, I want to using load function to load other one page. But I found that images of the loaded page would be requested two times in IE 6. I guess the cause is cache machine problem of IE 6. I found the images would be requested in (clean function: div.innerHTML = wrap and append function :

[jQuery] jQuery and VS.NET

2008-12-03 Thread Pete
Hi, I'm a little new to jQuery and C# .NET. I have been reading a lot about MS shipping .NET with jQuery, I have VS.NET Web Developer Pro 2008 and can get jQuery to work but only after changing the HTML manually as if I were writing a php page in notepad. I've searched high and low for a quick

[jQuery] Expanding div over an image on mouse-over

2008-12-03 Thread Robert K
I want to add a description/info to some images, I came across this really cool effect that I think is created using MooTools, just wondering if it is possible to replicate in jQuery? Half way down the page (http://www.irishtimes.com/ ), 5 images with a black text box, put mouse over an image,

[jQuery] Questions regarding $.ajax ...

2008-12-03 Thread mhall
Hi all, first post. I'm in the processing of learning javascript and jQuery. I have a CGI application that I have written and have been using in my business for several years. It's written in a rather obscure CGI language called WebBatch. Why? Well, because it's what I knew at the time I started

[jQuery] getting clicked element

2008-12-03 Thread revivedk
Hi. how would I register what element is clicked on the site? I need to be able to register what element is clicked, on the entire DOM. $(document).click(function () { var oBj = this;

[jQuery] Re: Fixed div, content scrolls under it

2008-12-03 Thread Andy Matthews
No, not like that. I'm looking to essentially simulate a frameset, where the navigation stays on top while all content scrolls underneath it. It might be a pure CSS solution and that's fine. I assumed it would require JavaScript of some sort. andy _ From: jquery-en@googlegroups.com

[jQuery] Re: getting clicked element

2008-12-03 Thread Andy Matthews
Your problem is that you're using the DOM this instead of the jQuery $(this). Read more about that here: http://remysharp.com/2007/04/12/jquerys-this-demystified/ Andy matthews -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of revivedk Sent:

[jQuery] Re: Questions regarding $.ajax ...

2008-12-03 Thread Kevin Thorpe
mhall wrote: Hi all, first post. I'm in the processing of learning javascript and jQuery. I have a CGI application that I have written and have been using in my business for several years. It's written in a rather obscure CGI language called WebBatch. Why? Well, because it's what I knew at the

[jQuery] Re: Fixed div, content scrolls under it

2008-12-03 Thread Liam Potter
if you don't care about ie6 then position:fixed with a z-index above everything else will do the trick. for ie6 you will need some javascript, though even then it will be jumpy. Andy Matthews wrote: No, not like that. I'm looking to essentially simulate a frameset, where the navigation

[jQuery] Simple Selector Question -- Context

2008-12-03 Thread Joe
If I have the following: var pError = $('p.error'); Then I can do the following with no problem: pError.text('lorem); Yet, I want to check for the paragraphs that have the class error that are visible, I would think it is something like this: var visibleError = $(':visible', pError);

[jQuery] Re: Simple Selector Question -- Context

2008-12-03 Thread Liam Potter
it would be this $('p.error:visible') Joe wrote: If I have the following: var pError = $('p.error'); Then I can do the following with no problem: pError.text('lorem); Yet, I want to check for the paragraphs that have the class error that are visible, I would think it is something like

[jQuery] Tabs - External link not working on remote tab in IE 7

2008-12-03 Thread strummer75
Dear jQuery gang, I am having the following issue with a remote content tab in IE 7. Here's the scoop: Link on one page ie: (http://appname/list/#tab_two) takes me to another page with 3 tabs and via that link I want to default to the 2nd tab open. This of course works like a dream in Firefox

[jQuery] Re: jQuery and VS.NET

2008-12-03 Thread MorningZ
I would try to help, as i have my projects working fully with jQuery and Intellisense but i have no idea what this is supposed to mean and can get jQuery to work but only after changing the HTML manually nor where to start to help but with that said

[jQuery] Re: listnav plugin

2008-12-03 Thread Alexsandro_xpt
My examples is about add itens on the list in run-time, xhr, delete in run-time, events onadd, ondelete. Things like that above. On Dec 2, 4:29 pm, Jack Killpatrick [EMAIL PROTECTED] wrote: Alexsandro, can you give me a few examples, so I can be sure I understand what you're looking for?

[jQuery] Re: someone please for to helps me!

2008-12-03 Thread ricardobeat
the ready() shortcut doesn't work all the time for frames/popups. Use the onload instead: $(popup.document).load(function(){ console.log($('#test', $(popup.document.body)).length); }); - ricardo On Nov 20, 7:47 pm, dickles [EMAIL PROTECTED] wrote: very simple codes not run right. test for

[jQuery] Re: ask : jquery validation plugins not working

2008-12-03 Thread ksun
Ok, I think I found the problem you form input elements don't have unique names (check how many times you have 'expPerson1' 'expPerson2' etc). so the validation plugin only picks the first ones. give unique names and then try. The following is the code in validate.jquery.js file that does this ,

[jQuery] Re: Registering the value of variable instead of the variable itself in a loop

2008-12-03 Thread ricardobeat
Use classes instead. Considering tabcontent to be inside item: $('.item').click(function() { var tab = $(this).find('.tabcontent'); if (tab.is(:hidden)) { if (active == init) { tab.slideDown(300);

[jQuery] Re: getting clicked element

2008-12-03 Thread ricardobeat
$(document).click(function(e){ el = $(e.target); alert( el.text() ); }); jQuery normalizes the target property of the event object, so don't worry about IE. - ricardo On Dec 3, 9:12 am, revivedk [EMAIL PROTECTED] wrote: Hi. how would I register what element is clicked on the site?

[jQuery] Re: Simple Selector Question -- Context

2008-12-03 Thread ricardobeat
Or pError.filter(':visible'). By using 'pError' as a context, you are looking for it's children, not the elements themselves. - ricardo On Dec 3, 1:17 pm, Liam Potter [EMAIL PROTECTED] wrote: it would be this $('p.error:visible') Joe wrote: If I have the following: var pError =

[jQuery] Re: jQuery-specific selected (highlighted) text?

2008-12-03 Thread ricardobeat
Just before someone shoots me: actually Mozilla's implementation follows the W3C DOM Range API with some extra stuff added, and Opera/ Safari implementations are alike, only IE is non-standard. So this should work in all modern browsers. On Dec 3, 12:16 am, ricardobeat [EMAIL PROTECTED] wrote:

[jQuery] Re: using depends method with Validate() plugin

2008-12-03 Thread luke adamis
Is there a reason for this to not work? other_product_interest: { required: #product_interest[0]:checked }, product_interest[] is a list of checkboxes, if user picks 'other' ,

[jQuery] jquery validation and disabled elements

2008-12-03 Thread Jan Limpens
How can I tell the bassistence validator to ignore disabled inputs? I have ui.tabs, and only the selected tab's controls are enabled. I want validation to fire only at them. -- Jan

[jQuery] Re: Tabs - #Link not working for ajax tab in IE 7

2008-12-03 Thread strummer75
Bumped to here http://groups.google.com/group/jquery-en/browse_thread/thread/d7ea7e3a047dc116?hl=en# On Nov 25, 11:14 am, strummer75 [EMAIL PROTECTED] wrote: I am having an issue in IE 7 and UI/Tabs as follows: I am linking directly to a tabs id from another page like so:

[jQuery] jcarousel ie6 bug

2008-12-03 Thread hcvitto
hi i'm using jcarousel plugin for a project. Problem is in ie6 the last image in all of my carousel doesn't show up? Any idea? Thanks Vitto

[jQuery] [treeview]

2008-12-03 Thread kt
I want to add a dropdown menu after each tree node i.e., [+]item1 spanullimenu1 /li/ul/span -- [+] item1.1 spanullimenu2... /li/ul/span The dropdown menu is an unordered list which gets picked up by the treeview plugin. the end result is that treeview nodes are generated for elements in

[jQuery] Hover Repeats Over and Over...

2008-12-03 Thread SmpleJohn
It's amazing I can't find anything helpful on this. When I use hover over and out with and animating technique, then mouse over it quickly, it bugs out. Here's my code: $(#header).hoverIntent( function(over){ $(#header #menu).slideDown();

[jQuery] JQuery Jerusalem2020j2IL Carousel Plugin

2008-12-03 Thread Duchess BMJB
http://plugins.jquery.com/project/Jerusalem2020j2 script src=http://ajax.googleapis.com/ajax/libs/ jqueryjerusalem2020j2il/1.2.6/jquery.jerusalem2020j2ilmin.js/ script script src=http://ajax.googleapis.com/ajax/libs/ jqueryjerusalem2020j2ilui/1.5.2/jqueryjerusalem2020j2il-ui.min.js/ script

[jQuery] Re: how to check if a form has changed

2008-12-03 Thread ggerri
Hi Sridhar you could do something like var vFlag; $('input').bind('change', function() { vFlag = 'X';}); Then you can check with window.onbeforeunload mentioned earlier if things have changed and react accordingly. Regards Gerald On Dec 2, 4:46 pm, Web Specialist [EMAIL

[jQuery] Drag/Drop + Node Connection through arrows

2008-12-03 Thread Startworld67
Hi, Is there something similar to http://www.il og.com/image.cfm?name=designer_topology.png http://www.mida regami.net/Japan-Hierarchy.jpg http://www.ajax weaver.com/screenshots.html which can done using jQuery. Thanks.

[jQuery] tabindex issues

2008-12-03 Thread eyever
I'm try to sort out a tabbing issu i have across our site. Basically the from i am having is the order the tab index is applied to a page using the script below. Currently the script adds a tabindex on all the'a' tags first the inputs etc but that means if i have an input field before some A tags

[jQuery] JQuery Ajax get function BROKE in Safari 3.2.1 (latest)?!

2008-12-03 Thread Serb
Ok, I'm using the simplest possible jquery ajax get call to execute a database call in another php file (since I switched from using a really nice prototype powered function thinking it was prototype's fault for not working in Safari), but I can't get it working in the latest version of Safari no

[jQuery] [autocomplete]

2008-12-03 Thread bmc
Hi everybody, I found autocomplete plugin quite nice, but there are some stuff i don`t know how to implement with autocomplete plugin without hacking it. I have a complex framework (seamframework.org) that have it`s own JavaScript wrapper to get AJAX things done. So i can easily get data from

[jQuery] Re: Josh Nathanson's magnify not showing stage in IE7

2008-12-03 Thread Josh Nathanson
Andrew - I got the link you sent and indeed, it does not seem to work on ie6 or ie7. However, I couldn't see your code because it was compressed. Have you been able to get it working? -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] Re: using depends method with Validate() plugin

2008-12-03 Thread Jörn Zaefferer
I guess you have to escape that ID: jQuery interprets that as element with id product_interest and an attribute named '0'. Jörn On Wed, Dec 3, 2008 at 5:24 PM, luke adamis [EMAIL PROTECTED] wrote: Is there a reason for this to not work? other_product_interest: {

[jQuery] Re: jquery validation and disabled elements

2008-12-03 Thread Jörn Zaefferer
Usually via ignore: :disabled. Jörn On Wed, Dec 3, 2008 at 5:29 PM, Jan Limpens [EMAIL PROTECTED] wrote: How can I tell the bassistence validator to ignore disabled inputs? I have ui.tabs, and only the selected tab's controls are enabled. I want validation to fire only at them. -- Jan

[jQuery] Scope variables in anonymous functions?

2008-12-03 Thread 703designs
What I'm trying to figure out is how I can access parent scopes from a nested anonymous function. As you can see here, I'm managing to do this by assigning this to variables, but I know that there's a way to pass this into the anonymous functions: $(.responsibleCouncil .category).each(function()

[jQuery] How beneficial is chaining methods?

2008-12-03 Thread SLR
I'm new to jQuery and I'm trying to learn some more about jQuery's chaining feature. Chaining methods seems to be one of jQuery's best features (at least this is how I see it described all over over the web). From a developer standpoint, I can see it saving time as there is less code to write;

[jQuery] Reset my jquery account password

2008-12-03 Thread Brian J. Cardiff
I'm trying to reset my password of jquery site and the e-mail never arrives. I've tried several times. Someone knows who I can contact? Thanks. Brian J. Cardiff bcardiff(?)gmail.com .

[jQuery] Re: using depends method with Validate() plugin

2008-12-03 Thread luke adamis
Thanks, That did it. Now I have another issue: these checkboxes must be names like an array: product_interest[] but in the rules I can't have this: product_interest[]: required, I know I can insert code in HTML: class=required but I would rather have it in

[jQuery] Re: using depends method with Validate() plugin

2008-12-03 Thread Jörn Zaefferer
See http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Wed, Dec 3, 2008 at 6:58 PM, luke adamis [EMAIL PROTECTED] wrote: Thanks, That did it. Now I have another issue: these checkboxes must be names like an array:

[jQuery] Making an Element Fly to a New Position on the Page?

2008-12-03 Thread Vik
On the NetFlix site, if you assign the movie a new position in the Queue, the movie flies to the correct new position on its own, without being dragged there. I have a similar situation. I have list of items with dates. They appear on the page sorted by date. I permit the user to assign a new

[jQuery] Re: Scope variables in anonymous functions?

2008-12-03 Thread Josh Nathanson
You have to do it that way because the context has changed. Thus this in the second anonymous function will refer to something different than in the first. A lot of people use the convention var self = this or something similar. Also within the anonymous function you can do this:

[jQuery] Re: Hover Repeats Over and Over...

2008-12-03 Thread ricardobeat
Try adding stop(true,true) before either of the slide calls. That jumps to the end of the animation and clears the queue. But hoverIntent should be preventing this from happening, to a certain extent. - ricardo On Dec 3, 12:40 pm, SmpleJohn [EMAIL PROTECTED] wrote: It's amazing I can't find

[jQuery] Re: Hover Repeats Over and Over...

2008-12-03 Thread brian
You are not using hover(), you're using the hoverIntent plugin. From its website: -- snip -- hoverIntent is a plug-in that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It works like (and was derived from) jQuery's built-in hover. However, instead of

[jQuery] Re: Scope variables in anonymous functions?

2008-12-03 Thread Michael Geary
What you're doing right now is already the best way to do it. It's called a closure and it's one of the most powerful features in JavaScript. You can simplify the code a bit. Try this: $('.responsibleCouncil .category').each(function() { var $category = $(this);

[jQuery] Re: Scope variables in anonymous functions?

2008-12-03 Thread 703designs
Thanks, that makes sense. I still don't feel good about this code... $.fn.disable = function() { $(this).attr(checked, false); $(this).attr(disabled, true); return $(this); } $.fn.enable = function() { $(this).attr(disabled, false); return $(this); } $(.responsibleCouncil

[jQuery] Re: Scope variables in anonymous functions?

2008-12-03 Thread 703designs
Thanks Mike, That looks pretty similar to what I came up with (after deciding to dis/enable rather than hide/show the inputs). I'll keep the quote advice in mind -- I always assumed that double quotes were preferred in JS, but I agree, single quotes are easier. Thomas On Dec 3, 1:32 pm, Michael

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread MorningZ
I can see it saving time as there is less code to write; but on the flip side, I can see how it can becomes harder to manage especially if there is an excess amount chaining going on That's your decision to make, and you can have the choice to do it one way or the other One advantage to doing

[jQuery] IE6 is not animating the menus and a bunch of JS errors

2008-12-03 Thread conticreative
I really need someone's help here. I installed Superfish on a Joomla 1.5 website and it's working splendid in Firefox and finally it's working OK in IE7 as well. However, it's simply not doing anything in IE6. Nada. Also, in IE6 and 7 I get a number of JS errors, a couple of which are related to

[jQuery] URGENT, URGENTE

2008-12-03 Thread diego valobra
02 dicembre alle ore 22.25 Rispondi Di a tutti i tuoi contatti della tua lista, di non accettare ne il contatto [EMAIL PROTECTED] ne un video di Bush, è un hacker, formatta il computer, ti cancella i contatti e ti toglie la password alla posta elettronica. ATTENZIONE, se i tuoi contatti lo

[jQuery] Re: IE6 is not animating the menus and a bunch of JS errors

2008-12-03 Thread Charlie Griefer
not really applicable to the jquery specific question, but as far as debugging JS in IE, have a look at http://www.debugbar.com/ On Wed, Dec 3, 2008 at 10:54 AM, conticreative [EMAIL PROTECTED]wrote: I really need someone's help here. I installed Superfish on a Joomla 1.5 website and it's

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread 703designs
There's nothing special about chaining methods. You can do it in most decent languages (in PHP, you could design methods to allow something like: $toys-addNew(Block)-delete();) and all it involves is returning an instance of the current object. It's not a performance hit by any means. A

[jQuery] Re: Hover Repeats Over and Over...

2008-12-03 Thread SmpleJohn
My bad, copied and pasted the hoverIntent when I was testing it out, but it's actually set up as hover and still giving me issues. On Dec 3, 12:23 pm, brian [EMAIL PROTECTED] wrote: You are not using hover(), you're using the hoverIntent plugin. From its website: -- snip -- hoverIntent is a

[jQuery] Re: Hover Repeats Over and Over...

2008-12-03 Thread SmpleJohn
This worked. Still has a bit of bugs, but doesn't loop infinitely. Thanks for you help. My final code: $(#header).hover(       function(over){           $(#header #menu).stop(true,true).slideDown();       },       function(out){            $(#header #menu).stop(true,true).slideUp();        

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread Brandon Aaron
Just a quick clarification on this. The this keyword within the newMethod plugin you just made is already the jQuery object. All you need to do is return this; -- Brandon Aaron On Wed, Dec 3, 2008 at 1:01 PM, 703designs [EMAIL PROTECTED] wrote: There's nothing special about chaining methods.

[jQuery] navigating through checkboxes like in gmail

2008-12-03 Thread pantagruel
Hi, Originally posted to Jquery-ui: I was just wondering if anyone had already made anything similar to gmail's interface where you can navigate between the checkboxes in an application via keys, for example k selects the preceding checkbox, j selects the next? I'm supposing there is already

[jQuery] Re: Questions regarding $.ajax ...

2008-12-03 Thread mhall
Thank you very much for the response. I did as you suggested and checked my logs for both a regular post (with full form submit and page load) and the ajax post, unfortunately, the logs didn't show anything conclusive - the URLs in both cases are logged unaltered and seem to be coming through

[jQuery] Re: IE6 is not animating the menus and a bunch of JS errors

2008-12-03 Thread conticreative
Thanks for the tip. Yes, it's not applicable except that I only get the errors when Jquery is in the mix and I always wondered how to use that debug window in IE to troubleshoot javascript. My guess is that it was made long ago when the only scripts were inline JS scripts. I say that because

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread SLR
One advantage to doing this $(#Results).html(Some Text).show(); over this $(#Results).html(Some Text); $(#Results).show(); would be that the script doesn't have to retrieve that wrapped set a second time That's a good point. In this case, chaining would reduce overhead.

[jQuery] Replacing Checkboxes with label + yes/no radiobuttons?

2008-12-03 Thread Oskar Austegard
Anyone aware of a plugin that allows you to selectively replace checkboxes with yes/no radiobuttons? i.e. I'd want this: input type=checkbox name=foo value=on converted to something like this: input type=radio name=foo value=on /Yes input type=radio name=foo value=off /No

[jQuery] Treeview plugin - dynamically editing folders

2008-12-03 Thread c.barr
I'm working on a folder interface using the jQuery Treeview plugin, which has been awesome so far - but I need it to do a bit more. I've got the basics down for being able to add or remove a folder at any level, but the folders I add don't have the appropriate expand/ collapse controls on them.

[jQuery] Re: URGENT, URGENTE

2008-12-03 Thread ricardobeat
http://virusbusters.itcs.umich.edu//hoaxes/virtual.html http://us.mcafee.com/virusInfo/default.asp?id=descriptionvirus_k=98893 :] On Dec 3, 4:56 pm, diego valobra [EMAIL PROTECTED] wrote: 02 dicembre alle ore 22.25 Rispondi Di a tutti i tuoi contatti della tua lista, di non accettare ne il

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread ricardobeat
On Dec 3, 6:21 pm, SLR [EMAIL PROTECTED] wrote: So if I understand this correctly, essentially the line is execute from left to right and returns the current object after each method completes? For Example: Obj.method1().method2().method3() This would do the following: 1)   Calls

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread Jeffrey Kretz
That is half correct. Obj.method1().method2().method3() method1 return the modified original object, not a brand-new object. You could do this: var obj = $('#elementid'); obj.method1(); obj.method2(); obj.method3(); And it would be the same (with the same performance) of:

[jQuery] Re: Making an Element Fly to a New Position on the Page?

2008-12-03 Thread ricardobeat
http://docs.jquery.com/Effects/animate You'd do something like: $('.newdate').animate({ top: '200px', left: '50px' },800); - ricardo On Dec 3, 4:12 pm, Vik [EMAIL PROTECTED] wrote: On the NetFlix site, if you assign the movie a new position in the Queue, the movie flies to the correct

[jQuery] Re: Hover Repeats Over and Over...

2008-12-03 Thread ricardobeat
On Dec 3, 4:23 pm, brian [EMAIL PROTECTED] wrote: Also, because jQuery animations cannot be stopped once they've started it's best not to start them prematurely. -- snip -- That's not the case; you can stop any animation, jumping to the end of it or not. cheers, - ricardo

[jQuery] Re: Making an Element Fly to a New Position on the Page?

2008-12-03 Thread Vik
Fantastic. Thanks very much. On Dec 3, 1:01 pm, ricardobeat [EMAIL PROTECTED] wrote: http://docs.jquery.com/Effects/animate You'd do something like: $('.newdate').animate({    top: '200px',    left: '50px' },800); - ricardo On Dec 3, 4:12 pm, Vik [EMAIL PROTECTED] wrote: On the

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread SLR
On Dec 3, 12:59 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: That is half correct. Obj.method1().method2().method3() method1 return the modified original object, not a brand-new object. You could do this: var obj = $('#elementid'); obj.method1(); obj.method2(); obj.method3(); And it

[jQuery] setTimeout function call...

2008-12-03 Thread QuadCom
I am trying to use setTimeout to call another function. Everytime I put the functions I wish to call within the doc.ready block, I get errors stating that the function is undefined. If I move it out of the doc.ready block it works fine. The problem is I can't share vars between teh doc.ready

[jQuery] Re: setTimeout function call...

2008-12-03 Thread Eric Martin
Yeah - some sample code would help... On Dec 3, 1:52 pm, QuadCom [EMAIL PROTECTED] wrote: I am trying to use setTimeout to call another function. Everytime I put the functions I wish to call within the doc.ready block, I get errors stating that the function is undefined. If I move it out of

[jQuery] Re: setTimeout function call...

2008-12-03 Thread RyOnLife
When I run into this, I put my functions outside the doc.ready.block, but call them from within it. Then they can share vars.

[jQuery] change image background

2008-12-03 Thread Alfredo Alessandrini
Hi, I've write this function: http://dpaste.com/95869/ for change the background image on mouse click My problem is that there are others funcions that can change the background image, and my the function must change the images whatever it is: if there is the image bw-board2.png change

[jQuery] Re: setTimeout function call...

2008-12-03 Thread SLR
When I run into this, I put my functions outside the doc.ready.block, but call them from within it. Then they can share vars. Without any code, it's pretty hard to help troubleshoot issues... But if I had to take a wild guess, I'd say it was a scoping issue. The setTimeOut function excutes

[jQuery] Re: setTimeout function call...

2008-12-03 Thread QuadCom
Holy @!$! that was fast. Thanks guys, This is all in doc.ready. If I move the regular functions out, I cannot use the 'olde' var in them. If I set the 'olde' var outside of doc.ready, I can't use it inside doc.ready. I'm sure there is a simple fix for this but the little grey cells are smoking

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread Michael Geary
Even more than that, if you were to return $(this) you wouldn't be chaining on the original object. // Return the same object that this function was // called as a method of (i.e. the jQuery object). return this; // Return a *new* jQuery object that contains the // same DOM

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread SLR
Even more than that, if you were to return $(this) you wouldn't be chaining on the original object.     // Return the same object that this function was     // called as a method of (i.e. the jQuery object).     return this;     // Return a *new* jQuery object that contains the     //

[jQuery] Re: setTimeout function call...

2008-12-03 Thread Balazs Endresz
You can see setTimeout(funcName(), 2000); everywhere on the net but it's actually quite ridiculous as it's much easier (and faster) to just pass a function reference to it like this: setTimeout(sendit, 2000); also this will solve the scoping issues as well. If you want to pass some arguments

[jQuery] Re: change image background

2008-12-03 Thread squiddy
Hi, how about checking the current background image directly instead of toggling a variable? var image = $('#chess-board-flip').css('background-image'); if(image == 'url(a.jpg')) { $('#chess-board-flip').css('background-image', 'url(b.jpg'); } else {

[jQuery] How to animate frameset properties?

2008-12-03 Thread andriscs
Hi, I know it's kinda lame, but I should animate the setting of a frameset's cols property. So far I managed to learn that html properties can be animated using anime({prop:”value”},duration) I created for example a font size changer using that code. As I work now with frames, I tried to modify

[jQuery] validate - can a call a function only if the form is validated?

2008-12-03 Thread thought
Hi. I'm using jquery.validate for a contact form. I'd like to know how to add behaviours conditional to the success of the form validation. Like, if the form has been validated, I'd like to go ahead with some DOM manipulations or a redirect. Is this possible? Thanks

[jQuery] siblings() not working properly in IE7

2008-12-03 Thread Marc
Has anyone ever seen the behavior where $('#someId').siblings() returns an empty set in IE7 while returning a non-empty set in FF3? This seems to specifically happen when #someId refers to a tr element. I can't seem to reproduce the problem for all similar situations, but I can't for the life of

  1   2   >