[jQuery] Re: remove live events from all children

2009-02-20 Thread Pappy
yeah... tried that one too. The docs say you can only use "live" directly off of a selector. I had hoped "die" didn't have the same rules, but alas... For what it's worth, I also tried something like this - jQuery(".specific_selector").addClass("dialog_live_event"); jQuery(".specific_selector.

[jQuery] jquery.corners.js peformance issue

2009-02-20 Thread Davis
Hello, i got a website simply put those DIV id patten for a rounded corner, but i found it slow at all during that page loading, just use on my page. $('div[id^=_X_ev_]').corners({radio:5, outColor:'#7C0E1E'}); so is it anything can do to improve it? or any other workaround? as the browser s

[jQuery] Re: hoverIntent and Accordion

2009-02-20 Thread zac
Yes that is just what I needed. Thank you very much! This is actually starting to make sense to me :^ ) On Feb 20, 6:14 pm, Brian Cherne wrote: > The hoverIntent plugin assumes you're sending it either: > > a) both over and out functions, or > b) a single configuration object. > > When you sen

[jQuery] Re: remove live events from all children

2009-02-20 Thread aquaone
jQuery("#id").find("*").die(); ? On Fri, Feb 20, 2009 at 18:46, Pappy wrote: > > Well, while 'children' only gets me immediate descendants, I figured > let's try > > jQuery(".specific_class").parent().children().die() > > for the heck of it and still no luck. > > It looks like the code does some

[jQuery] Earn money $1000-25000 per month

2009-02-20 Thread ezhil
MONEY WORLD EARN MONEY "$1000-25000" PER MONTH TAKE SIMPLE ONLINE SURVEYS CREATE FREE ACCOUNT OTHER DETAILS LOG ON TO http://www.AWSurveys.com/HomeMain.cfm?RefID=ushaselvam ***

[jQuery] Re: remove live events from all children

2009-02-20 Thread Pappy
Well, while 'children' only gets me immediate descendants, I figured let's try jQuery(".specific_class").parent().children().die() for the heck of it and still no luck. It looks like the code does some pattern matching and doesn't like it if you are using significantly different selectors to 'l

[jQuery] Re: jQuery 1.3.2 Released

2009-02-20 Thread James
Thanks! So far it seems to be working without issues on my projects, including those with UI 1.6rc6. :) On Feb 20, 4:01 pm, John Resig wrote: > > Awesome, thanks John. So UI 1.7 should be around the corner as well? > > Let's hope so! You'll have to ask the UI team :-) I think they're > getting r

[jQuery] Re: hoverIntent and Accordion

2009-02-20 Thread Brian Cherne
The hoverIntent plugin assumes you're sending it either: a) both over and out functions, or b) a single configuration object. When you send it only one function it assumes that that's the configuration object. As you are only interested in using an over function, I'd recommend sending an anonymou

[jQuery] Re: remove live events from all children

2009-02-20 Thread James
How about: jQuery("#id").children().die(); On Feb 20, 3:44 pm, Pappy wrote: > I am trying to remove live events from all children of an element > (specifically, the element is a dialog window). > > jQuery("#id *").die() > > There's an "Invalid Quantifier" exception when creating the namespace >

[jQuery] Re: improper function

