[jQuery] Small Interface website update

2007-04-06 Thread stefan . petre
Hi guys, Long time no see. http://interface.eyecon.ro/dependencies useful to check dependencies . Starting next week I will have some free time again and me and Paul will continue working on Interface 2. I hope this month we will release it. Take care.

[jQuery] Re: Quick question about the .each() function

2007-04-06 Thread Yansky
Hi, thanks for the reply. I'm still a bit confused though. :) If $('.wordbreakfield') returns an array of jquery objects, then .each(function(){ applies a function to the raw DOM of each element, using $(this) accesses the jquery object rather than the raw DOM so we can use the text() function.

[jQuery] Re: is child of...

2007-04-06 Thread Stefan Petre
Lwis wrote: Hi, short version: how do I find out whether my element is a child of another element? long version: I think I want to loop through all elements and check each of them if it is the element I am searching for or not. I think I want something similar to YUI

[jQuery] Re: is child of...

2007-04-06 Thread Roman Weich
Lwis schrieb: Hi, short version: how do I find out whether my element is a child of another element? long version: I think I want to loop through all elements and check each of them if it is the element I am searching for or not. I think I want something similar to YUI

[jQuery] Re: Quick question about the .each() function

2007-04-06 Thread Kenneth
Your initial code block: $('.wordbreakfield').each(function(){ $(this).text(); }); ...doesn't do anything with the text(). You retrieve it but it's not used. On 4/6/07, Yansky [EMAIL PROTECTED] wrote: Hi, thanks for the reply. I'm still a bit confused though. :) If $('.wordbreakfield')

[jQuery] Re: jQuery Powered Sites - The List Continues to Grow

2007-04-06 Thread Kristinn Sigmundsson
http://www.haddock.ffs.gu.se uses jquery and a modified thickbox for the gallery, it also uses alot of jquery for administration but you wouldn't see that :P //Kristinn On 4/6/07, Nate Wienert [EMAIL PROTECTED] wrote: http://www.gamegum.com and http://www.toongum.com both use jQuery

[jQuery] Re: google group question

2007-04-06 Thread Kristinn Sigmundsson
It's interesting that google has made it harder to subscribe to groups when you don't use a gmail account. I for one couldn't survive without my gmail, and have no idea how I did before gmail. I got all my emails (school and personal) forwarded to gmail, then labeled and archived according to

[jQuery] Re: Small Interface website update

2007-04-06 Thread Priest, James \(NIH/NIEHS\) [C]
I take it there won't be anymore 1.x releases?? :) I submitted a bug for the highlight effect in IE - looks like I'll have to strip that out of my current project until 2.x is released. Thanks! Looking forward to v2! Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[jQuery] Re: Small Interface website update

2007-04-06 Thread Kristinn Sigmundsson
Looks great, got one suggestion, after it has shown the dependencies if I click the same file again I think that it should close. Now I have to click one of the files without dependencies to return to the menu. oh and I'm looking forward for Interface 2, you are doing a great job! //Kristinn

[jQuery] Re: Small Interface website update

