[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-16 Thread Emil Ivanov
Hi dgt, I think the problem is the following: ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does NOT support file uploading, so the way to send a file (image or whatever) is to use an iframe. You can manipulate the iframe with javascript by copying the input type=file/

[jQuery] help with safari bug / empty and select

2007-10-16 Thread Daniel Rossi
Hi this wont empty the layer after a video plugin is inserted into the layer using jquery.media $(document).livequery(function(){ $(this) .ready(function() { $('.changeBitrate').change(function(event) { $('#media').empty(); $('#media').media(attrs); });

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-16 Thread Giovanni Battista Lenoci
Emil Ivanov ha scritto: Hi dgt, I think the problem is the following: ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does NOT support file uploading, so the way to send a file (image or whatever) is to use an iframe. You can manipulate the iframe with javascript by copying

[jQuery] questions about jeditable plugin

2007-10-16 Thread [EMAIL PROTECTED]
1. How to style the input or textarea? specially for the height. 2. How to add validate to prevent submit wrong content?

[jQuery] Re: Beginner problem: Link is not working (JQuery Cycle Plugin)

2007-10-16 Thread tlob
Mike: That is exactly, whats happening. Can you explain me, why the anchor is prevented by the toggle function? It's basic stuff I dont get, right? How can I solve it? I want to keep the toggle and the anchor. Dont give me to code, I am eager to lern. Just put my in the right direction. Thanks a

[jQuery] Event binding doubt

2007-10-16 Thread Giovanni Battista Lenoci
Hi, I have a doubt about the right way to perform an event binding. In a page a I have a select with id #cat1 and class=myselect. During the use of the page depending on the element selected on cat1 a do an ajax call, that get a list of elements and generate a select that has

[jQuery] Re: questions about jeditable plugin

2007-10-16 Thread Sam Sherlock
1. How to style the input or textarea? specially for the height. $('input.txtBox, textarea.txtBox').*css*(line-height, 15pt); http://docs.jquery.com/CSS/css#namevalue 2. How to add validate to prevent submit wrong content? theres some plugins available which look likely to help you

[jQuery] Re: questions about jeditable plugin

2007-10-16 Thread Mika Tuupola
On Oct 16, 2007, at 12:54 PM, [EMAIL PROTECTED] wrote: 1. How to style the input or textarea? specially for the height. Normally using css, or * @param Integer options[rows] number of rows if using textarea * @param Integer options[cols] number of columns if using textarea or

[jQuery] Re: Beginner problem: Link is not working (JQuery Cycle Plugin)

2007-10-16 Thread Tobias Parent
First off, your links HREF attribute points to a non-existent in-page anchor point. Secondly, you could simply access the href attribute of the clicked link via $this-href() and flow that into the content area you want. Good luck! -Toby tlob wrote: Mike: That is exactly, whats happening.

[jQuery] Re: Beginner problem: Link is not working (JQuery Cycle Plugin)

2007-10-16 Thread Mike Alsup
Tom, The toggle fn prevents the default action because it executes this line: e.preventDefault(); I'm not exactly sure why it does that, but it does. :-) You may want to implement your own toggle function that does what you need. Mike On 10/16/07, tlob [EMAIL PROTECTED] wrote: Mike:

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-16 Thread Mike Alsup
@Email: The form plugin handles file uploads just fine (using an IFrame). @dgt: Can you post a simplified sample page? ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does NOT support file uploading, so the way to send a file (image or whatever) is to use an iframe.

[jQuery] Writing a plugin - tips needed

2007-10-16 Thread sgrover
I'm working on a jQuery plugin, which is primarily a series of utility functions. I need to worry about namespace problems, so I have opted for the option to add an object to the base jQuery object. i.e. jQuery.myObj = { . . . }; What I'm not clear on is if this is the best approach. Thus

[jQuery] Re: draggable and droppable tabs

2007-10-16 Thread Klaus Hartl
On 15 Okt., 16:35, scottnath [EMAIL PROTECTED] wrote: I am trying to create draggable/droppable tabs. I've got it partly built, but I'd love some community input on this. A working model can be seen here: http://scottnath.com/tabs/draggable_tabs.html Below I will paste the jquery code I'm

[jQuery] Script Question: Toggle between 6 Pictures

2007-10-16 Thread breastfed
Hello! I have a question ref. to a Toggler to switch between 6 (fix) Pictures without reloading the Page. There are two kinds of images. A big one and a thumbnail wich has alsways the prefix save_. Now i have 6 thumbnails and 1 big image in a certain div. When i click on the thumbnail 1,2

[jQuery] Re: liScroll Plugin

2007-10-16 Thread George GSGD
Hi GC, It's not working properly for me (XP FF 2.0.0.7). The scrolling isn't smooth, it scrolls a bit and then stops and then scrolls again. I'm guessing it's because you're animating in sections and they're not quite joining up. It's a tricky thing to animate (I've done similar things

[jQuery] Queueing and Dequeueing AJAX calls

2007-10-16 Thread Michael Heilemann
I want to create a queue of ajax calls to be triggered at a certain point. But I want to also be able to dequeue calls, so that the user can 'undo' his decisions. I seem to think, for some reason, that there is some mechanic like this in jQuery already; but I'm not sure how it works or where

[jQuery] Get the value of a radio button ?

2007-10-16 Thread debussy007
Hello, I have a radio button like this one: input type=radio name=othersTransLink value=familiale class=radionbsp;Lien familiale input type=radio name=othersTransLink value=étroit class=radionbsp;Lien étroit input type=radio name=othersTransLink value=Intérêt direct ou indirect

[jQuery] Why is this example duplicating my content?

2007-10-16 Thread Chris - Implied By Design
Hello, I made a recent post asking how to wrap a table around content. I have a working example, however, if I have more than one member of the 'class' on the same page, jQuery is merging the content of the two in the following fashion: BEFORE: img class=wrap-table src=test.jpg img

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread Andy Matthews
Superfish? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, October 15, 2007 5:13 PM To: jQuery (English) Subject: [jQuery] creating drop down menus with JQuery? Hi, Is there a plug-in that allows for menu

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread Mike Alsup
One option would be to use the form plugin: var value = $('[name=othersTransLInk]').fieldValue(); This will return the value of the selected radio. Mike I have a radio button like this one: input type=radio name=othersTransLink value=familiale class=radionbsp;Lien familiale input

[jQuery] Re: Why is this example duplicating my content?

2007-10-16 Thread Karl Swedberg
Hi Chris, It's hard to tell without seeing the rest of the markup, but I'm guessing you have more than one element with class=photoframe. If that is the case, you could change this ... var photo = $('.photoframe'); to this ... var photo = $('.photoframe:first'); That way it'll insert a

[jQuery] Re: jqDnR - jQuery 1.2 and Dimensions problem

2007-10-16 Thread tlphipps
Brandon, I noticed you had updated a few things with the offsets in SVN, so I tried out the most recent version (3581), but this issue with jqDnR still persists. Have you had a chance to look into this and see if it is indeed a dimensions issue? On Sep 20, 5:42 pm, Brandon Aaron [EMAIL

[jQuery] Tablesorter - sort callback or sort based on external options...

2007-10-16 Thread Dmitrii 'Mamut' Dimandt
I have a table with a single column whose cells contain complex markup. Let's say this markup contains a name and a price: div span class=item-nameName/span span class=item-price70/span /div I have external links that let you sort on name or price: var

[jQuery] Re: liScroll Plugin

2007-10-16 Thread GianCarlo Mingati
Hi George, is there a 'tutorial' on makin' custom animation function? Anyway, the aim was to built a scrolling newsticker the easy way (the lazy way) ;-) I'll work on that. Thanks GC On Oct 16, 10:34 am, George GSGD [EMAIL PROTECTED] wrote: Hi GC, It's not working properly for me (XP FF

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread debussy007
I integrated the form plugin. I tried the following : $('[name=othersTransLink]').fieldValue() But it return me an empty string. I do not have to specify the form or something ? Something is missing. malsup wrote: One option would be to use the form plugin: var value =

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread Karl Swedberg
You could also get the value without the Form plugin with this: $('input[name=othersTransLink]:checked').val() --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 16, 2007, at 10:32 AM, debussy007 wrote: I integrated the form plugin. I

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread debussy007
Thank you both of you !!! :-)) Dan G. Switzer, II wrote: I integrated the form plugin. I tried the following : $('[name=othersTransLink]').fieldValue() But it return me an empty string. I do not have to specify the form or something ? Something is missing. If you're using a

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread debussy007
The solution with the Form plugin works now, but I tried without the form plugin with your code but it returns null Karl Swedberg-2 wrote: You could also get the value without the Form plugin with this: $('input[name=othersTransLink]:checked').val() --Karl _

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread debussy007
Oh ok, for some reason I have to add @ before name, because I use a version below 1.2. Thank you ! debussy007 wrote: The solution with the Form plugin works now, but I tried without the form plugin with your code but it returns null Karl Swedberg-2 wrote: You could also get the

[jQuery] jqModal Opacity Issue (IE7)

2007-10-16 Thread zibings
I've been toying with this for a bit. I'm using the latest version of the jqModal plugin (r11) and having the opacity issue that's appeared on this list before with IE6/7. I've moved the dialog div so that it is a direct child of the body tag, and I've even gone through and added some extra

[jQuery] Re: Why is this example duplicating my content?

2007-10-16 Thread Chris - Implied By Design
It's hard to tell without seeing the rest of the markup, but I'm guessing you have more than one element with class=photoframe. Exactly. The function builds a table around each element with the class 'photoframe'. If that is the case, you could change this ... var photo = $('.photoframe');

[jQuery] Re: two subscriptions to the same group

2007-10-16 Thread Pyrolupus
If both email addresses are attached to the same GGroups login, you could try unsubscribing and then resubscribing with just the one. Alternately, set a GMail filter to trash the messages sent to one of your addresses. Pyro On Oct 15, 6:50 pm, rsmolkin [EMAIL PROTECTED] wrote: Hi All, This

[jQuery] Can't understand a Jquery statement

2007-10-16 Thread charliend
Hello all, I'm beginning working on a project which has been writing using Jquery (I'm novice) and I really can't understand that line: $($(virtual-sensor,data).get(i)).attr(name); Can you traduce it to me? Thank you Charlie

[jQuery] Re: draggable and droppable tabs

2007-10-16 Thread scottnath
I am trying to move tabs from one unordered list (set of tabs) to another, correct. On Oct 16, 1:30 am, Klaus Hartl [EMAIL PROTECTED] wrote: On 15 Okt., 16:35, scottnath [EMAIL PROTECTED] wrote: I am trying to create draggable/droppable tabs. I've got it partly built, but I'd love some

[jQuery] Re: jquery 1.2 and rails

2007-10-16 Thread Tim W
The problem is that 1.2 does not send the xhr header if the call is made with a full http:// uri. If you just use the pathname it works fine. Took me a few hours of playing to figure this one out. Guess its a cross site security fix. On Oct 11, 4:30 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread Pyrolupus
You could also use the :checked selector: $('input[name=othersTransLink]:checked').val() Pyro On Oct 16, 10:11 am, Mike Alsup [EMAIL PROTECTED] wrote: One option would be to use the form plugin: var value = $('[name=othersTransLInk]').fieldValue(); This will return the value of the

[jQuery] Newbie - works once in IE6 but not twice

2007-10-16 Thread chrisandy
HI all, Very new to all this so I'm afraid this will be a very general question. I can call an action once and it works fine but when I hit the same link again all I get is my 'waiting' screen. This only happens in IE6. Using clueTip demo as a base for what I'm doing. Any ideas would be

[jQuery] Re: Writing a plugin - tips needed

2007-10-16 Thread George GSGD
From what I understand, jQuery.fn objects are for functions that add capabilites to a jQuery instance: jQuery.fn.myFunction = function() { ... } Would then allow you to do $('.myItem').myFunction(); There are some things you should ensure when using this approach (returning a jquery object for

[jQuery] Add row and refresh tablesorter with pager.

2007-10-16 Thread FreeFallFred
Hi, First, thanks for the great jquery API and the tablesorter/pager plugin. They are really easy to use. I've had a need recently to dynamically add row and refresh the table. For now, I don't really care about refreshing the page at the page where the new row will be added, I just want the

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
I suggest you change Oliver's check to see if ANY of the panels are animating. if ($this.parent().siblings().children().filter(':animated').length == 0) { I think that will give similar functionality to the original. Not that it is ideal since in the mootools version you can move over a panel

[jQuery] Problems with IE - X

2007-10-16 Thread [EMAIL PROTECTED]
Hi!!! I have a little problem with the animate in IE - 6 and IE -7... I have a conteiner (inside of this conteiner I have some links) who will be animated in onclick event. In FF it works fine, but on IEs, the text inside didn't animate. Anyone have a clue or a cheat to resolve this problem?

[jQuery] Re: Can't understand a Jquery statement

2007-10-16 Thread Andy Matthews
// creates a new, empty jQueru object $( // create a new jQuery object using virtual-sensor // as the selector, with 'data' as the context // and it returns the ith record in that query into // an array. $(virtual-sensor,data).get(i) // this gets all

[jQuery] Re: jqGrid new version

2007-10-16 Thread Tony
Jiming, I have updated the plugin so that in multi select mode we can use SHIFT or CTRL or ALT keys. It will be available in the final release Tony On 9 Окт, 05:02, Jiming [EMAIL PROTECTED] wrote: Hi Tony, Great job, thanks! May I suggest that in multiselect, support SHIFT and CTRL, just

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread Karl Swedberg
Hi David, I tried something like that earlier, but if I land on a tab that I want opened while another tab is animated, I'll have to move out and then back over the tab for it to trigger. I still believe that there is some magic in those other methods (queue, etc.), but I haven't found

[jQuery] Re: jqGrid new version

2007-10-16 Thread Jack Killpatrick
Nice work, Tony! While looking at the demos I also noticed the dynamic tabs. Looking at the source, it looks like that might be a project of yours, too. Is there any documentation on that? List of known issues, maybe? Thanks, Jack Tony wrote: I have released a new version of jqGrid. Demo

[jQuery] Re: Can't understand a Jquery statement

2007-10-16 Thread Karl Swedberg
On Oct 16, 2007, at 12:24 PM, Andy Matthews wrote: // creates a new, empty jQueru object $( // create a new jQuery object using virtual-sensor // as the selector, with 'data' as the context // and it returns the ith record in that query into // an array.

[jQuery] Re: jqGrid new version

2007-10-16 Thread David
Tony , in the future it's possible support cell editing.? On Oct 16, 7:28 pm, Tony [EMAIL PROTECTED] wrote: David, Sorry, jqGrid does not support cell editing. On 13 Окт, 20:20, David [EMAIL PROTECTED] wrote: Tony it's possible update one cell (that input text or combo select) from

[jQuery] Re: jqGrid new version

2007-10-16 Thread Rey Bango
Tony, If columns can have classes applied to them, then you can allow cell editing by using jEditable and LiveQuery. The syntax would be real easy as well: $(.editable).livequery(function() { // Inplace Editing... $( this

[jQuery] advanced selector question

2007-10-16 Thread tpneumat
Hi, I am trying to implement ifixpng for all elements that have a .png as the background image. Is there a way to grab these (and only these) with one nicely written selector? Thanks, Jeremy

[jQuery] Re: advanced selector question

2007-10-16 Thread tpneumat
Was thinking something like this...which of course dosn't work. $(*[style.background-image*='.png']).ifixpng(); On Oct 16, 12:46 pm, tpneumat [EMAIL PROTECTED] wrote: Hi, I am trying to implement ifixpng for all elements that have a .png as the background image. Is there a way to grab these

[jQuery] Re: jqGrid new version

2007-10-16 Thread Tony
Rey, Thank you very much for the suggestion. I will try this. Right now I'm very busy with a finishing a jqGrid 3 plugin. With success I add another feature hide and show column. After this release I will add (if possible) editing cell. Regards On 16 Окт, 20:30, Rey Bango [EMAIL PROTECTED] wrote:

[jQuery] Re: jqGrid new version

2007-10-16 Thread Tony
Jack, Yes this is my plugin that I never published and use in my project. I do not have published this plugin because there are nice other - Tabs plugin (from Klaus) and idTabs (from Sean) Instead if you are interest I will make some documentation and publish it. Regards On 16 Окт, 19:47, Jack

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread [EMAIL PROTECTED]
Hey Chris, Thanks for this recommendation. One thing I'm noticing when playing with this is that when I roll over the item that is supposed to trigger the appearance of the drop down menu, there is a one second delay getting the menu to appear. Is this a setting somewhere that can be adjusted?

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread Jonathan Sharp
$('ul.jd_menu').jdMenu({ activateDelay: 100 }); Should work, here are the other options: showDelay: 150 hideDelay: 550 Sorry there isn't any documentation yet. -js On 10/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey Chris, Thanks for this recommendation. One thing I'm noticing

[jQuery] Re: Hover delay possible without additional plugin?

2007-10-16 Thread Glen Lipka
The hoverIntent plugin is really small. You could put it in your own JS. http://cherne.net/brian/resources/jquery.hoverIntent.js (4k) http://cherne.net/brian/resources/jquery.hoverIntent.minified.js (1.5k) Any solution would pretty much be doing the same thing. Glen On 10/16/07, c.s. [EMAIL

[jQuery] Re: Script Question: Toggle between 6 Pictures

2007-10-16 Thread Glen Lipka
Can you post a sample page that helps describe what you are looking for? Maybe even mock it up so when you click on something it alert(and now it should) something like that. Glen On 10/16/07, breastfed [EMAIL PROTECTED] wrote: Hello! I have a question ref. to a Toggler to switch

[jQuery] Re: Newbie - works once in IE6 but not twice

2007-10-16 Thread Glen Lipka
Maybe post the page so we can take a look. It might be impossible to troubleshoot without it. Glen On 10/16/07, chrisandy [EMAIL PROTECTED] wrote: HI all, Very new to all this so I'm afraid this will be a very general question. I can call an action once and it works fine but when I hit

[jQuery] Re: Event binding doubt

2007-10-16 Thread Glen Lipka
I think you need the jQueryLive plugin. it allows you to bind events regardless of when they enter the dom. I wish there was a way to see the events that are attached, like in Firebug. Someone else might have a solution for that. Glen On 10/16/07, Giovanni Battista Lenoci [EMAIL PROTECTED]

[jQuery] jqDynTabs (was Re: [jQuery] Re: jqGrid new version)

2007-10-16 Thread Jack Killpatrick
Hi Tony, I am interested, for a few reasons: 1. I like the way tabs can be added/removed dynamically 2. It looks like the code does not require jquery 1.2. I have a bunch of sites that I won't be migrating to 1.2 soon, but that I'd like to add some nice tabbing to. FWIW, I've found idTabs

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread [EMAIL PROTECTED]
Thanks for this info. Worked great. One more small question. To trigger the appearance of a drop-down menu, I have an image of an arrow img src=images/menu_arrow.JPG alt= border=0 align=middle height=16 width=16 / but when the user rolls over the image, I'd like the source of the image to

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread Jonathan Sharp
I think this is less of a jdMenu specific thing but you could do something like the following: Assuming: ul class=jd_menu liText img src=images/menu_arrow.JPG alt= border=0 align=middle height=16 width=16 //li.../ul $('ul.jd_menu li').hover(function() { $(' img', this).attr('src',

[jQuery] Re: creating drop down menus with JQuery?

2007-10-16 Thread [EMAIL PROTECTED]
Beautiful. This may also be a non-jdMenu question but I'll throw this out there. I want my drop-down menu to appear right beneath the arrow image, whereever the arrow may be positioned on the screen. But when I insert the relative style in the UL tag: ul class=jd_menu

[jQuery] [NEWS] Humanized Messages

2007-10-16 Thread Jeferson Koslowski
Found a new jquery plugin: http://binarybonsai.com/archives/2007/10/15/humanized-messages-for-jquery/ From the authors blog: (...) It's simply a large and translucent message that's displayed over the contents of your screen. (...)

[jQuery] [NEWS] New site BestPartyEver.com

2007-10-16 Thread Rey Bango
Found it while surfing: http://bestpartyever.com/ Rey

[jQuery] Re: advanced selector question

2007-10-16 Thread Wizzud
Using a filter is the only thing I could think of... $('*').filter(function(){ return /\.png/.test($ (this).css('backgroundImage')); }).ifix.png(); Refining the initial selector it would help. On Oct 16, 7:29 pm, tpneumat [EMAIL PROTECTED] wrote: Was thinking something like this...which of

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread Olivier Percebois-Garve
What if instead of stopping the function when it does not pass the check, we add a else statement that calls back the function using a small timeout ? I think that this would prevent the case you describe.(that I noticed also on my own script) -Olivier Karl Swedberg wrote: Hi David, I tried

[jQuery] Re: questions about jeditable plugin

2007-10-16 Thread [EMAIL PROTECTED]
Sorry, I described before incomplete 1, When using jeditable plugin, how to style the activated input field or textarea field which is changed from editable text, specially for the height of input. I can't see the code when the editable text change to input field. 2, When using jeditable plugin,

[jQuery] How to dynamically load javascript from a database instead of using getscript?

2007-10-16 Thread Mark Lacas
I have looked high and low and can only find references for dynmically loading javascript using ajax from a file. I have chunks of javascript that I want to keep in MySQL and load them on demand. They are simple chunks of text that end up in a variable. I need to inject the text from that

[jQuery] Re: Why is this example duplicating my content?

2007-10-16 Thread Jocko
Use the $.each function against a query for the photoframe class: $.each($('.photoframe'), function( index, elem) { // Wrapper methods here, using elem as the reference to each element. ... } That should do it. For more, check out Visual JQuery (http:// visualjquery.com/1.1.2.html),

[jQuery] Syntax for bind using a string from a variable for the callback functions name

2007-10-16 Thread Mark Lacas
Hello, I'm stuck on a silly detail. I want to bind a click to a function whose name is a simple string in a variable from a database I've tried a number of different syntactical combinations but none seem to work. Here is my code: $( .object ).each( function() { var element = this;

[jQuery] Re: Is this valid JSON?

2007-10-16 Thread Jocko
Frank, The proper form would be: { ads: true, content_slug: just-some-title } The JSON format indicated a name/value pair, and the name is treated as a property/method of the base class. The quoting would not work effectively. To expand the concept: var baseclass = { ads: true,

[jQuery] Re: Problems with IE - X

2007-10-16 Thread Eric Martin
On Oct 16, 8:38 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi!!! I have a little problem with the animate in IE - 6 and IE -7... I have a conteiner (inside of this conteiner I have some links) who will be animated in onclick event. In FF it works fine, but on IEs, the text inside didn't

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
Ack, nevermind that last comment about mousemove. I looked at the wrong even handler. David

[jQuery] 1.2.1 remove() forgets bindings?

2007-10-16 Thread Collin Allen
Hello again all! I just upgraded one of my web apps to jQuery 1.2.1, and noticed that .remove() no longer retains event handler bindings (i.e., if I have a .click() bound to an element). Previously, I was assigning the the return value of .remove() to a variable to stash a small chunk of the

[jQuery] Re: Flash and jQuery

2007-10-16 Thread rsmolkin
Hi All, I tried doing this $(document).ready(function(){ $('#link_menu1').bind('click', function () { $('#mainTable').hide(); }); }); But it's not working. I think Flash is still taking away the click event. Can you please help me

[jQuery] automatically changing states when country is updated

2007-10-16 Thread PaulM
I have a form with two select form elements. If I change one form element ( country ) I would like the states to be updated too via AJAX. Can someone point me to the right direction with this? Thank you, select id=states optionAL/option optionAK/option ... /select select id=country option

[jQuery] Some issue with parent child selector with XML and namespaces

2007-10-16 Thread Orange
Hi all. I'm trying to use the parent child selector on an XML document which contains namespaces : the XML : ?xml version=1.0 encoding=ISO-8859-1? lib:catalog xmlns:lib=http://localhost/; lib:book name=bookext lib:user name=user lib:book name=bookint

[jQuery] Re: Queueing and Dequeueing AJAX calls

2007-10-16 Thread Alexander Bilbie
What about using timeouts: var action = setTimeout(function(){ $.ajax({ yada yada}); }, 1); $('#undo').click(function(){ clearTimeout('action'); });

[jQuery] Java Server Faces and JQuery

2007-10-16 Thread Joe
Does anyone have experience using JQuery with Java Server Faces?

[jQuery] continuously search for elements in a document

2007-10-16 Thread rich
(Using jQuery w/ ASP.NET 2.0) I have a few error prompts that are in hidden spans inside li's. I need to hide the LI's when the error prompt is hidden. Example: $(document).ready(function() { //hide empty error spans $('ul.errors li span').each(function(i){

[jQuery] Re: Can't understand a Jquery statement

2007-10-16 Thread charliend
Thank you very much for our answers. Here is the exact algorithm: for (var i = 0; i 10; ++i) { var n = $($(virtual-sensor,data).get(i)).attr(name); if (n!=null) gsn.vsbox.add(n); // add the selection to a box

[jQuery] Re: Event binding doubt

2007-10-16 Thread Flesler
Event delegation can help you. http://www.cherny.com/webdev/70/javascript-event-delegation-and-event-hanlders On 16 oct, 17:18, Glen Lipka [EMAIL PROTECTED] wrote: I think you need the jQueryLive plugin. it allows you to bind events regardless of when they enter the dom. I wish there was a

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
Hmm, why do my posts not go through? http://www.exfer.net/test/jquery/tabslide/ David

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread Pyrolupus
Dang. I *hate* the delay that sometimes comes into play when posting to Google Groups. I mean, it makes it look like I ignored the fact that there were multiple similar responses that read basically the same. On closer look, it appears that my response has an earlier datestamp than many of the

[jQuery] can't get load() to work properly

2007-10-16 Thread caracolina
I would like to load html content into a div based on a specific event and created a function to do that: function loadContent() { $(#myDiv).load(/somepage.html); } Problem is, the loading only works if I put loadContent() into an a tag, such as a href=# onclick=loadContent()click/a But I

[jQuery] How do I completely overwrite an event?

2007-10-16 Thread nick
It seems that jquery is appending new events to any existing event handler. eg: $('##BLAH').click(function(){window.status+='a';}); $('##BLAH').click(function(){window.status+='b';}); Clicking 'BLAH' you get 'ab' on the status bar instead of 'a'??

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
Sorry but I took some liberties with your code. Hopefully that is ok. http://www.exfer.net/test/jquery/tabslide/ I'd be interested to know if that is more like what you wanted. David On Oct 16, 9:41 am, Karl Swedberg [EMAIL PROTECTED] wrote: Hi David, I tried something like that earlier,

[jQuery] 1.2.1 remove() forgets bindings?

2007-10-16 Thread Collin Allen
Hello again all! I just upgraded one of my web apps to jQuery 1.2.1, and noticed that .remove() no longer retains event handler bindings (i.e., if I have a .click() bound to an element). Previously, I was assigning the the return value of .remove() to a variable to stash a small chunk of the

[jQuery] How would I replace one class with another?

2007-10-16 Thread Chris - Implied By Design
Hi Folks, Could jQuery replace instances of a class with another class? For instance replace img class=one-class.. with img class=another- class..? If so, how would I go about this? Thanks! Chris

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
Hmm, this google group seems to be eating my messages from the browser client so now I'll try emailing to it and see if that is any different. Anyway, see if this is more like the design you were interested in. http://www.exfer.net/test/jquery/tabslide/ David P.S. Beware at some point my 6

[jQuery] Re: Writing a plugin - tips needed

2007-10-16 Thread sgrover
So, my use of jQuery.myObject = { . . . }; seems to be correct in this case. Thanks for clarifying the extends bit. Now I think I understand the documentation. And this might come in handy - I know of a couple of plugins I might set mine to extend. I'll wait till the core stuff is

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
Hmm, ok, I'll try this google group in Firefox once. I've posted 4- ish posts today that haven't gone through. Anyway as I said in one of them, I took some liberties with the code, but is this more like what you were going after? http://www.exfer.net/test/jquery/tabslide/ David

[jQuery] Superfish, bgiframe, jQuery 1.2

2007-10-16 Thread [EMAIL PROTECTED]
Aloha, When I use the bgiframe plugin with the superfish menus I get a white background behind the pulldown and the word false behind the pulldown in msie 6.0 on XP. Thanks, Gary

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-16 Thread David Serduke
I'll look at it again then. I was trying to duplicate the functionality of the mootools menu and it has that same design flaw. You don't actually have to move out and back in again but rather just move within the tab since it is mousemove and not mouseover. David On Oct 16, 9:41 am, Karl

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-16 Thread dgt
Hello Giovanni, Emil, and Mike. Thanks for the time you have given with this. Also Mark thankyou for the time you've spent creating the Forms Plugin, very much appreciated. Mark, A simplified version of the page looks like this (not the best, I've removed the jQuery + Form Plugin includes, but

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-16 Thread Mike Alsup
dgt, this all looks fine. Do you have an demo page that shows the problem in action? script type=text/javascript $(document).ready(init); function init(){ $(#addImage).ajaxForm(function(){alert(Submit Success);}); } /script form action = node/add/image method=post id =

[jQuery] Re: How would I replace one class with another?

2007-10-16 Thread Glen Lipka
$(.one-class).removeClass(.one-class).addClass(another-class); :) Glen On 10/16/07, Chris - Implied By Design [EMAIL PROTECTED] wrote: Hi Folks, Could jQuery replace instances of a class with another class? For instance replace img class=one-class.. with img class=another- class..? If

[jQuery] Re: Is this valid JSON?

2007-10-16 Thread Karl Rudd
Errr actually Jocko the quotes are required, they're especially important if you try to use a key that is a reserved word (such as function). http://json.org/ Yes Frank, what you wrote is a correct JSON object. Karl Rudd On 10/17/07, Jocko [EMAIL PROTECTED] wrote: Frank, The proper

[jQuery] Re: How do I completely overwrite an event?

2007-10-16 Thread Karl Rudd
That's correct. If you want to overwrite the existing event you'll have to unbind it first. To use your example: $('##BLAH').click(function(){window.status+='a';}); $('##BLAH').unbind('click').click(function(){window.status+='b';}); Karl Rudd On 10/17/07, nick [EMAIL PROTECTED] wrote: It

[jQuery] Re: Some issue with parent child selector with XML and namespaces

2007-10-16 Thread Karl Rudd
I can't remember if jQuery supports namespaced elements, however have you tried to select them including their namespace? It works for elements with unusual characters in there ids. From the FAQ: // Does not work $(#some.id) // Works! $(#some\\.id)

  1   2   >