2009-02-20 Thread ricardobeat
Your function looks fine. The URL given does not exist. jQuery(function($){ $("#carousel") .html( $("#holder_images").html() ) .carousel3d({ control: 'continuous', radiusY: 0, speed: 1, radiusX: 250,

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread ricardobeat
set cache: false in your $.ajax call to disable cacheing of responses. You can also add a random query parameter to the URL if that doesn't work. - ricardo On Feb 20, 8:53 am, Jsbeginner wrote: > Hello, > > I've been working on a jquery projet (with the lastest stable version of > jquery) that

[jQuery] Re: jQuery 1.3.2 Released

2009-02-20 Thread John Resig
> Awesome, thanks John. So UI 1.7 should be around the corner as well? Let's hope so! You'll have to ask the UI team :-) I think they're getting real close, though. --John

[jQuery] jcarousel buttons

2009-02-20 Thread shannon
Hi, I tried using the simple carousel, but the buttons for nextlabel and prevlabel don't appear on the screen, yet I can click to manouver left or right. I must have missed a step somewhere to add the visibility to these buttons, but I can't figure it out. Can someone help me out? Thanks, Shanno

[jQuery] Jquery Valdation :the data is entered in the UI real estate after validation

2009-02-20 Thread bibumathew
Jquery Valdation :the data is entered in the UI real estate after validation STEPS TO REPRODUCE: 1. Type an invalid value in a field Ex: type an invalid e-mail id in e- mail field 3. After the above step try to enter the data in a different field by moving the cursor to a different field using

[jQuery] Re: jQuery 1.3.2 Released

2009-02-20 Thread bin
thank you -- Original -- From: "John Resig"; Date: 2009年2月21日(星期六) 上午9:05 To: "jquery-dev"; "jquery-en"; Subject: [jQuery] jQuery 1.3.2 Released Hi Everyone - Full details here: http://docs.jquery.com/Release:jQuery_1.3.2 Enjoy! --John

[jQuery] remove live events from all children

2009-02-20 Thread Pappy
I am trying to remove live events from all children of an element (specifically, the element is a dialog window). jQuery("#id *").die() There's an "Invalid Quantifier" exception when creating the namespace RegExp in the remove function (line 2431, jquery.js v1.3.1). The asterisk is never escape

[jQuery] Re: jQuery 1.3.2 Released

2009-02-20 Thread Schalk Neethling
Awesome, thanks John. So UI 1.7 should be around the corner as well? Regards, Schalk John Resig wrote: Hi Everyone - Full details here: http://docs.jquery.com/Release:jQuery_1.3.2 Enjoy! --John begin:vcard fn:Schalk Neethling n:Neethling;Schalk org:Overt Strategy Consulting adr:Florauna;;Be

[jQuery] Re: each on a css class

2009-02-20 Thread MorningZ
I'd take a guess that "vkfade" doesn't return the original jQuery object (keeping "chaining" alive) On Feb 20, 7:55 pm, "Dan B." wrote: > Yes it does. So that means it must be an issue with vkfade... it might > use a global variable or something. > > Thanks for the trouble shooting aid. > > Dan

[jQuery] jQuery 1.3.2 Released

2009-02-20 Thread John Resig
Hi Everyone - Full details here: http://docs.jquery.com/Release:jQuery_1.3.2 Enjoy! --John

[jQuery] Re: each on a css class

2009-02-20 Thread Dan B.
Yes it does. So that means it must be an issue with vkfade... it might use a global variable or something. Thanks for the trouble shooting aid. Dan On Feb 20, 5:45 pm, James wrote: > It should. But since I don't know what vkfade is and what > elements .positiveMessage is assigned to, it's hard

[jQuery] Re: each on a css class

2009-02-20 Thread James
It should. But since I don't know what vkfade is and what elements .positiveMessage is assigned to, it's hard to tell what's wrong. What happens if you replace: $(this).vkfade("00dd00") with: $(this).hide(); ? do they all hide as expected? On Feb 20, 2:38 pm, "Dan B." wrote: > so i have a clas

[jQuery] each on a css class

2009-02-20 Thread Dan B.
so i have a class "positiveMessage" I use throughout the page and i always want to fade them (FAT style). I'm starting to catch, but I can't figure out why this only fades the first one! $('.positiveMessage').each( function(){$(this).vkfade("00dd00")} ); Shouldn't this find every e

[jQuery] validate - non U.S. phone numbers

2009-02-20 Thread Create Sean
I would like to be able to validate phone numbers but accept any number, dash or parenthesis without having restrictions that are currently in the plugin i.e. area code etc. how would I go about adding that? http://docs.jquery.com/Plugins/Validation

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-02-20 Thread Mike
> I'm trying to center my slides in the slide container, but I'm having > issues.  I have 'a' links as my slides, each containing a single > image.  What I want is for the link and the img to be the same size, > based on the width of the image, and then centered inside of the slide > container.  I

[jQuery] hoverIntent and Accordion

2009-02-20 Thread zac
I am trying to add the hoverIntent plugin to this basic accordion menu such as this: $("dd").hide(); $("dt a").hover(function(){ $("dd:visible").slideUp("slow"); $(this).parent().next().slideDown("slow"); ret

[jQuery] How to close dropdown

2009-02-20 Thread bob
Hi, I am trying to create a simple dropdown. The problem I have is that I do not know how to close the dropdown. It is supposed to close when user clicks on id="btn" or anywhere outside of dropdown. That's what I tried but close does not work. Open Menu

[jQuery] Re: Something broke in IE7

2009-02-20 Thread carol
Oliver, I am having the very same problem...the content in my greybox does not show in IE7. It's driving me nuts! Have you found a solution? Thanks! Carol On Feb 20, 3:03 pm, "oliver.pra...@googlemail.com" wrote: > Hi guys after I finally got my code working in FF, IE7 is killing me! > > I n

[jQuery] Something broke in IE7

2009-02-20 Thread oliver.pra...@googlemail.com
Hi guys after I finally got my code working in FF, IE7 is killing me! I never programed in javascript bevor so take it easy on me please. Using the DEBUGGER has helped me a lot, but now there are no more debug messages and I don't know what the hell I can do to get it work! I am guessing that m

[jQuery] Re: Data returned (from a JQuery function) with the $ character cause to error in IE

2009-02-20 Thread James
The $ inside a string will not be mistaken for the jQuery $. There's some other part of your code that is causing the issue. It would help if you could post a link or more of your code. On Feb 19, 7:08 am, major wrote: > sorry,I don't have a link. > If I run a command like: $("#field").text();

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread Jsbeginner
It only happens when the api servers are slow and tonight they are all answering within 2 seconds so I can't make it happen. I thought about it changing the wrong element but I don't see how one element could be changed twice or three times as all the elements are changed by the end and the quer

[jQuery] Re: TableSorter Pagination: Move pagination to top

2009-02-20 Thread ijlal
I had the same problem. and i resolved it using these steps. edit the "tablesorter.pager.js" and in the function function fixPosition(table) { var c = table.config; if(!c.pagerPositionSet && c.positionFixed

[jQuery] Re: JQuery Forms plugin, success callback fail

2009-02-20 Thread James
Even though it returns 200, are you sure it's the correct format as specified in your dataType (json)? You should put an error callback in your ajax option. That might trigger and help solve your issue. You should also use Firebug for Firefox to help troubleshoot ajax issues. On Feb 20, 4:57 am,

[jQuery] improper function

2009-02-20 Thread surreal5335
I posted this earlier today, but couldnt find it when I chacked back again, I guess it didnt go through all the way. I got this code that worked great by itself, but in my site it doesnt work, says its an improper function. Does any one have any idea as to how to solve this? jQuery(function($)

[jQuery] Re: Error in IE 7 with Form Plugin

2009-02-20 Thread jonstjohn
Mike - Thanks! That was actually me. I'm new to the forum so that message didn't show up until it was approved by a moderator, I think. Ended up posting twice and missed the second. Anyways, appreciate the help and I'll watch my form input element names! Jon On Feb 20, 3:17 pm, Mike wrote:

[jQuery] linkselect plugin: issue with setting value

2009-02-20 Thread Jason
I'm trying to externally update the value of the linkselect field using this._itemSelect.linkselect("val", newValue); and am getting the following exception on FF3: 'self is undefined' on line 37, since the 'self' lookup from $.data returned null. Digging in to things, it looks like $.data is gett

[jQuery] Youtube Playlist in jQuery

2009-02-20 Thread Elledinho
Hi peoples out there! I have been looking for a plugin witch can play youtube-videos from a list and appear a small text, when a song just got started. I imagine something like this: $(document).ready(function(){ $('#YTsong').myYouTubePlaylist({ player: '#myYTplayer', //

[jQuery] Re: (a)slideshow in IE

2009-02-20 Thread Mike
> I'm trying to implement the jQuery (a)Slideshow plugin > (http://slideshow.hohli.com/ > ) on a site; it works great in everything except IE; both IE7 and IE8 > beta 2 don't show the slideshow at all; I can't figure out why; the > demos for the plugin work in IE; I downloaded the source; it work

[jQuery] Re: Error in IE 7 with Form Plugin

2009-02-20 Thread Mike
> Apparently, this was due to an input field with name and id attributes > set to "length".  I changed them to something different and the > problem went away. > > Has anybody else experienced this problem? Yes, someone just posted about this same issue yesterday! :-) http://groups.google.com/g

[jQuery] JQuery IE7 Help

2009-02-20 Thread jay0316
Here is a link to the problem I'm having. http://www.coastalpet.com/new_test_project/jquery.php http://www.coastalpet.com/new_test_project/jquery.php I've slowed it down so you can see it. When it slides up, it reaches the top and then displays the whole thing for a tenth of a second and the

[jQuery] Re: Queuing jQuery animations

2009-02-20 Thread Nikola
I made a typo it's 'zIndex' not 'zindex' - disregard the quotes there... On Feb 20, 2:32 pm, Nikola wrote: > You can use a callback which will be executed when the animation is > finished, like this: > > $("#i2").animate({left: "+=110px"}, 1500, function(){ $(this).css > ({zindex:19}); } ); > >

[jQuery] Re: Queuing jQuery animations

2009-02-20 Thread Nikola
You can use a callback which will be executed when the animation is finished, like this: $("#i2").animate({left: "+=110px"}, 1500, function(){ $(this).css ({zindex:19}); } ); On Feb 20, 7:06 am, "paul.mac" wrote: > Hi, A newie to jQuery although I do have quiet a lot of JavaScript > experience.

[jQuery] Re: Error in IE 7 with Form Plugin

2009-02-20 Thread jonstjohn
Apparently, this was due to an input field with name and id attributes set to "length". I changed them to something different and the problem went away. Has anybody else experienced this problem? On Feb 19, 1:50 pm, jonstjohn wrote: > I've worked quite a bit with the Form Plugin.  A couple

[jQuery] Re: JQuery changes the CSS

2009-02-20 Thread James
Please post some code or a link to a sample of it working unexpectedly. Thanks. On Feb 20, 2:46 am, "ebozze...@gmail.com" wrote: > I'm using JQuery to display and hide some form input fields, but some > of the CSS from the fields that are hidden does not display correct, > JQuery is changing my

[jQuery] Re: Jquery Ajax one request, multiple answers problem

2009-02-20 Thread James
Could you set up a test page with this code? It's difficult to tell just by looking at it. Use Firebug to check and make sure whether it's really resending a request or not, or whether it's somewhere in the code that is incorrectly modifying the wrong parts of the DOM from subsequent requests. On

[jQuery] Re: How to pass variables between jQuery plugins?

2009-02-20 Thread Vic
Thanks Stephan for jumping in. anArray near the end of the callback function within $.get() now has the correct values I want from the csv file. I understand what you said about doing everything from the callback function. But in my case I have 3 csv files to open and I'd like to perform some gra

[jQuery] Re: blockUI issue

2009-02-20 Thread David .Wu
this is demo page. http://www.yuri.com.tw/debug/blockui.php On 2月21日, 上午1時56分, "David .Wu" wrote: > I found it's not work in IE7 with flash, is it?

[jQuery] blockUI issue

2009-02-20 Thread David .Wu
I found it's not work in IE7 with flash, is it?

[jQuery] inproper function

2009-02-20 Thread surreal5335
I have found a script for a sliding scroll of thumbnail pictures. by itself it works fine but on my web site firefox says its not a proper function. What could cause this? jQuery(function($) { $("#carousel").html( $("#holder_images").html()).carousel3d({ control: 'continuous', r

[jQuery] Re: jQuery IE PopUp Issue

2009-02-20 Thread donb
You are not specifying the dataType parameter in your ajax call. Supposedly, an 'intelligent' decision is made within jQuery as to how the data is interpreted. Maybe it has interpreted the return data incorrectly? On Feb 20, 11:20 am, WhoButSB wrote: > Success!!  After some searching regarding

[jQuery] Re: .contents() not meeting its contract?

2009-02-20 Thread David
I'm a little confused; you've said ".filter() doesn't work against text nodes (they're immediately removed)" but then you suggest accessing text nodes by using .filter? On Feb 20, 11:39 am, John Resig wrote: > .not() and .filter() don't work against text nodes (they're > immediately removed). If

[jQuery] Javascript in Included Files

2009-02-20 Thread waizu...@gmail.com
I am working on a game, and I want the game portion to load pages and display them without reloading (dynamically) the problem I ALWAYS run into though, is that some of the files I am including have Javascript in them. If I use say: jQuery.post to include test.php where test.php has some simple J

[jQuery] Re: How to get jQuery UI as discrete files

2009-02-20 Thread Richard D. Worth
See http://code.google.com/p/jquery-ui/downloads/list for the full development bundles. Another option is to grab the tag (or even individual files) from svn. For example: Stable http://jquery-ui.googlecode.com/svn/tags/1.5.3/ Preview http://jquery-ui.googlecode.com/svn/tags/1.6rc6/ - Richard

[jQuery] How to get jQuery UI as discrete files

2009-02-20 Thread D.Kreft
I'm looking to get a copy of the latest stable jquery UI *as discrete files* but it seems that all that is available now is the customizeable download form at http://jqueryui.com/download. Is there any way to do this? If there isn't, could the Powers That Be make it easy to get this? I'm trying to

[jQuery] Re: Using jQuery to Parse XML in AIR

2009-02-20 Thread s.ross
in both the callback and complete handlers, data.responseXML => [object Document] The question is how to turn this into a jQuery object that can be traversed. I'm still not grokking that. What I'm looking for is something like: xmlDoc = $(data.responseXML) xmlDoc.find('category').each(function(

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-20 Thread mkmanning
levels.text = $('input[name="Levels"]:checked + label'); levels.value = $('input[name="Levels"]:checked'); Those don't get you the right values for the levels object, they both return a jQuery object. Accessing the levels object as this.value won't work either. Try this: levels.each(function(){

[jQuery] Re: Validate two form useing Validation Plugin

2009-02-20 Thread Jörn Zaefferer
Try this: $("#form1, #form2, .otherforms").each(function() { $(this).validate(); }); Jörn On Fri, Feb 20, 2009 at 5:58 PM, Hellofrom wrote: > Hello every one > can some one give me a example of validating two form using Validation > plugin > thanks >

[jQuery] Validate two form useing Validation Plugin

2009-02-20 Thread Hellofrom
Hello every one can some one give me a example of validating two form using Validation plugin thanks

[jQuery] Re: Event handling/propagation question

2009-02-20 Thread Liam Potter
I only used parents() and selected the P as that is what I understood spaceage wanted. spaceage wrote: Actually, this works nicely (I think because of the use of this vs. event.target?): $('div.clickable_element').click(function() { $(this).toggleClass ("selected"); }); On Feb 20, 8:28 am,

[jQuery] Re: Event handling/propagation question

2009-02-20 Thread spaceage
Actually, this works nicely (I think because of the use of this vs. event.target?): $('div.clickable_element').click(function() { $(this).toggleClass ("selected"); }); On Feb 20, 8:28 am, Frederik Ring wrote: > I think it should be also working just this way: > > $('#mydiv').css('cursor','poin

[jQuery] Re: .contents() not meeting its contract?

2009-02-20 Thread John Resig
.not() and .filter() don't work against text nodes (they're immediately removed). If you wish to just get the text nodes you can do: $("p").contents().filter(function(){ return this.nodeType !== 1; }) Although, it sounds like you're trying to do this instead: $("p").wrapInner(""); --John

[jQuery] Re: .contents() not meeting its contract?

2009-02-20 Thread brian
Remove the .not("[nodeType=1]"). It's the anchor that is being wrapped, not 'John'. On Fri, Feb 20, 2009 at 9:11 AM, David wrote: > > According to the documentation, .contents() should "Find all the child > nodes inside the matched elements (including text nodes)". However, > in the example giv

[jQuery] Re: Event handling/propagation question

2009-02-20 Thread Frederik Ring
I think it should be also working just this way: $('#mydiv').css('cursor','pointer').click(function(){ $(this).addClass('selected'); }); No need to select all the contents "manually". On Feb 20, 5:16 pm, spaceage wrote: > OK, so you have to independently assign a handler to all descendant > el

[jQuery] Re: jQuery IE PopUp Issue

2009-02-20 Thread WhoButSB
Success!! After some searching regarding XML Parsing with IE I found out that IE never really parses the XML data to the page. I read this in : http://groups.google.com/group/jquery-en/browse_frm/thread/95718c9aab2c7483/af37adcb54b816c3?lnk=gst&q=parsexml#af37adcb54b816c3 I needed to include t

[jQuery] Re: Event handling/propagation question

2009-02-20 Thread spaceage
OK, so you have to independently assign a handler to all descendant elements in the ? Is there no better way via the parent div? On Feb 20, 8:07 am, Liam Potter wrote: > $(document).ready(function () { >     $("div.clickable_element p").click( function () { >        $(this).parents("div.clickab

[jQuery] Howto extend toggle plugin with cookies so toggle states will be remembered?

2009-02-20 Thread Bjorn Wijers
Hi, I’m using a toggle control plugin[1] made by Darren Oakley. However I would like to extend it using the Cookie plugin so that toggle states will be remembered and since its been awhile that I've been using jQuery I could use some help with this. I’m trying to find a nice way to extend the scr

[jQuery] Re: Event handling/propagation question

2009-02-20 Thread Liam Potter
$(document).ready(function () { $("div.clickable_element p").click( function () { $(this).parents("div.clickable_element").toggleClass("selected"); }); }); spaceage wrote: A question re: event handling/propagation: I have a surrounding and I want any click within the (including a

[jQuery] Event handling/propagation question

2009-02-20 Thread spaceage
A question re: event handling/propagation: I have a surrounding and I want any click within the (including a click on any element within the div) to toggle the addition/removal of a class on the . In this example, if the user clicks on one of the elements within the , my toggle doesn't work--

[jQuery] Re: Resizable and Draggable button

2009-02-20 Thread Raiko
Yes. I realized after I posted this here that there was a UI group. I didn't want to crosspost unless asked to do so. Thanks. On Feb 20, 7:49 am, "Richard D. Worth" wrote: > Can you post this to the jQuery UI list? > > http://groups.google.com/group/jquery-ui > > Also, please share what version

[jQuery] Re: jQuery IE PopUp Issue

2009-02-20 Thread WhoButSB
Narrowing it down further and further it looks like IE is not returning the eventID = $(this).find('eventID').text(); when it loops through the XML document. Because at the end if i manually enter in the variable eventname = "Steve's Event"; It will add it to the file no problem. More investiga

[jQuery] Re: autocomplete plugin with extraparams and onSelectItem

2009-02-20 Thread MorningZ
I'd guess judging by the options you list that you were looking at Jorn's plugin @ bassistance.de it does both extraParams and onSelectItem simultaneously On Feb 20, 10:08 am, flanders wrote: > Hello Group, > > i need an Autocomplete Plugin for jQuery. The Plugin have to handle > extraPara

[jQuery] Re: $.ajax on succes is not being executed???

2009-02-20 Thread 123gotoandplay
just examine my code again and i already have the return false; function handleNewsletter(){ $('.error').hide(); $(".knop").click(function() { // Your code here $('.error').hide();

[jQuery] Re: jQuery IE PopUp Issue

2009-02-20 Thread WhoButSB
So i'm getting a bit closer. It seems like the variables are not being returned in the success function to be used later on to be added to the DOM. Here is what my AJAX script looks like: var eventID, eventname, eventstarttime, eventendtime, guestestimate, status, firstname, lastname, contactID,

[jQuery] autocomplete plugin with extraparams and onSelectItem

2009-02-20 Thread flanders
Hello Group, i need an Autocomplete Plugin for jQuery. The Plugin have to handle extraParams and a "onSelectItem". i only found many plugins that can only handle extraParams OR onSelectItem! We have to build a Form like this: [country] [zip] [city] When coutry is selectet, the ajax have to give

[jQuery] (a)slideshow in IE

2009-02-20 Thread andrewpb
I'm trying to implement the jQuery (a)Slideshow plugin ( http://slideshow.hohli.com/ ) on a site; it works great in everything except IE; both IE7 and IE8 beta 2 don't show the slideshow at all; I can't figure out why; the demos for the plugin work in IE; I downloaded the source; it works in IE.

[jQuery] Re: $.ajax on succes is not being executed???

2009-02-20 Thread 123gotoandplay
tx for answering, thanks 2 for the "remove @" tip what do you mean with "You should probably return false from that click handler" i have the form just like this Strange thing is when i just have the form in a seperate file it works But i am including it with php and now the success part won

[jQuery] Re: JQuery Forms plugin, success callback fail

2009-02-20 Thread Mike
> I have this code: > >                 $("#loading") >                 .ajaxStart(function() >                 { >                         $(this).show(); >                 }) >                 .ajaxComplete(function() >                 { >                         $(this).hide(); >              

[jQuery] get reference to element for cookie storage

2009-02-20 Thread junk.mail...@gmail.com
I'm sure there's a simple answer to this buried somewhere in the jquery library, or in the jquery object returned by the selector... but I''m just not seeing it.:( I need to store a reference in a cookie to an element that was clicked. I know how to detect which element was clicked, and how to wr

[jQuery] Re: New plugin: simplyScroll

2009-02-20 Thread Daniel
Great. I'm working on it now, and I'd be happy to send you a link when it's done! Great choice of items to show in your example by the way :-) On Feb 19, 9:53 am, Will Kelly wrote: > Have added a new complex markup example > > http://logicbox.net/jquery/simplyscroll/custom.html > > On Feb 19, 1:

[jQuery] Re: BlockUI and cursor:wait in IE7

2009-02-20 Thread MorningZ
It's IE7 not looking to change the cursor until the mouse moves. not much you can do to avoid this minor annoyance On Feb 20, 9:12 am, Jeppson wrote: > I am having a problem with the wait cursor when using BlockUI. > > After unBlock is run I need to move the mouse before the mouse cursor > c

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-20 Thread Sjoland
Ok, first of all thank you everyone in the jQuery team, it's a fantastic tool!!! I did all the recommended changes in my methods and these are the results: Sample: $this.getProcessMenuItem = function(li) { var type = "processMenuItem"; var first = li.find('a:first'); var

[jQuery] Re: Using jQuery to Parse XML in AIR

2009-02-20 Thread ricardobeat
It seems you have a misunderstanding here. $(data).text() will get you the innerText/textContent of all the nodes in your XML, it's not converting the whole response back to text. Are you sending the response as 'text/xml' from the server? add complete: function(xhr){ console.log(xhr); } an

[jQuery] BlockUI and cursor:wait in IE7

2009-02-20 Thread Jeppson
I am having a problem with the wait cursor when using BlockUI. After unBlock is run I need to move the mouse before the mouse cursor changes to the "normal" cursor. There is no problem i FF. There the cursor is changed to the default as soon as the unBlock completes. Is this a known issue? I get

[jQuery] Re: ajax question

2009-02-20 Thread MorningZ
var MyData = {}; MyData[$a] = x; data: MyData And just to note, common practice shown in the jQuery library and plugins is that variables starting with "$" are ones that are jQuery objects. not that you *have* to do it, but it would make sense to follow what others are doing On Feb 20, 9

[jQuery] ajax question

2009-02-20 Thread David .Wu
if we want to transfer some variable to another page by ajax, we use data: {a: 1, b: 2} and it will send like xxx.php?a=1&b=2 but if a is not a constant variable, such as var $a = x data: {$a: 1} I want it become xxx.php?x=1 var $a = y data: {$a: 1} I want it become xxx.php?y=1 how to do that?

[jQuery] .contents() not meeting its contract?

2009-02-20 Thread David
According to the documentation, .contents() should "Find all the child nodes inside the matched elements (including text nodes)". However, in the example given there, when the jquery $("p").contents().not("[nodeType=1]").wrap("") is applied to the content Hello http://ejohn.org/";>John, h

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-20 Thread ricardobeat
It's the calls to $(li).find('li.News a') that make for most of the difference. Without that 1.3.1 is up to 20% faster. Apparently a simple descendant selector in 1.3 is terribly slower i.e. $(el).find('div a') if any s exist (even outside the context). Also '.someclass a' is faster than 'li.some

[jQuery] Re: Resizable and Draggable button

2009-02-20 Thread Richard D. Worth
Can you post this to the jQuery UI list? http://groups.google.com/group/jquery-ui Also, please share what versions of jQuery and jQuery UI you're using, and some code samples ( http://paste.pocoo.org/ or http://jsbin.com/ ) will help as well. Thanks. - Richard On Fri, Feb 20, 2009 at 12:30 AM,

[jQuery] Re: jQuery IE PopUp Issue

2009-02-20 Thread WhoButSB
I have been doing some more trouble shooting on this issue and I came across where my problem is coming from in IE. IE for some reason isn't letting me use the .html() method for injecting content into my popup notification. It works fine in all other browsers but these lines gives it trouble:

[jQuery] Re: adding tabs dynamically

2009-02-20 Thread Klaus Hartl
Why don't you put the desired label in the first place? $('#tabs').tabs('add', '#new', 'Label'); Other than that you could utilize the add callback: $('#tabs').tabs({ add: function(event, ui) { // add additional html to the tab $('span', ui.tab).html(...); } }); Or you

[jQuery] Re: Accessing initialized plugin options from public method (?)

2009-02-20 Thread akzhan
Use $(selector).data() functionality for automatic variables. Or move variable declaration up to function($), if this data are static. On 20 фев, 10:21, Tim wrote: > How do I access options that have already been initialized from a > public method? > example: > > jquery.plugin.js: > (function($

[jQuery] Re: How to pass variables between jQuery plugins?

2009-02-20 Thread Stephan Veigl
Hi Vic, I guess the problem is that get is an asynchronous function. So anArray exists outside of your get-callback function (since you use it as global variable) but the value is not set when the get function returns since your callback has not been executed yet. So whenever you access anArray y

[jQuery] Re: Superfish - Still Need Help - Vertical Menu

2009-02-20 Thread bellaluna316
Thank you. I turned it off and that fixed the Firefox issue. Will check IE8 tonite from home. I appreciate your help! I knew it was something dumb I was doing! :-) On Feb 16, 6:45 pm, Karl Swedberg wrote: > First thing to do is deal with the conflict between Mootools and   > jQuery. Firebug repo

[jQuery] Re: JQuery XML parsing is not working in IE?

2009-02-20 Thread akzhan
How to reproduce this problem? By the way, Json format is more attractive way for data exchange (Json included into core or additional modules of all known Web server platforms)... On 20 фев, 12:02, Samuel wrote: > Is there any solutions for this? I have a similar problem. > > I've added mimety

[jQuery] Re: jQuery Keyfilter Plugin

2009-02-20 Thread akzhan
Minor update - ilnks are brokes, so I try to write'em as plain links: Try out a demonstration at http://jquery-keyfilter.googlecode.com/svn/trunk/demo.html Download plugin at http://code.google.com/p/jquery-keyfilter/downloads/list I recommend to use it with jQuery Validate plugin to provide r

[jQuery] Re: Order Items. Please help me. Thank You.

2009-02-20 Thread shapper
Hi, I followed your tips but I still have a few problems. The subject is working fine but when I do the same to the levels it does not work. I think the problem, but I am not sure, is in: levels.each(function(){ levelCsv.push(this.value);//array to hold the levels }); I changed everythi

[jQuery] Re: jQuery messing with this?

2009-02-20 Thread akzhan
It's common practice to copy this variable to local self (var self = this). And it works fine. $("select.zmiana_daty_wysylki").each(function () { var self = this; /* do some stuff to select */ $('option', this).each(function () { /* operate on each option, and s

[jQuery] Re: Lower speed with 1.3.1 vs 1.2.6 with simple parsing

2009-02-20 Thread John Resig
A lot has changed with regard to the selector engine in 1.3.1 - it this case it looks like these type of selections didn't benefit. One thing that would change that, though, would be caching the selectors that you do run. Right now you run a couple of these over-and-over again. I'd probably rewrit

[jQuery] jQuery Keyfilter Plugin

2009-02-20 Thread akzhan
I glad to present jQuery Keyfilter Plugin. This plugin filters keyboard input by specified regular expression. * http://jquery-keyfilter.googlecode.com/svn/trunk/ demo.html/">Try out a demonstration. * http://code.google.com/p/jquery-keyfilter/downloads/ list">Download. This plugin also alread

[jQuery] Queuing jQuery animations

2009-02-20 Thread paul.mac
Hi, A newie to jQuery although I do have quiet a lot of JavaScript experience. I can't seem to grasp the queuing of animations in jQuery I have the following code $("#right").click(function(){ ... $("#tv2").animate({left: "+=110px"}, 1500).animate({left: "- =110px"}, 0); $("

[jQuery] JQuery changes the CSS

2009-02-20 Thread ebozze...@gmail.com
I'm using JQuery to display and hide some form input fields, but some of the CSS from the fields that are hidden does not display correct, JQuery is changing my font.

  1   2   >