2007-04-06 Thread Dan G. Switzer, II
Stephen, Long time no see. http://interface.eyecon.ro/dependencies useful to check dependencies . Great to see this information I was looking for this exact information last week. -Dan

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread Dan G. Switzer, II
Phutte, $.post('?php echo $submit_action_url; ?', { name:nickname, password:secretpswd, loginAttempt:TRUE77 }, function(data){ alert(Data Loaded: +

[jQuery] Changing hidden form value based on select

2007-04-06 Thread Opus
Hello all :) I have a form that I'm building in Drupal, that takes user input and crafts a support request email. I'm using a drop down box to list types of software that a client would need support with. I'd like to pull the result of the select and put it into a hidden text field so I can

[jQuery] Re: Overlib like funtionality with JQuery

2007-04-06 Thread Jörn Zaefferer
Brian Miller schrieb: This way, if I wanted to simply state what the content of a particular tooltip is with a static HTML string, I could do that. That makes sense to specify the text to display for external links. I'll try to find a nice solution for that. If you wanted to be really

[jQuery] Re: UNfocus() ?

2007-04-06 Thread Jörn Zaefferer
Kenneth schrieb: Excuse me while I talk to myselfit looks like I could just use .blur(fn)nothing to see here, move along ;) You don't even need that each call, focus does that for you. -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: xpath question

2007-04-06 Thread Jörn Zaefferer
Blair Mitchelmore schrieb: I heard John talking about adding in the /modules/module[1] syntax on the list a little while ago for jQuery 1.1.3 but that might have been pushed back to 1.2 Actually that is implemented in the latest revision. From what I understood, it isn't the same as :eq(n),

[jQuery] Re: Changing hidden form value based on select

2007-04-06 Thread Dan G. Switzer, II
Opus, I have a form that I'm building in Drupal, that takes user input and crafts a support request email. I'm using a drop down box to list types of software that a client would need support with. I'd like to pull the result of the select and put it into a hidden text field so I can tailor the

[jQuery] Re: Using hoever() to highlight TR, but not thead? Works in FF but not IE.

2007-04-06 Thread MichaL Sanger
What about add tbody tag around table rows that are not in thead and then make this selector: $('#myTable tbody tr') MichaL 2007/4/6, Andy Matthews [EMAIL PROTECTED]: I've got a table which looks like this: table id=myTable thead thName/th thPosition/th thSalary/th thSeniority/th

[jQuery] dragging from an iframe?

2007-04-06 Thread [EMAIL PROTECTED]
Hi, How would I go about dragging a DIV from an iframe on my page to the main page itself? If anyone has any examples of how this is done, I am most grateful. Thanks, - Dave

[jQuery] Re: UNfocus() ?

2007-04-06 Thread Jörn Zaefferer
Kenneth schrieb: I don't think I understand. The code I originally posted will indeed add the .focus class to the element(s), however once focus is lost the .focus class remains. I was only suggesting a small simplification of your code. $inputs.focus(function(){

[jQuery] Re: UNfocus() ?

2007-04-06 Thread Kenneth
On 4/6/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: I was only suggesting a small simplification of your code. Ok, I gotcha now. Thanks Jörn!

[jQuery] Re: Stop pending AJAX processes?

2007-04-06 Thread Kristinn Sigmundsson
I think I've seen something like this for stopping ajax calls: var ajaxcall = $.ajax() ajaxcall.abort(); As I said, I _think_ I've seen it, could be worth testing if it works. As for calling all the ajax calls, maybe a .each() might do the work? and btw, I noticed that you are making the

[jQuery] Re: ***DHSPAM*** [jQuery] Re: is child of...

2007-04-06 Thread Karl Swedberg
On Apr 6, 2007, at 8:53 AM, bmckenzie wrote: $(#someParent).children().index(someElement) != -1 ; Cool, Bruce! you could also come at it from the other direction: if ( $('#someChild').parent('someElement').length ) { //do something }; --Karl _ Karl Swedberg

[jQuery] toggle radio sets with a checkbox

2007-04-06 Thread phpLord
Hi; I have been trying to enable/disable 4 group of radio sets by checking and unchecking a checkbox. My function is like below, what's wrong with that, or any suggestions for this? var points=new Array(creativity,composition,aesthetic,technic); for (j in points ) {

[jQuery] Re: jQuery post with blockUI-plugin, no refresh...

2007-04-06 Thread phutte
Thanks Dan and Kristinn, happy coding. $.post acts like ajax? $.ajax the same way like $.post, but for XML? I only want to post it, and i thought i could have the message 'Remote call in progress...', only cause it looks nice. But OK, i have to settle for submitting not through jQuery. This was

[jQuery] Re: dragging from an iframe?

2007-04-06 Thread Jeffrey Kretz
You are going to have problems with Internet Explorer on this one. There are security issues with creating an element under one context and moving it to another one. Prior to 1.1.3, the following code would fail in IE: $('divHello world/div').appendTo(iframe.contentWindow.document.body); This

[jQuery] Re: toggle radio sets with a checkbox

2007-04-06 Thread Glen Lipka
On 4/6/07, phpLord [EMAIL PROTECTED] wrote: Hi; I have been trying to enable/disable 4 group of radio sets by checking and unchecking a checkbox. As a general rule of thumb, if you have a for loop, then you probably could find those things with a selector. Like $([EMAIL PROTECTED],[EMAIL

[jQuery] Permission denied to call method XMLHttpRequest.open

2007-04-06 Thread SnapShot
The exception 'Permission denied to call method XMLHttpRequest.open' apparently gets thrown if you attempt to load content from JavaScript from another domain. Is this correct? I'm trying to write a simple script to load an RSS feed to display on my web site. What I thought would be a 5 minute

[jQuery] Re: ANNOUNCE: New jQuery Book Available for Pre-Order!!

2007-04-06 Thread Aaron Heimlich
Sweet! Do you know if there's gonna be an eBook version available? On 4/6/07, Rey Bango [EMAIL PROTECTED] wrote: I'm VERY proud to announce that the first jQuery book, Learning jQuery, is now available for pre-order! jQuery Project Team member Karl Swedberg Jonathan Chaffer have produced a

[jQuery] table paging and sorting together

2007-04-06 Thread Paul
I'm using this table sorter plugin: http://motherrussia.polyester.se/docs/tablesorter/. I'm curious how you all handle paged tabular data that also needs to be sortable. I would typically rely on ajax to retrieve next 25 / previous 25 rows, but if the user can sort any column they want they

[jQuery] Re: jquery form plugin

2007-04-06 Thread Buzzterrier
Hi Mike, Still new to all of this, but I used this: $('#myAnchor').click(function() { ('#myForm').submit(); }); With the thought that the anchor would now fire the form's submit event, which should be no different than a submit button. This seems to work fine, but I am not an expert. On

[jQuery] Re: checking for multiple selects with the same value

2007-04-06 Thread RwL
Thanks, Roman, this seems to do exactly what I need it to -- that's twice in two days you've saved me from banging my head against a wall. :) On Apr 6, 1:29 pm, Roman Weich [EMAIL PROTECTED] wrote: RwL schrieb: I'd like to extend this simple function but don't know what to do next:

[jQuery] Re: checking for multiple selects with the same value

2007-04-06 Thread Roman Weich
RwL schrieb: maybe something like this: $('select').change(function(){ if ( $('[EMAIL PROTECTED]' + this.value + ']').not(this).length ) { $('.formTip').show(); } else { $('.formTip').hide(); } }); Just to

[jQuery] Re: I'm going nutz...

2007-04-06 Thread Glen Lipka
On 4/6/07, Smith, Allex [EMAIL PROTECTED] wrote: div id=mytestTest/div $('#mytest').attr({style:width:200px;}); returns div id=mytest style=width: 200px;Test/div in FF2 DIV id=mytestTest/DIV in IE6 I must be going mad. Any suggestions as to where I might be going wrong? or if you

[jQuery] Re: I'm going nutz...

2007-04-06 Thread Steve Blades
I thought it was $('#mytest').css({width:200px}); to set a style attribute? -- Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com --- The Past is a Memory The Future a Dream

[jQuery] Re: checking for multiple selects with the same value

2007-04-06 Thread Roman Weich
Roman Weich schrieb: RwL schrieb: maybe something like this: $('select').change(function(){ if ( $('[EMAIL PROTECTED]' + this.value + ']').not(this).length ) { $('.formTip').show(); } else { $('.formTip').hide();

[jQuery] Re: I'm going nutz...

2007-04-06 Thread Glen Lipka
On 4/6/07, Steve Blades [EMAIL PROTECTED] wrote: I thought it was $('#mytest').css({width:200px}); to set a style attribute? The curly braces depend on if you want to set an array or a single one. Check in www.jquery.com/api under CSS. Its got a bunch of good examples. Glen

[jQuery] Re: Getting all labels

2007-04-06 Thread Roman Weich
Buzzterrier schrieb: I want to get all labels in a form, and then access their for attribute to link it to the field. I thought that $(label) would give me an array of all label elements that I could loop through and get the for value. But this does not work and I know I am missing something

[jQuery] Re: I'm going nutz...

2007-04-06 Thread Andy Matthews
Are you talking about viewing source in IE vs FF? Because if you perform an action with jQuery, then view source in IE, you'll NEVER see the changes in the code. However, using the View Generated Source option in FF's developer toolbar allows you to see changes made using javascript. Or are you

[jQuery] Re: Getting all labels

2007-04-06 Thread Andy Matthews
Maybe Var myArr = []; $('label').each( myArr.push($(this).attr('for')); ); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Buzzterrier Sent: Friday, April 06, 2007 2:13 PM To: jQuery (English) Subject: [jQuery] Getting all labels I

[jQuery] Re: Getting all labels

2007-04-06 Thread Andy Matthews
Make that: $(document).ready( function() { var myArr = []; alert(myArr); $('label').each( function() { myArr.push($(this).attr('for')); }); alert(myArr); }); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] Re: Permission denied to call method XMLHttpRequest.open

2007-04-06 Thread Ⓙⓐⓚⓔ
#!/usr/bin/perl use LWP::UserAgent; use CGI; $ua = LWP::UserAgent-new; $ua-agent(NuBrowser/10.7 ); $res = $ua-request(HTTP::Request-new(GET = $ENV{QUERY_STRING}; $q = CGI-new; print $q-header($res-headers-{'Content-Type'}),$res-content; does it for me! real simple, classic perl cgi, and now I

[jQuery] help with resetting a slider (Interface plugin)

2007-04-06 Thread [EMAIL PROTECTED]
I'm working on a page that uses the Slider from interface.eyecon.ro. Works perfectly the first time Slider is initialized. However, re-initializing the slider *without a page load* is problematic. Here's what I'm currently using (it works): // get rid of any existing indicators and

[jQuery] Re: I'm going nutz...

2007-04-06 Thread Smith, Allex
Sorry... fat fingered your name Glen. Allex -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Smith, Allex Sent: Friday, April 06, 2007 12:19 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: I'm

[jQuery] Re: Bizarre IE Troubles

2007-04-06 Thread Alex Ezell
I got rid of the password hoping someone might be able to help. I'm thinking maybe it's some conflict between Google Maps and jQuery, but because of the IE weirdness, I can't even see the page to see if there is an error. Thanks! /alex On Apr 4, 2:11 pm, Alex Ezell [EMAIL PROTECTED] wrote:

[jQuery] Re: Body Browser Classes

2007-04-06 Thread d . wachss
On Apr 4, 10:48 pm, Glen Lipka [EMAIL PROTECTED] wrote: Feedback desired: !-- Old Internet Explorer -- Lately, I have been developing CSS and HTML for a deep Web 2.0 complex app. Usually, I avoid CSS hacks like the plague. But recently, I have had to resort to the Holly Hack or the

[jQuery] Re: Stop pending AJAX processes?

2007-04-06 Thread Kristinn Sigmundsson
hmm how about then making a single ajaxcall when opening a accordation menu and splitting the returning result (using xml, json or whatever) and then put it on the right place? That would make the request quite few and still make the initial page load fast. //Kristinn On 4/6/07, Andy Matthews

[jQuery] Re: Stop pending AJAX processes?

2007-04-06 Thread Andy Matthews
Hrm...not a bad idea. I'll look into that. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kristinn Sigmundsson Sent: Friday, April 06, 2007 4:24 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Stop pending AJAX processes? hmm how about then making a

[jQuery] Re: I'm going nutz...

2007-04-06 Thread Smith, Allex
Thanks, I don't know why I tried to switch and use attr(). Previously I had been using css() Everything is perfect now. Allex -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, April 06, 2007 2:56 PM To: jQuery

[jQuery] inserting a DIV in alphabetical order

2007-04-06 Thread [EMAIL PROTECTED]
Hi, I have a DIV (id = classList) witih many smaller DIVs, each of class student. The smaller DIV only contains text. If I want to add a new student DIV to the list, but add it in alphabetical order, is there a simple, tried and true jQuery way of doing this? Thanks, - Dave

[jQuery] Re: Body Browser Classes

2007-04-06 Thread Glen Lipka
!--[if lt IE 7] link rel=stylesheet href=ie.css type=text/css ![endif]-- I think the alternative is for people who want to keep their classes together even if some of them are browser specific. For example, in the app I am working on the CSS is enormous. (dont ask) And the whole thing

[jQuery] Re: TableSorter issues: special characters, mixed data

2007-04-06 Thread Christian Bach
I checked in a new version that takes care of all the problems. I based my test case on your example, located here: http://lovepeacenukes.com/jquery/tests/tablesorter-mixed-data-types.html /christian 2007/4/6, Kim Johnson [EMAIL PROTECTED]: Err... I take that back. -the only way for the

[jQuery] Re: inserting a DIV in alphabetical order

2007-04-06 Thread Glen Lipka
Sounds hard. Have you seen this? Looks like a sort plugin. http://dev.jquery.com/browser/jquery/sort/sort.js?rev=1 Maybe append and then immediately sort? Glen On 4/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a DIV (id = classList) witih many smaller DIVs, each of class

[jQuery] Re: IE XML parsing problem

2007-04-06 Thread Diego A.
I've been fighting with this bug too and I believe I've found the fix. I can't be 100% sure, but I believe the problem was in the jquery.metaData plugin. The fix has worked for me and 2 other people so far... Here is the fix I posted on my blog, hope it helps. And if it does work for you, then

[jQuery] IE XML Bug

2007-04-06 Thread Diego A.
Has anyone else had problems fetching elements on a XML document in IE? Anyone solved it? -- View this message in context: http://www.nabble.com/IE-XML-Bug-tf3525509s15494.html#a9835861 Sent from the jQuery Developers mailing list archive at Nabble.com.

[jQuery] Unique parameter in Ajax

2007-04-06 Thread Diego A.
I'd like to add a unique parameter to every ajax call jquery makes. I need this to happen on get and post commands (ie.: form submits too). Does anyone have an idea of how to do this? -- View this message in context: http://www.nabble.com/Unique-parameter-in-Ajax-tf3440508s15494.html#a9593357

[jQuery] Re: Unique parameter in Ajax

2007-04-06 Thread Mike Alsup
Ariel and Jörn posted some good ideas on this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/5ec973dd2ca45738/3794cc7ced0f3ee0#3794cc7ced0f3ee0 I'd like to add a unique parameter to every ajax call jquery makes. I need this to happen on get and post commands (ie.: form

[jQuery] Re: Unique parameter in Ajax

2007-04-06 Thread Mike Alsup
I did! Thanks, Klaus. :-) I think you meant: http://groups.google.com/group/jquery-en/browse_thread/thread/68592545316c1e4a/3dcffd978d8d77d5#3dcffd978d8d77d5 ;-)

[jQuery] Re: Unique parameter in Ajax

2007-04-06 Thread Diego A.
Thanks for the quick response guys. This message had been pending for a few days and I've since managed to work around the problem, but I think this might be a bug. By doing this... $.ajaxSetup({ global:true, data:{'ajax':'y'} }); ... jQuery should: 1. add 'ajax = y' to the data submitted when

[jQuery] Re: Unique parameter in Ajax

2007-04-06 Thread Ariel Jakobovits
Just curious, what changes about the server's behavior when the x-Method is specified as Ajax? - Original Message From: Diego A. [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Friday, April 6, 2007 5:48:20 PM Subject: [jQuery] Re: Unique parameter in Ajax Thanks for the

[jQuery] Re: inserting a DIV in alphabetical order

2007-04-06 Thread Giant Jam Sandwich
JavaScript arrays support a simple sort() method for this task. This will give you a lexicographically (dictionary) sort from A-Z. $(function(){ arrStudents = new Array(); $(.student).each(function(i){ arrStudents[i] = $(this).text(); }); arrStudents = arrStudents.sort();

[jQuery] Traversing the dom selecting ever other dom

2007-04-06 Thread Tom Shafer
I was wondering how I can traverse through the dom and start at a div and then select every other div until i want it to stop so that I may add a class to it. Any Ideas? Thanks Tom

[jQuery] Re: Traversing the dom selecting ever other dom

2007-04-06 Thread Jeffrey Kretz
D'oh. I shoulda known that :-/ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: Friday, April 06, 2007 7:34 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Traversing the dom selecting ever other dom This should do it: