[jQuery] Hide div only if no child checkbox is selected

2006-12-13 Thread GreyCells
Hi I have a div element full of checkboxes that gets hidden on page load via $(document).ready(function() {$('#testDiv').hide(); }. This works fine, but what I really want to do is to only hide the testDiv if none of the checkboxes within it have a 'checked="checked"' attribute. All I've managed

Re: [jQuery] quick question for Felix re: cakePHP

2006-12-13 Thread Felix Geisendörfer
Juha: Thanks, your pretty much pointed out all resources I'm aware of or would recommend as well ; ). Benjamin: I definitely recommend you to stop by in IRC when you hit problems. Easy questions are usually answered in less then 5 minutes and for more advanced stuff it depends on who is in the

Re: [jQuery] quick question for Felix re: cakePHP

2006-12-13 Thread Larry Garfield
On Thursday 14 December 2006 01:05, Juha Suni wrote: > Hope that helps even a bit. > > I'll gladly answer any questions, but we should keep them off this list. Well it helped me. :-) On topic, I vaguely recall something about CakePHP playing nice with jQuery instead of Prototype, but Googling d

Re: [jQuery] quick question for Felix re: cakePHP

2006-12-13 Thread Juha Suni
bmsterling wrote: > Felix, > I noticed on another thread that you work with cakePHP, I am trying > to get my head around it, but not quite there. Can you recommend any > good forums and tutorials (not digging the bakery.cakephp.org too > much) to help me on my way. I'm using CakePHP daily, and he

Re: [jQuery] MetaData plugin - help needed FIXED

2006-12-13 Thread Chris Domigan
Thanks Eric, you're a legend ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Select All elements between clicks? need help please

2006-12-13 Thread mylocal
Thanks Blair. I have it nearly working correctly just one hiccup when you select the arrivaldate that is greater than the first date it highlights from the beginning to the departure date, though if you select again without clearing fields it works correctly. my code

Re: [jQuery] missing ; before statement

2006-12-13 Thread Mungbeans
Blair McKenzie-2 wrote: > > Have a look at the various form plugins. The normal forms one will pull > all > the form data into a hash, but there's another one that will do the > reverse. > This the one you mean? http://www.reach1to1.com/sandbox/jquery/testform.html http://www.reach1to1.com/sa

Re: [jQuery] MetaData plugin - help needed FIXED

2006-12-13 Thread Aaron Heimlich
On 12/13/06, Erik Beeson <[EMAIL PROTECTED]> wrote: Should this be filed as a bug report, or is the matadata plugin not "official"? It couldn't hurt to submit a bug report for it. I see bugs for plugins, like Interface, posted there occassionally. -- Aaron Heimlich Web Developer [EMAIL PROTE

Re: [jQuery] missing ; before statement

2006-12-13 Thread Blair McKenzie
Have a look at the various form plugins. The normal forms one will pull all the form data into a hash, but there's another one that will do the reverse. Blair On 12/14/06, Mungbeans <[EMAIL PROTECTED]> wrote: Erik Beeson wrote: > > > You still have no_html with an underscore... > > I tempo

Re: [jQuery] missing ; before statement

2006-12-13 Thread Mungbeans
Erik Beeson wrote: > > > You still have no_html with an underscore... > > I temporarily removed the underscore and then got a message that indicated that the problem was with my php code. Once I fixed that (and put the underscore in no_html back) the query ran without an error. Now all I

Re: [jQuery] missing ; before statement

2006-12-13 Thread Karl Rudd
This is a bit of a long shot but have you tried "quoting" the hash keys? As in instead of: no_html:"1" Try: "no_html":"1" In theory you should do always so that so as not to get into problems with keys that are also defined elsewhere. Karl Rudd On 12/14/06, Mungbeans <[EMAIL PROTECTED]

Re: [jQuery] missing ; before statement

2006-12-13 Thread Erik Beeson
Could you try removing it just to see if that fixes the error? Does the same thing happen in IE? --Erik On 12/13/06, Mungbeans <[EMAIL PROTECTED]> wrote: Erik Beeson wrote: > > I notice your code also has an underscore in a parameter name. Maybe try > removing the underscore? > Just realise

Re: [jQuery] missing ; before statement

2006-12-13 Thread Erik Beeson
If I include a callback function into the JSON call, eg: $.getJSON("index2.php", {no_html:"1", task:"getsection", option:"com_gravesearch", sectionid:sectionidVal }, function(json){ alert(json); } ); Then

Re: [jQuery] missing ; before statement

2006-12-13 Thread Mungbeans
Erik Beeson wrote: > > I notice your code also has an underscore in a parameter name. Maybe try > removing the underscore? > Just realised you mean the parameters to the function. If I include a callback function into the JSON call, eg: $.getJSON("index2.php", {no_ht

Re: [jQuery] missing ; before statement

2006-12-13 Thread Mungbeans
Erik Beeson wrote: > > > I notice your code also has an underscore in a parameter name. Maybe try > removing the underscore? > > > I've just been through the tedious process of removing the underscore from every class and id in the program. I doubt it is the problem. I am now getting thi

Re: [jQuery] MetaData plugin - help needed FIXED

2006-12-13 Thread Erik Beeson
The functionality of the "get" method that the metadata plugin overloads is split out into a "set" method in 1.0.4. Just change the matadata plugin to overload "set" instead of "get", so it looks like this: jQuery.fn._set = jQuery.fn.set; jQuery.fn.set = function(arr){ var result = this._set.app

Re: [jQuery] MetaData plugin - help needed

2006-12-13 Thread Erik Beeson
I can confirm that the metadata plugin doesn't work with 1.0.4. It works fine with 1.0.3 though. --Erik On 12/13/06, Chris Domigan <[EMAIL PROTECTED]> wrote: I've tried lots of ways: given: $("td.blah").get(0).foo; $("td.blah").each(function() { this.foo; }); $("td.blah").each(function

Re: [jQuery] missing ; before statement

2006-12-13 Thread Erik Beeson
A Google search for "missing ; before statement" yields: http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial_s&hl=en&q=%22missing+%3B+before+statement%22&btnG=Google+Search The first hit is this: http://www.webdeveloper.com/forum/archive/index.php/t-28861.html The la

Re: [jQuery] missing ; before statement

2006-12-13 Thread Mungbeans
Chris Domigan wrote: > > Sounds like you have a custom script being loaded in by ajax, eg .load() > and > eval'd which is throwing the error. Any syntax errors in your custom > script? > This is the offending code: function updateSectionForm(sectionidVal) { $.getJSON("index2.php",

Re: [jQuery] missing ; before statement

2006-12-13 Thread Chris Domigan
Sounds like you have a custom script being loaded in by ajax, eg .load() and eval'd which is throwing the error. Any syntax errors in your custom script? Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] missing ; before statement

2006-12-13 Thread Mungbeans
I have just downloaded the latest and greatest and now am getting this strange error message in firebug: missing ; before statement jquery.js (line 1933) line 1933 in jquery is: 1931 // evaluate scripts within html 1932 if ( type == "html" ) $("").html(data).evalScripts(); 1933 1934 return da

Re: [jQuery] MetaData plugin - help needed

2006-12-13 Thread Chris Domigan
I've tried lots of ways: given: $("td.blah").get(0).foo; $("td.blah").each(function() { this.foo; }); $("td.blah").each(function() { $(this)[0].foo; }); The point is though, that EVERY jquery "query" on my page, regardless of whether or not I'm accessing a metadata attribute, is passing

Re: [jQuery] MetaData plugin - help needed

2006-12-13 Thread Erik Beeson
Could you give an example of how you're trying to access the metadata? --Erik On 12/13/06, Chris Domigan <[EMAIL PROTECTED]> wrote: Hi all, I'm having a problem with John's metadata plugin. The value of the parameter arr in the jQuery.fn.get function in metadata.js is always undefined, so at

[jQuery] MetaData plugin - help needed

2006-12-13 Thread Chris Domigan
Hi all, I'm having a problem with John's metadata plugin. The value of the parameter arr in the jQuery.fn.get function in metadata.jsis always undefined, so at this point: return arr && arr.constructor == Array ? it never branches towards the metadata logic, hence I can never access metadata

Re: [jQuery] Is it a bug

2006-12-13 Thread johnnybai
Thanks. i put element outsidest:) On 12/13/06, Karl Swedberg <[EMAIL PROTECTED]> wrote: Johnny, If you really need that table in there, try rearranging your HTML so that the form element is inside one of the table's cells: ... --Karl _ Karl Swedbe

Re: [jQuery] Select All elements between clicks? need help please

2006-12-13 Thread Blair McKenzie
// declare dates here for access by all events var firstdateel=false; var lastdateel=false; // or you could select hidden input elements and use those var $firstdate = $("input"); var $lastdate = $("input"); // select all dates var $dates=$("td.selectabledate"); // declare the range variable for

[jQuery] Select All elements between clicks? need help please

2006-12-13 Thread mylocal
I have been trying to do a inline calendar for a client where you select the arrival date and then departure date and once the second click is registered in gives me an array of elemets between the two depending on class and highlights those spaces if there available. some code here at present :

[jQuery] Finished: jQuery code assist in Aptana

2006-12-13 Thread Edwin Martin
Hi, I like jQuery and I like Aptana and was very frustrated jQuery didn't had code assist (auto-completion) in Aptana. And I think I'm not the only one :-) I created the scriptdoc-file needed for code assist in Aptana. You can download it here: http://www.bitstorm.org/edwin/jquery/ It's all q

Re: [jQuery] Width + Height of a Media

2006-12-13 Thread Blair McKenzie
You could put the size in the url (i.e. url?width=xxx&height=yyy) and then parse out the values on click. function getParams(url) { var params=[]; $.each(href.split(/(?|&)/),function(i,s){ var pair = s.split("=") if (pair.length==2) params[pair[0]]=pair[1]; }) return params; };

Re: [jQuery] unload and unload

2006-12-13 Thread Aaron Heimlich
I think people were leaning towards removing the shortcuts from the core and putting them into their own plugin, but I could be wrong about that. --Aaron On 12/13/06, Karl Swedberg <[EMAIL PROTECTED]> wrote: I think the decision about what to do with the shortcuts has not been finalized yet.

Re: [jQuery] Function: $(...).ancestorsTo(match)

2006-12-13 Thread fullgarbage
Hello Jonathan, Wednesday, December 13, 2006, 11:47:37 PM, you wrote: > I wrote a method that will provide a list of ancestors for any > number of generations until an ancestor matches the expression. Example: > BODY >   DIV >     UL.myClass >   LI >     UL >   LI #myId > $('#

[jQuery] One more mention of Jquery

2006-12-13 Thread Dragan Krstic
On this page http://www.webtuesday.ch/meetings/20061010, go to pro-js.pdf On 3rd page is sexy on-liner...___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] quick quesiton for Felix re: cakePHP

2006-12-13 Thread bmsterling
Felix, I noticed on another thread that you work with cakePHP, I am trying to get my head around it, but not quite there. Can you recommend any good forums and tutorials (not digging the bakery.cakephp.org too much) to help me on my way. Thanks Benjamin -- View this message in context: http://

Re: [jQuery] Function: $(...).ancestorsTo(match)

2006-12-13 Thread Matt Stith
plugin devs should remember: Never use $ inside your plugins. Always use 'jQuery'. The reason is that '$' can be changed by the user for support with other libraries. On 12/13/06, Jonathan Sharp <[EMAIL PROTECTED]> wrote: I wrote a method that will provide a list of ancestors for any number of

Re: [jQuery] this verus (this)

2006-12-13 Thread Chris Domigan
$(this)[0] is never needed as 'this = $(this)[0]' when in an 'each' loop (or binding on an event, callbacks in plugins etc). I was simply speculating what would have happened if "this" had been designated a jQuery object. Hence this[0] would give you the DOM node. Read the whole thread :) Chr

[jQuery] Function: $(...).ancestorsTo(match)

2006-12-13 Thread Jonathan Sharp
I wrote a method that will provide a list of ancestors for any number of generations until an ancestor matches the expression. Example: BODY DIV UL.myClass LI UL LI #myId $('#myId').ancestors() returns [UL, LI, UL.myClass, DIV, BODY] $('#myId').ancestors("UL.myClass") r

Re: [jQuery] Check element visibility

2006-12-13 Thread Brian Miller
$(':visible', this).length == 0 (Or 1, if the root of the context is returned, which I'm not sure of.) Note: This will be kind of inefficient if you're working with a big DOM tree. - Brian > Hello all, > > How can I check if a given element is visible or not (i.e. has > display:block). > I hav

Re: [jQuery] Check element visibility

2006-12-13 Thread Karl Swedberg
On Dec 13, 2006, at 1:14 PM, fullgarbage wrote: > Hello all, > > How can I check if a given element is visible or not (i.e. has > display:block). > I have the folowing situatioin - I need to hide all > elements that have ALL their descendant hidden. > (if one or more of the descendants is > v

Re: [jQuery] New Site: Hope Cottage

2006-12-13 Thread Brandon Aaron
On 12/13/06, Sam Collett <[EMAIL PROTECTED]> wrote: > On 13/12/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > We just launched a new site that uses jQuery. > > http://www.hopecottage.org/ > > > > -- > > Brandon Aaron > > You don't get anything on the home page with JavaScript disabled, but > the

Re: [jQuery] (Half-OffTopic) jQuery & Firebug

2006-12-13 Thread Joan Piedra
wow, that's a nice bookmarklet. Thanks for that! On 12/13/06, Karl Swedberg <[EMAIL PROTECTED]> wrote: You could also add a bookmarklet to Firefox's Bookmarks Toolbar Folder. Then, whenever you see a page you'd like to play with using jQuery and Firebug, just click the bookmarklet and you're re

Re: [jQuery] Check element visibility

2006-12-13 Thread Jörn Zaefferer
fullgarbage schrieb: > Hello all, > > How can I check if a given element is visible or not (i.e. has > display:block). > You can use $(...).is(":visible") Details for :visible can be found here: http://jquery.com/docs/Base/Expression/Custom/ -- Jörn Zaefferer http://bassistance.de ___

Re: [jQuery] New Site: Hope Cottage

2006-12-13 Thread Joan Piedra
Hey, I like the main effect in the homepage, it's pretty cool. Btw, I saw some accesibility problems you would like to fix. The homepage doesn't show the sublinks or the middle content if the javascript is disabled. The same happens with the sitemap. Cheers On 12/13/06, Brandon Aaron <[EMAIL P

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Jörn Zaefferer
Dave Methvin schrieb: >> In the fx module the display property is stored as oldblock, >> then set to display: block and then finally reverted if it >> is not a 'hide' type animation. >> > > As I've confessed before, the fx code is a total mystery to me. I just > searched the source for referen

Re: [jQuery] Check element visibility

2006-12-13 Thread Andy Matthews
$("p").css("display"); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of fullgarbage Sent: Wednesday, December 13, 2006 12:14 PM To: discuss@jquery.com Subject: [jQuery] Check element visibility Hello all, How can I check if a given element is visible or n

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Jörn Zaefferer
Peter Bengtsson schrieb: > Is there a changelog? > There is a newandnoteworthy.txt in SVN. It is not the same as a changelog, as it doesn't cover bugs like typos, missing characters etc. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing

Re: [jQuery] mirror of dean edwards packer anywhere?

2006-12-13 Thread Joan Piedra
Here is the php version. http://joliclic.free.fr/php/javascript-packer/en/index.php On 12/13/06, Webunity | Gilles van den Hoven <[EMAIL PROTECTED]> wrote: Anybody know a mirror of dean edwards packer? The .NET application doesn have thesame compression results. Thanx Gilles ___

Re: [jQuery] (Half-OffTopic) jQuery & Firebug

2006-12-13 Thread Karl Swedberg
You could also add a bookmarklet to Firefox's Bookmarks Toolbar Folder. Then, whenever you see a page you'd like to play with using jQuery and Firebug, just click the bookmarklet and you're ready to go. javascript:var%20s=document.createElement('script');s.setAttribute ('src',%20'http://jque

[jQuery] Check element visibility

2006-12-13 Thread fullgarbage
Hello all, How can I check if a given element is visible or not (i.e. has display:block). I have the folowing situatioin - I need to hide all elements that have ALL their descendant hidden. (if one or more of the descendants is visible, then the "label" must stay visible). I intend to do sometn

Re: [jQuery] mirror of dean edwards packer anywhere?

2006-12-13 Thread Rich Manalang
If you download the jQuery source, you'll find the packer.js file, the javascript.jar and the associated ant build files to run the packer. Take a look at the pack.js file in the build directory. Rich On 12/13/06, Webunity | Gilles van den Hoven <[EMAIL PROTECTED]> wrote: Anybody know a mirro

Re: [jQuery] mirror of dean edwards packer anywhere?

2006-12-13 Thread Mika Tuupola
On Dec 13, 2006, at 18:16, Webunity|Gilles van den Hoven wrote: > Anybody know a mirror of dean edwards packer? > The .NET application doesn have thesame compression results. Not a mirror, but I use this from commandline: http://homepages.nildram.co.uk/~9jack9/download/packer.perl.zip -- Mika

[jQuery] Anyone who has experience with libraries other than JQ

2006-12-13 Thread Solid Source
Head over to WASP and chime in with any relevant thoughts. I'm sure they don't want their board spammed so please make it relevant to the article if you have any thoughts that pertain (I think JQuery's solution addresses them well). http://www.webstandards.org/2006/12/12/reducing-the-pain-of-adop

Re: [jQuery] New Site: Hope Cottage

2006-12-13 Thread Sam Collett
On 13/12/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > We just launched a new site that uses jQuery. > http://www.hopecottage.org/ > > -- > Brandon Aaron You don't get anything on the home page with JavaScript disabled, but the top links still work (so technically still accessible, but less searc

[jQuery] New Site: Hope Cottage

2006-12-13 Thread Brandon Aaron
We just launched a new site that uses jQuery. http://www.hopecottage.org/ -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Dave Methvin
> In the fx module the display property is stored as oldblock, > then set to display: block and then finally reverted if it > is not a 'hide' type animation. As I've confessed before, the fx code is a total mystery to me. I just searched the source for references to oldblock and assumed it wasn't

Re: [jQuery] (Half-OffTopic) jQuery & Firebug

2006-12-13 Thread Fabien Meghazi
> var s = document.createElement('script'); > s.src='http://jquery.com/src/jquery-1.0.4.js'; > document.body.appendChild(s); Thanks ! I didn't knew the dom createElement's way would imply the load, parse and execution of a remote script. ___ jQuery mai

[jQuery] iResizable with multiple resize problem

2006-12-13 Thread Sébastien Pierre
Hi all, I went through some issues with the iResizable plug-in, especially when dealing with multiple resizable instances. I already filed a bug some time ago (), but I would be interested in knowing if anybody has found workarounds to that. You can fin

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Felix Geisendörfer
jQuery is one of my favourite OS projects (besides CakePHP). It has a great community, a pretty transparent development (at least that's how I feel) and is just the best thing that has ever happened to Javascript language. Thanks a lot for this exiting new release. -- Felix Geisendörfer aka th

[jQuery] Width + Height of a Media

2006-12-13 Thread Olaf Bosch
Hi All, i would load a Video on a Page after click a Link, works fine. What can i do, the width and height is not known. This is my Code: $("#content").append(" and so on I must have the width and height of the File that saved under 'url' Is there a way? -- Viele Grüße, Olaf -

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Brandon Aaron
On 12/13/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > > ... the fx .show/.hide methods use the same logic as > > the normal .show/.hide metheds (both .show methods > > set display 'block'). > > The non-fx show/hide try to preserve the original display value: > > show: function(){ >

[jQuery] mirror of dean edwards packer anywhere?

2006-12-13 Thread Webunity | Gilles van den Hoven
Anybody know a mirror of dean edwards packer? The .NET application doesn have thesame compression results. Thanx Gilles ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] (Half-OffTopic) jQuery & Firebug

2006-12-13 Thread Mike Alsup
> Let's say i'm on google.com and I would like to make some research on > their page, using jQuery in the firebug console would be handy. I know > it's possible with greasemonkey but I wonder if there's an easier way > to do this ? Here's an example. Type the following into the firebug console: v

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Dave Methvin
> ... the fx .show/.hide methods use the same logic as > the normal .show/.hide metheds (both .show methods > set display 'block'). The non-fx show/hide try to preserve the original display value: show: function(){ this.style.display = this.oldblock ? this.oldblock : ""

[jQuery] (Half-OffTopic) jQuery & Firebug

2006-12-13 Thread Fabien Meghazi
Hi all, Sorry if this thread is partly offtopic, but anyone here knows if there's an easy way to populate jScript in a external webpage in order to use it in firebug ? Let's say i'm on google.com and I would like to make some research on their page, using jQuery in the firebug console would be ha

Re: [jQuery] interesting background issue in FF 2

2006-12-13 Thread bmsterling
Just a follow up, I made a bunch of changes to the style sheet, assuming it has something todo with background images, and still no luck. Attached is what I am seeing. thanks http://www.nabble.com/file/4566/Untitled-1.png -- View this message in context: http://www.nabble.com/interesting-bac

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread jazzle
Brandon Aaron wrote: > > On 12/13/06, jazzle <[EMAIL PROTECTED]> wrote: >> I don't honestly think it'll help. > > Nonsense, it does help and it helps to help those who want to help. > That's why I did include some code. It was as dave suggested (http://www.nabble.com/Re%3A-Show-Hide-Buttons

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Brandon Aaron
On 12/13/06, jazzle <[EMAIL PROTECTED]> wrote: > > I don't honestly think it'll help. Nonsense, it does help and it helps to help those who want to help. It allows those willing to help with limited time to just check out the example in firebug. I was first thinking it would be display: block als

Re: [jQuery] Apps used to reply to this list

2006-12-13 Thread Christopher Jordan
Hi Mike, I'm using TB 1.5.0.8 as well (though on a PC, so I'm not sure this will be of great help), and I just use the "Reply to Sender Only" option. It sends the email to discuss@jquery.com, and everything seems to go smoothly. Cheers, Chris Michael Holloway wrote: Hi people, I seem to ha

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Geoffrey Knutzen
Happy dance, happy dance. Thank you all for this. Your efforts are truly appreciated. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Tuesday, December 12, 2006 5:44 PM To: jQuery Discussion. Subject: [jQuery] jQuery 1.0.4 Released Hi Ev

Re: [jQuery] Using JQuery to manipulate href (URL params)

2006-12-13 Thread Scottus
On 12/12/06, Robert James <[EMAIL PROTECTED]> wrote: > 2. How do I use JQuery to manipulate hrefs? there are a number of security locks on modern browsers that don't allow dynamic manipulation of href. I haven't looked at your example in detail so I am not sure you will run into it, but a lot o

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Peter Bengtsson
Is there a changelog? John Resig wrote: > Hi Everyone - > > Another fantastic release of jQuery is ready for your consumption. > This release includes a number of bug fixes (as usual) along with some > much-needed improvements to jQuery's Ajax functionality. > > As always, if you have any questi

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Dave Methvin
> I'm sure I must be missing something basic, but I cannot > persuade buttons which I'm showing and hiding with jQ > to stay on one line. To use the effects jQuery has to make them block elements. Simple show/hide just changes display:none so it doesn't have the problem. Set up each button as a

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Joel Birch
In the process of animating, I think jQuery adds "display:block" to the inline style property. It probably doesn't do this with the instant "show". My guess is this is what is happening. Joel. On 13/12/2006, at 9:24 PM, jazzle wrote: > I'm sure I must be missing something basic, but I canno

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Andy Matthews
I see now...apologies. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Klaus Hartl Sent: Wednesday, December 13, 2006 8:25 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery 1.0.4 Released Andy Matthews schrieb: > Hey John... > > In the API docs, is t

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread jazzle
I don't honestly think it'll help. The code is simple, just with jQ: $(".tohide").hide('slow'); Brandon Aaron wrote: > > Could you put together an example page? > -- View this message in context: http://www.nabble.com/Show-Hide-Buttons-on-one-line-tf2813143.html#a7853847 Sent from the JQ

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread jazzle
I don't think that can be it - these are the only items on this line. Andy Matthews wrote: > > Have you double checked to make sure the widths are set correctly? Could > be > that when the buttons get longer/shorter, it bumps another button down to > the next line? > -- View this message in c

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Klaus Hartl
Andy Matthews schrieb: > Hey John... > > In the API docs, is there any reason why EVERY one of the listings has the > word jQuery before it? Isn't that rather redundant? That is how you know if a method is chainable or not. As most methods are it may seem redundant at first glance, but it isn't

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Andy Matthews
Have you double checked to make sure the widths are set correctly? Could be that when the buttons get longer/shorter, it bumps another button down to the next line? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of jazzle Sent: Wednesday, December 13, 2006 4:

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Andy Matthews
Hey John... In the API docs, is there any reason why EVERY one of the listings has the word jQuery before it? Isn't that rather redundant? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Resig Sent: Tuesday, December 12, 2006 7:44 PM To: jQuery Discus

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Andy Matthews
Agreed... I can say that I knew all of you "when"... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Alsup Sent: Tuesday, December 12, 2006 9:01 PM To: jQuery Discussion. Subject: Re: [jQuery] jQuery 1.0.4 Released > So, without further ado, here's

Re: [jQuery] unload and unload

2006-12-13 Thread Karl Swedberg
On Dec 13, 2006, at 6:54 AM, Andreas Wahlin wrote: so no .click() then? ANdreas The best thing to do is always use .bind("event", fn) for your events. There is no ambiguity when you do that. Many of those confusing shortcuts will be going away in an upcoming version. I think the decision a

Re: [jQuery] Show/Hide Buttons on one line

2006-12-13 Thread Brandon Aaron
Could you put together an example page? -- Brandon Aaron On 12/13/06, jazzle <[EMAIL PROTECTED]> wrote: > > I'm sure I must be missing something basic, but I cannot persuade buttons > which I'm showing and hiding with jQ to stay on one line. > > It works fine with instant show/hide, but not with

Re: [jQuery] Is it a bug

2006-12-13 Thread Karl Swedberg
Johnny, If you really need that table in there, try rearranging your HTML so that the form element is inside one of the table's cells: ... --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 13, 2006, at 4:58 AM, Michael H

[jQuery] Apps used to reply to this list

2006-12-13 Thread Michael Holloway
I've been clicking on the email address as when I hit reply or reply-all, it doesn't fill in the 'to' field. Weird :s ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] unload and unload

2006-12-13 Thread Andreas Wahlin
so no .click() then? ANdreas > > The best thing to do is always use .bind("event", fn) for your > events. There > is no ambiguity when you do that. Many of those confusing shortcuts > will be > going away in an upcoming version. ___ jQuery mailing

Re: [jQuery] Efforts to Convert Folks to jQuery

2006-12-13 Thread Felix Geisendörfer
Hey folks, we just recently got into a little discussion over Prototype vs jQuery at the CakePHP mailing list. So as every good jQuery evangelist would do, I tried my best at communicating it's strength. Because I think the post contains a pretty good list of arguments and external links, I'll

Re: [jQuery] Apps used to reply to this list

2006-12-13 Thread Marc Jansen
Klaus Hartl schrieb: > Michael Holloway schrieb: > >> Hi people, >> >> I seem to have problems creating a reply to the messages on this list, >> whenever I post a reply, it always creates a new thread rather than >> continue another, I'm using Thunderbird 1.5.0.8 on the mac. Does anyone >> el

[jQuery] Show/Hide Buttons on one line

2006-12-13 Thread jazzle
I'm sure I must be missing something basic, but I cannot persuade buttons which I'm showing and hiding with jQ to stay on one line. It works fine with instant show/hide, but not with speeds (slow/medium/fast). Any ideas/hints/help will be appreciated, Jez -- View this message in context: http

Re: [jQuery] Disabling tags

2006-12-13 Thread Sam Collett
On 13/12/06, Brice Burgess <[EMAIL PROTECTED]> wrote: > Joan Piedra wrote: > > > > On 12/12/06, *Aaron Heimlich* <[EMAIL PROTECTED] > > > wrote: > > > > > > div#myid = SLOW!! > > > > #myid = FAST!! > > > > .myclass = SLOW!! > > > > div.myclass = FAST(er)!!

Re: [jQuery] Apps used to reply to this list

2006-12-13 Thread Klaus Hartl
Michael Holloway schrieb: > Hi people, > > I seem to have problems creating a reply to the messages on this list, > whenever I post a reply, it always creates a new thread rather than > continue another, I'm using Thunderbird 1.5.0.8 on the mac. Does anyone > else use this program/version and c

Re: [jQuery] this verus (this)

2006-12-13 Thread Sam Collett
On 12/12/06, Chris Domigan <[EMAIL PROTECTED]> wrote: > > > ...you would have to do $(this)[0], so it's extra typing either way. ... > > > > Er in that example it should be this[0]. $(this)[0] is never needed as 'this = $(this)[0]' when in an 'each' loop (or binding on an event, callbacks in plugi

[jQuery] Apps used to reply to this list

2006-12-13 Thread Michael Holloway
Hi people, I seem to have problems creating a reply to the messages on this list, whenever I post a reply, it always creates a new thread rather than continue another, I'm using Thunderbird 1.5.0.8 on the mac. Does anyone else use this program/version and can tell me what I'm doing wrong. If n

[jQuery] Is it a bug

2006-12-13 Thread Michael Holloway
if the form like this: The table does not display in firefox(i use ff2.0), but it's ok in IE. and i can find the table of dom from DOM inspector add-on, it does exists!! i try some lots of ways to find what happened. And last i find. if html like this: Hi Johnny, Your first co

Re: [jQuery] Efforts to Convert Folks to jQuery

2006-12-13 Thread Klaus Hartl
> •More than cosmetic effects (Moo.fx) Just wondering - I don't know much about it - does Moo.fx really have only cosmetic effects? What is meant by that anyway? I guess I have to have a look into the slides... -- Klaus ___ jQuery mailing list dis

Re: [jQuery] Is it a bug

2006-12-13 Thread Klaus Hartl
Johnny schrieb: > hi,guys > > i get a form in table by jquery. > > if the form like this: > > > > > > > > The table does not display in firefox(i use ff2.0), but it's ok in IE. > and i can find the table of dom from DOM inspector add-on, it does > exists!! > > i try some lots of w

Re: [jQuery] Is it a bug

2006-12-13 Thread Erik Beeson
You may want to consider looking into using jXs: http://www.malsup.com/jquery/jxs/ The problem is XML doesn't work like HTML when inserted into the DOM, even though it looks like HTML. I hacked up some code from jXs to convert the XML into HTML and made it a little plugin called htmlify. I use it

Re: [jQuery] Dynamically added "click" registration always returns the last value added

2006-12-13 Thread leftend
Wow, thanks very much. It worked like a charm. I hadn't used the $.each function in jQuery yet, so thank you for pointing me to it. I suspect I'll be using it a lot more now that I know how to! Chad Michael Geary wrote: > > You're using the variable "j" to hold a reference to each element o

Re: [jQuery] Dynamically added "click" registration always returns the last value added

2006-12-13 Thread Michael Geary
You're using the variable "j" to hold a reference to each element of the jobs array as you go through the loop. After the loop finishes, "j" is a reference to the last element of that array. Later, when the click function gets called, "j" still refers to that last element - regardless of which ele

Re: [jQuery] .selectedIndex VS jQuery

2006-12-13 Thread Olivier Percebois-Garve
Hi thanks a lot for all the replies !!! I'm learning something new with each post... I fully agree that I am now doing stuffs that require a better understanding of javascript, but there is still a few tricks that are specific to jquery. For instance end() there is probably others I dunno. That

Re: [jQuery] Dynamically added "click" registration always returns the last value added

2006-12-13 Thread leftend
The < a > tag that was in the "var div" line got rendered as an actual link. Here it is again with spaces to prevent it from being rendered as a link: var div = "" + j.companyName + " | < a href='#' id='editJob" + j.jobID + "'>edit< / a>"; Chad leftend wrote: > > Hello, > > I'm parsing t

[jQuery] Dynamically added "click" registration always returns the last value added

2006-12-13 Thread leftend
Hello, I'm parsing this JSON: {"result":"success","successText":"Your changes have been saved successfully.","errorText":"","memberID":"49","mode":"edit","jobs":[{"jobID":"1","companyName":"SAIC"},{"jobID":"2","companyName":"Aspentech"},{"jobID":"3","companyName":"Cardinal Health"}]} ...with th

  1   2   >