Re: [jQuery] Remove from JSON

2006-12-14 Thread Michael Geary
> I suppose this touches on off topic, but ... is it possible > to remove an entry completely from a JSON hash? > > say I have > { > firstString: 'first', > secondString: 'second' > } > > and evaluate this into a json object, and I want to remove > firstString, could I do something like > json

Re: [jQuery] Finished: jQuery code assist in Aptana

2006-12-14 Thread SDisk SDisk
Wow! thanks a lot! this is that I want :) 2006/12/14, Edwin Martin <[EMAIL PROTECTED]>: 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 ass

[jQuery] Remove from JSON

2006-12-14 Thread Andreas Wahlin
I suppose this touches on off topic, but ... is it possible to remove an entry completely from a JSON hash? say I have { firstString: 'first', secondString: 'second' } and evaluate this into a json object, and I want to remove firstString, could I do something like json.remove(json.firstStrin

Re: [jQuery] a jquery button

2006-12-14 Thread Karl Swedberg
On Dec 14, 2006, at 11:14 PM, bmsterling wrote: hey all, is there a "built with jquery" button, something like what you get for valid css or html? gotta give jquery is props :) Hi Benjamin, Check out the jQuery blog entry: http://jquery.com/blog/2006/11/07/jquery-button-contest-winners/

[jQuery] a jquery button

2006-12-14 Thread bmsterling
hey all, is there a "built with jquery" button, something like what you get for valid css or html? gotta give jquery is props :) -- View this message in context: http://www.nabble.com/a-jquery-button-tf2825088.html#a7886017 Sent from the JQuery mailing list archive at Nabble.com.

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Karl Swedberg
On Dec 14, 2006, at 6:30 PM, nrwsteff wrote: FF 2.0 & firebug 1.0beta cause a lot of problems - even on sites without jQuery :) I've noticed that, too. Firebug 1.0beta does not like the FCKEditor at all. Good thing that it's easy to disable Firebug on a per-site basis --Karl _

Re: [jQuery] find cause of uncaught exception

2006-12-14 Thread Bruce McKenzie
well, whatever it was, it was cured by installing jquery v. 1.4. Whew. bmckenzie said the following on 12/10/2006 4:15 PM: > Hi. > > Can someone point me to the likely cause of this error: > > uncaught exception: [Exception... "Component returned failure code: > 0x80004005 (NS_ERROR_FAILURE) [n

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

2006-12-14 Thread Dave Methvin
> Has anyone undertaken this plugin? I wasn't able > to find it in SVN under plugins. It's hiding in a bug report. :) http://jquery.com/dev/bugs/bug/249/ _

Re: [jQuery] Off-Topic: Rounded Corners

2006-12-14 Thread Rey Bango
I know they're easy. There's plenty of CSS-based implementations to choose from and even a plugin for it on the plugins page. The site is a something else to add to your arsenal. :) Rey... Erik Beeson wrote: > Rounded corners are easy: > > border-radius: 10px; > -moz-border-radius: 10px; > >

Re: [jQuery] Off-Topic: Rounded Corners

2006-12-14 Thread Chris Domigan
On 15/12/06, Erik Beeson <[EMAIL PROTECTED]> wrote: Rounded corners are easy: border-radius: 10px; -moz-border-radius: 10px; And a link to http://www.getfirefox.com/ --Erik And in the latest Firefox 3 Alpha and nightlies, they're now anti-aliased! Very purdy. _

Re: [jQuery] Off-Topic: Rounded Corners

2006-12-14 Thread Erik Beeson
Rounded corners are easy: border-radius: 10px; -moz-border-radius: 10px; And a link to http://www.getfirefox.com/ --Erik On 12/14/06, Rey Bango <[EMAIL PROTECTED]> wrote: Just a very quick note about a site that I found that will generate rounded corners on the fly. The site is: http://wigf

Re: [jQuery] Jquery Flash Plugin & the FlashBlock Extension

2006-12-14 Thread Luke Lutman
Hi Sam, I had a look, and FlashBlock blocked UFO and SWFObject movies, and sIFR showed the alternate content, so I'm guessing that by 'works with flashblock', you mean that the alternate content is show when flashblock is on, correct? From what I can tell, Flashblock looks for two things spec

[jQuery] Off-Topic: Rounded Corners

2006-12-14 Thread Rey Bango
Just a very quick note about a site that I found that will generate rounded corners on the fly. The site is: http://wigflip.com/cornershop/ While this isn't about jQuery, I know that rounded corners are the rage and some people might find this useful. Rey... __

Re: [jQuery] Empty each text field

2006-12-14 Thread Chris Domigan
Mungbeans - remember "this" in the context you are using it is a normal DOM node, so you can't use jQuery methods like .val on it. You can do $(this).val() instead. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] How to make radio button selected?

2006-12-14 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean O Subject: [jQuery] How to make radio button selected? Based on what is typed, I want one of two radio buttons with the same name, but distinct IDs, to be selected. I have the RegEx working fine to pick out unique strings in the

Re: [jQuery] Empty each text field

2006-12-14 Thread Blair McKenzie
$('[EMAIL PROTECTED]"text"]').val("") On 12/15/06, Mungbeans <[EMAIL PROTECTED]> wrote: I want to empty every text field in a given form. So far this isn't working: $('[EMAIL PROTECTED]"text"]').each(function(){ this.val = ""; }); -- View this message in context: http://www.nabble.

Re: [jQuery] Empty each text field

2006-12-14 Thread spinnach
Mungbeans wrote: > I want to empty every text field in a given form. So far this isn't working: > > $('[EMAIL PROTECTED]"text"]').each(function(){ this.val = ""; }); > > > try $('[EMAIL PROTECTED]"text"]').val(""); ___ jQuery mailing list disc

[jQuery] Empty each text field

2006-12-14 Thread Mungbeans
I want to empty every text field in a given form. So far this isn't working: $('[EMAIL PROTECTED]"text"]').each(function(){ this.val = ""; }); -- View this message in context: http://www.nabble.com/Empty-each-text-field-tf2824412.html#a7884125 Sent from the JQuery mailing list archiv

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Klaus Hartl
nrwsteff schrieb: > offtopic question: > unfortunately it's not possible to have two or more versions of firefox on > the same machine - > the new windows installer uninstalls all older versions prior to FF2.0 :(( - > or did you > know a possibility to have both versions (FF1.5 & 2.0) installed on

Re: [jQuery] jQuery and Rails

2006-12-14 Thread Yehuda Katz
Let me know. I strongly believe in extraction over abstraction. If you have any specific questions as you start to use Rails, let me know. -- Yehuda On 12/14/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: Yehuda Katz schrieb: > I hate to say this again, but I'm working on a major Rails/jQuery > pr

Re: [jQuery] jQuery and Rails

2006-12-14 Thread Klaus Hartl
Yehuda Katz schrieb: > I hate to say this again, but I'm working on a major Rails/jQuery > project that's shipping this week. When that's done, I'm going to > extract out the goodies from the project and make it jQuery on Rails. I > know it's been a while, but this project has taken precedence o

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread nrwsteff
my 2ct contribution to this discussion. FF 2.0 & firebug 1.0beta cause a lot of problems - even on sites without jQuery :) so often the debugger pops up and interrupts some scripts (didn't investigate why). sometimes you can resume - but mostly the script is broken. switch back to firebug 0.4 e

Re: [jQuery] jQuery and Rails

2006-12-14 Thread Yehuda Katz
I hate to say this again, but I'm working on a major Rails/jQuery project that's shipping this week. When that's done, I'm going to extract out the goodies from the project and make it jQuery on Rails. I know it's been a while, but this project has taken precedence over my jQuery work for a month

Re: [jQuery] jQuery and Rails

2006-12-14 Thread Klaus Hartl
Abdur-Rahman Advany schrieb: > HI, > > Currently I am using Rails and JQuery combined with Minus_r (a plugin by > Dann Web). > > But rails requires that you send the correct accept header to make > respond_to work. So you need to adjust your ajax method (inside of > jquery) with a few lines ex

[jQuery] Jquery Flash Plugin & the FlashBlock Extension

2006-12-14 Thread Sam Sherlock
I have noticed that the flash plugin does not work with the flashBlock firefox extension whereas the both swfObject, UFO & sIFR do work with the extension. In firefox with flashBlock installed and blocking flash content the flash is not displayed nor is the content that it replaces. I have looke

Re: [jQuery] Change href of external links

2006-12-14 Thread Dave Methvin
Uh oh, I know what it is. It's a bug in pushStack. If the last arg to pushStack is a function, it does .each(fn) with the filtered set but returns the original set. If there are two trailing function args, the first is treated as above. However, if the filtered set returned nothing (and thus fn

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

2006-12-14 Thread bmsterling
wow, this is why I stuck with jquery in the first place, because of the great responses by the community. I really do appreciate your input and will def look at the links provided (although I looked at most already and they are def not newbie friendly) But I will def chug away at it. thanks aga

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

2006-12-14 Thread Klaus Hartl
Klaus Hartl schrieb: > Dave Methvin schrieb: >>> Would this be a candidate for addition to the core possibly? >> >> The ancestorsTo looks like it's an up-the-tree analog of the nextUntil >> method for siblings that was discussed here a while back. I think the >> general consensus on that was that

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Kelvin Luck
Jörn Zaefferer wrote: > Kelvin Luck schrieb: >> * Calling an ExternalInterface function which passes arguments between >> Flash and JS in Firefox 2 breaks the a.constructor==String comparison ( >> see http://dev.noiseusse.org/testflash ). >> >> * This then totally breaks jQuery which relies on this

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

2006-12-14 Thread Klaus Hartl
Dave Methvin schrieb: >> Would this be a candidate for addition to the core possibly? > > The ancestorsTo looks like it's an up-the-tree analog of the nextUntil > method for siblings that was discussed here a while back. I think the > general consensus on that was that there would be an extended

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Jörn Zaefferer
Kelvin Luck schrieb: > * Calling an ExternalInterface function which passes arguments between > Flash and JS in Firefox 2 breaks the a.constructor==String comparison ( > see http://dev.noiseusse.org/testflash ). > > * This then totally breaks jQuery which relies on this comparison (in > the find fu

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Harlley Roberto
If you wanna simplicity and documentation, you should use Code Igniter [ www.*code**igniter*.com ] As CMS use Textpattern [ www.textpattern.com ] Harlley On 12/14/06, Will Jessup <[EMAIL PROTECTED]> wrote: Does anybody care about Symfony-project and jQuery? _

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread digital spaghetti
Personally, I didn't like its structure set up and YML language. CakePHP is very much like PHP and is really just a set of classes that provide functionality, and the structure is true MVC to me. But certainly I think it's important that with whatever framework you use, that jQuery is the JS libra

Re: [jQuery] How to make radio button selected?

2006-12-14 Thread Sean O
Thanks, Mike. Knew it was something simple. It was the [0] that did it, I had tried simply .checked = true; SEAN O malsup wrote: > > $('#check_red')[0].checked = true; > > > On 12/14/06, Sean O <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> >> I'm trying to select a radio button bas

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

2006-12-14 Thread Sam Collett
On 14/12/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > > Would this be a candidate for addition to the core possibly? > > The ancestorsTo looks like it's an up-the-tree analog of the nextUntil > method for siblings that was discussed here a while back. I think the > general consensus on that was th

Re: [jQuery] Help with drop down menus

2006-12-14 Thread blemming
I put an example of what I am trying to do here: http://www.brilliantretail.com/cases/colors/ Example basically, I the box to appear when the image with the down arrow is clicked and disappear if the user clicks anywhere else on the screen. Thanks, David blemming wrote: > > Marc Thanks fo

Re: [jQuery] Help with drop down menus

2006-12-14 Thread blemming
I put an example of what I am trying to do here: http://www.brilliantretail.com/cases/colors/ Example basically, I the box to appear when the image with the down arrow is clicked and disappear if the user clicks anywhere else on the screen. Thanks, David blemming wrote: > > I'm trying to c

Re: [jQuery] Fix: ExternalInterface breaks jQuery in firefox 2

2006-12-14 Thread Kelvin Luck
Hi, I've just discovered this thread and can confirm that the problem is still existing for me in 1.0.4. To summarise the thread (which can be read in full here: http://www.nabble.com/Fix%3A-ExternalInterface-breaks-jQuery-in-firefox-2-tf2677747.html#a7468229 ): * Calling an ExternalInterface

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Will Jessup
Does anybody care about Symfony-project and jQuery? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] file uploads with jQuery?

2006-12-14 Thread Andy Matthews
I'll be REALLY excited if someone gets this working. I'm going to be building a new app coming up soon and this is precisely what I need. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jörn Zaefferer Sent: Thursday, December 14, 2006 1:35 PM To: jQuery Dis

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Felix Geisendörfer
http://rossoft.wordpress.com/2006/03/28/register-head-tags-from-helpers-2/ -- http://www.thinkingphp.org http://www.fg-webdesign.de Jörn Zaefferer wrote: Olivier Percebois-Garve schrieb: So there is a lot to come, but for now I'd advice you the Head helper.

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread digital spaghetti
Be wary of that page, it's actually out of date! Rather than: $head->register_js("jquery.js"); You now just use $head->js("jquery.js"); Basicly, knock register_ off any calls and your fine. However after all your calls, you need to do: $head->registered(); This will "render" all the scripts a

Re: [jQuery] Change href of external links

2006-12-14 Thread Ⓙⓐⓚⓔ
upon testing filter with a function returns lots of items that aren't nodes! But among them are the nodes in question. $("[EMAIL PROTECTED]:not(.thickbox)") .filter(function(el){ //alert(el.href

[jQuery] file uploads with jQuery?

2006-12-14 Thread Jörn Zaefferer
Hi folks, the file upload issue was discussed several times on this list, therefore I'd like to point you at some interesting stuff: http://progphp.com/upload.phps The example relies on YUI, but it should be easy to rewrite it with jQuery, anyone up to it? The interessting part: It uses APC fr

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Jörn Zaefferer
Felix Geisendörfer schrieb: >> It's community seems friendly, but at the moment the documentation >> seems to be a little bit of a muddle > Hm? We got an official manual , an API > , the Bakery (user contributed articles) >

Re: [jQuery] Change href of external links

2006-12-14 Thread Jonathan Sharp
On 12/14/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: If that was the case, jQuery("#main a").filter(function() { return false; }) would return nothing. But it doesn't. It returns the original group of elements. At least for me. Hm... I also tested this and filter didn't prune the list with my fu

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread digital spaghetti
Its on the cakeforge jorn, go to the project tree and search for "head'. It also needs the util helper (which is handly next in the list :) Tane On 12/14/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Olivier Percebois-Garve schrieb: > > So there is a lot to come, but for now I'd advice you the

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Jörn Zaefferer
Olivier Percebois-Garve schrieb: > So there is a lot to come, but for now I'd advice you the Head helper. > Where can that neat helper be found? -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/d

Re: [jQuery] Change href of external links

2006-12-14 Thread Dave Methvin
> Am I mistaken, or does the string have to match > exactly in this case? Yep, but you could implement a left-case-insensitive match or even a regexp-based pattern match. The jQuery part wouldn't change at all. ___ jQuery mailing list discuss@jquery.c

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread digital spaghetti
I am already using it :) It's the first 3rd party helper I am using, and it's very handy for inserting my JS into the head, although there seems to be an issue with loading JS files in specific views (they appear before the jQuery.js file is loaded in my default.thtml) Tane On 12/14/06, Olivier

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Felix Geisendörfer
Hey digital spaghetti, CakePHP is using prototype as it's default library right now. All CakePHP helper functions regarding AJAX / events are done with prototype in mind. Now this doesn't mean the CakePHP developers don't like jQuery, but the helpers were done before jQuery came out (or at lea

Re: [jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread Olivier Percebois-Garve
I can advice you to use the "Head helper" made by rossoft. It allows you to throw your js between and from any view file. It is simple and powerful. Felix Geisendorfer has made a tutorial on how to throw it on a controller basis and he said he's developing a MVC framework for jquery, I guess it

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: > Karl Swedberg schrieb: > >> $().ready(function(){ >> > It would produce an interesting pattern if $() implied a jQuery object > containing only the document object. Then $().ready(function() {}) would > work and be a little more logical then $(function() {}).

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Karl Swedberg
On Dec 14, 2006, at 1:50 PM, Mike Alsup wrote: fyi, these all work the same: $(document).ready(function() {}); $().ready(function() {}); $(function() {}); Very interesting. I knew about the first and third being the same, but didn't know about the second. Thanks, Mike! --Karl

Re: [jQuery] Change href of external links

2006-12-14 Thread agent2026
Am I mistaken, or does the string have to match exactly in this case? In other words href="http://www.notthis.com"; will return false, while href="http://notthis.com/directory/file"; will return true. Adam Jonathan Sharp wrote: > > On 12/14/06, Dave Methvin <[EMAIL PROTECTED]> wrote: >> >> *

[jQuery] JQuery and CakePHP (slightly OT)

2006-12-14 Thread digital spaghetti
Hey, I've noticed a few people on here talk about CakePHP and I've decided to investigate it as a possible way of developing a CMS for my work. As much as I love drupal, it has it's drawbacks for what I am doing and I'm investigating using a framwork as a way to develop a CMS from scratch that is

Re: [jQuery] Change href of external links

2006-12-14 Thread Yehuda Katz
If that was the case, jQuery("#main a").filter(function() { return false; }) would return nothing. But it doesn't. It returns the original group of elements. At least for me. -- Yehuda On 12/14/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > I looked at 1.0.3 source and filter() accepts a funct

Re: [jQuery] Change href of external links

2006-12-14 Thread Jonathan Sharp
On 12/14/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > I looked at 1.0.3 source and filter() accepts a function and it > appears that if that function returns true the element is included > otherwise it returns false. Thanks for pointing that out Jonathan, I was almost certain there was one bu

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Jörn Zaefferer
Karl Swedberg schrieb: > $().ready(function(){ It would produce an interesting pattern if $() implied a jQuery object containing only the document object. Then $().ready(function() {}) would work and be a little more logical then $(function() {}). -- Jörn Zaefferer http://bassistance.de

Re: [jQuery] Change href of external links

2006-12-14 Thread Jörn Zaefferer
Dave Methvin schrieb: > > I looked at 1.0.3 source and filter() accepts a function and it > > appears that if that function returns true the element is included > > otherwise it returns false. > > Thanks for pointing that out Jonathan, I was almost certain there was > one but I thought it was .g

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Mike Alsup
> I see a couple things that I would change if it were my code. > > 1. change > $().ready(function(){ > to > $(document).ready(function(){ fyi, these all work the same: $(document).ready(function() {}); $().ready(function() {}); $(function() {}); _

Re: [jQuery] Change href of external links

2006-12-14 Thread Dave Methvin
> I looked at 1.0.3 source and filter() accepts a function and it > appears that if that function returns true the element is included > otherwise it returns false. Thanks for pointing that out Jonathan, I was almost certain there was one but I thought it was .grep() and the docs don't mention t

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Karl Swedberg
On Dec 14, 2006, at 8:49 AM, Vincent Majer wrote: $().ready(function(){ $("a.ShowMap").click( function() { $("div.dynamic_zone").find("div#description").css({display:"none"}); $("div.dynamic_zone").find("div#map").show("slow");

Re: [jQuery] Duplicate Events

2006-12-14 Thread Jonathan Sharp
Are you loading in your function via AJAX? Does it get loaded multiple times? If so you might need to do something like this (untested): var prevMyFunc; var myFunc; // ajax returns "myFunc = function(){ ... }" $('#mainWindow').unclick(prevMyFunc).click(myFunc); prevMyFunc = myFunc; Cheers, -j

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

2006-12-14 Thread Jörn Zaefferer
GreyCells schrieb: > Wow! Many thanks Chris, it worked a treat. There was me messing around with > wildcards an' all :) > > > Chris Domigan wrote: > >> I think you can do: >> >> if (!$("#testDiv input:checkbox").is(":checked")) $("#testDiv").hide(); >> >> (Notice the "!"). Not tested though. >>

Re: [jQuery] Had to change ifx.js when switching to version 1.0.4 - check me?

2006-12-14 Thread Jörn Zaefferer
leftend schrieb: > I just want to do a sanity check, because I've never delved into any of the > interface code (ifx.js) > > I'm using Thickbox, and added some custom code to use the "BlindDown" > function on one of the animations (from the Interface plugin). Everything > comes up fine, however wh

Re: [jQuery] MetaData plugin - help needed FIXED

2006-12-14 Thread Jörn Zaefferer
Erik Beeson schrieb: > 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 = functi

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

2006-12-14 Thread Jonathan Sharp
On 12/14/06, Dave Methvin <[EMAIL PROTECTED]> wrote: > Would this be a candidate for addition to the core possibly? The ancestorsTo looks like it's an up-the-tree analog of the nextUntil method for siblings that was discussed here a while back. I think the general consensus on that was that the

Re: [jQuery] Help with drop down menus

2006-12-14 Thread blemming
Marc Thanks for your input Unfortunately, I can get it to function as I would like. I have: $('*').not(".box_color").click(function(){ $(".div_color").hide(); }); $(".box_color").click(function (){ $(".div_color").hide(); $(this).next().show(); }) Where .box

Re: [jQuery] Change href of external links

2006-12-14 Thread Jonathan Sharp
On 12/14/06, Dave Methvin <[EMAIL PROTECTED]> wrote: *SNIP* It would be nice if there was a $().grep() to filter the elements: $("[EMAIL PROTECTED]:not(.thickbox)").grep(function(){ for ( var i=0; i < notthese.length; i++ ) if ( this.href == notthese[i] ) return false; return tr

Re: [jQuery] MetaData plugin - help needed

2006-12-14 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: > nks for mentioning this. The metadata relies on some jQuery internals > that have changed lately. I'll update the metadata and post here again > when done. > Done! Please update from SVN! It's uses even less code now :-) -- Jörn Zaefferer http://bassistance.de __

Re: [jQuery] MetaData plugin - help needed

2006-12-14 Thread Jörn Zaefferer
Hi Chris! > 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 this point: > > return arr && arr.constructor == Array ? > > it never branches towards the metadata logic, hence

Re: [jQuery] Help with drop down menus

2006-12-14 Thread Marc Jansen
Sorry, should have been something like this: $('body *').not(".div_color").click(function(){ $(".div_color").hide(); }); or $('*').not(".div_color").click(function(){ $(".div_color").hide(); }); both untested, as always ;-) -- Marc Marc Jansen schrieb: > Hi David, > > maybe t

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

2006-12-14 Thread Dave Methvin
> Would this be a candidate for addition to the core possibly? The ancestorsTo looks like it's an up-the-tree analog of the nextUntil method for siblings that was discussed here a while back. I think the general consensus on that was that there would be an extended navigation plugin rather than a

Re: [jQuery] Change href of external links

2006-12-14 Thread Dave Methvin
> I was just looking at this again, and wondered how I could > make it work with a string of links to not be external. For > example using a for loop to go through var intLink = link1, > link2, link3, etc. > > $("[EMAIL PROTECTED]:not([EMAIL PROTECTED]'"+intLink+"']):not(.thickbox)") >.bind(

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

2006-12-14 Thread Jonathan Sharp
Thanks for the tip! Here's the updated code... (This is also available at http://jdsharp.us/code/jQuery/) jQuery.fn.ancestorsTo = function(match) { var j = jQuery(); var b = false; jQuery(this[0]).ancestors().each(function() { if (b == false) { j.add

Re: [jQuery] firefox2 and flash external interface

2006-12-14 Thread Kelvin Luck
play wrote: > I'm new to this list. Lovin' jQuery. Not sure if this should be posted > to ff bugzilla or not but I'm having problems with some strange > behaviour with flash ExternalInterface and jQuery in firefox2. > Basically, any jQuery function call that occurs after a call to > javascript

Re: [jQuery] Small jQuery 1.0.4 problems

2006-12-14 Thread Andy Matthews
Make sure to submit a bug report for any issues you find: http://jquery.com/dev/bugs/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Markus Peter Sent: Thursday, December 14, 2006 11:22 AM To: jQuery Discussion. Subject: [jQuery] Small jQuery 1.0.4 problem

Re: [jQuery] Finished: jQuery code assist in Aptana

2006-12-14 Thread Solid Source
Edwin, Many many thanks! Edwin Martin wrote: > > Klaus Hartl schreef: >> Edwin Martin schrieb: >> >>> I created the scriptdoc-file needed for code assist in Aptana. >>> >>> You can download it here: >>> >>> http://www.bitstorm.org/edwin/jquery/ >>> >> Thanks Edwin! Great job! >> >> I

Re: [jQuery] Toggling div based on radio buttons

2006-12-14 Thread Alex Cook
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Calamity Subject: [jQuery] Toggling div based on radio buttons Basically I have a form with several fieldsets (I can wrap them in divs if absolutely necessary) that need to be displayed/hidden based on radio button selection. For examp

[jQuery] Small jQuery 1.0.4 problems

2006-12-14 Thread Markus Peter
Hello I today upgraded the internal development version of our site from jQuery 1.0.3 to jQuery 1.0.4. The upgrade caused some minor troubles which I'd like to report: We use following simple snippet to get a certain :hover effect for our tables: $("table.ruler tbody tr,table.ruler > tr").

Re: [jQuery] Toggling div based on radio buttons

2006-12-14 Thread Dave Methvin
In the markup, have the fieldsets use class="RequestDetail" id="InfoTYPE" where TYPE is Software, Hardware, etc. and all initially display:none. The radio group is name="RequestType" value="TYPE". Untested code, but here's the idea: $("#myform [EMAIL PROTECTED]").bind("click", function(){ $("#

Re: [jQuery] Help with drop down menus

2006-12-14 Thread Marc Jansen
Hi David, maybe this works: $('body').not(".div_color").click(function(){ $(".div_color").hide(); }) untested. -- Marc blemming schrieb: > I'm trying to create a few drop down option menus that are contained in divs > which are initially not displayed. There each have a image dropdo

[jQuery] Help with drop down menus

2006-12-14 Thread blemming
I'm trying to create a few drop down option menus that are contained in divs which are initially not displayed. There each have a image dropdown image with class = div_color. Here is how I am opening the boxes and closing any others that were left open. $(".box_color").click(function ()

Re: [jQuery] Finished: jQuery code assist in Aptana

2006-12-14 Thread Wil Stuckey
ahh thank you! i've been wanting this. On 12/14/06, Edwin Martin <[EMAIL PROTECTED]> wrote: Klaus Hartl schreef: > Edwin Martin schrieb: > >> I created the scriptdoc-file needed for code assist in Aptana. >> >> You can download it here: >> >> http://www.bitstorm.org/edwin/jquery/ >> > Thanks Ed

Re: [jQuery] How to make radio button selected?

2006-12-14 Thread Mike Alsup
$('#check_red')[0].checked = true; On 12/14/06, Sean O <[EMAIL PROTECTED]> wrote: > > Hi, > > > I'm trying to select a radio button based on user input in a text box. > > Based on what is typed, I want one of two radio buttons with the same name, > but distinct IDs, to be selected. I have the Re

Re: [jQuery] jquery autocomplete and mysql

2006-12-14 Thread eugene33
Thanks Matt I'm trying to build this PHP backend, again my skills are not so good so if anyone could point me in the right direction ;) Here is what I come with, expecting to extract the data from my db and then sort them under a xml skeleton So now it's working but I have only one country (th

Re: [jQuery] Change href of external links

2006-12-14 Thread agent2026
Hi, I was just looking at this again, and wondered how I could make it work with a string of links to not be external. For example using a for loop to go through var intLink = link1, link2, link3, etc. Just not sure how to go about getting the loop in there. $("[EMAIL PROTECTED]:not([EMAIL P

[jQuery] How to make radio button selected?

2006-12-14 Thread Sean O
Hi, I'm trying to select a radio button based on user input in a text box. Based on what is typed, I want one of two radio buttons with the same name, but distinct IDs, to be selected. I have the RegEx working fine to pick out unique strings in the text box, but can't get the rest. e.g. O red

[jQuery] Toggling div based on radio buttons

2006-12-14 Thread Calamity
hi, been playing with jQuery for all of about 3 days, and I need some assistance on something simple. Basically I have a form with several fieldsets (I can wrap them in divs if absolutely necessary) that need to be displayed/hidden based on radio button selection. For example: There are 4 radio

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Vincent Majer
I don't have duplicate id in my document, so the problem does not come from that point. I've tried the code you are proposing, but it does not change the comportment in IE 6 / 7.. In IE 6, it works sometimes (seems to be a question of luck).. In IE 7, it seems not to work at all.. Peter Be

Re: [jQuery] Duplicate Events

2006-12-14 Thread Dave Methvin
> If i understand correctly we should only get one alert > popping up since we registered the function globally > and unclicked it. But it doesn't work :(( Works for me...is that the only code in your document.ready? ___ jQuery mailing list discuss@jq

Re: [jQuery] Flash plugin and ExternalInterface

2006-12-14 Thread Kelvin Luck
Yeah - the good thing about ExternalInterface is that it also works the other way... You can (easily and reliably) call functions in Flash from JavaScript. Which I need to be able to do in this case... I'll let you know if I figure anything out - thanks again for the plugin, Kelvin :) Luke Lut

Re: [jQuery] jquery autocomplete and mysql

2006-12-14 Thread eugene33
Thanks Matt I'm trying to build this PHP backend but nothing is working, again my skills are not so good so if anyone could point me in the right direction ;) Here is what I come with, expecting to extract the data from my db and then sort them under a xml skeleton "; $exceptionstring

Re: [jQuery] Duplicate Events

2006-12-14 Thread floepi
A Please try for yourselves on any page. var hello = function() { alert('funzt nicht'); }; $('#mainWindow').unclick(hello).click(hello); $('#mainWindow').unclick(hello).click(hello); If i understand correctly we should only get one alert popping up since we registered the function glo

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Peter Bengtsson
> > > $().ready(function(){ > > $("a.ShowMap").click( > function() > { > > $("div.dynamic_zone").find("div#description").css({display:"none"}); > $("div.dynamic_zone").find("div#map").show("slow"); > > }); > > $("a.

Re: [jQuery] Duplicate Events

2006-12-14 Thread Dave Methvin
> I guess i am doing something wrong. If i try this > > $('#mainWindow').click(function() { alert("Hello"); }); > $("#mainWindow").unbind( "click", function() { alert("Hello"); }); > > where the functions are identical, it still does not work. > It will invoke the alert function when i click in the

Re: [jQuery] Flash plugin and ExternalInterface

2006-12-14 Thread Luke Lutman
I haven't used ExternalInterface before, but I have used: getURL("javascript:myfunction(123,'abc');"); To call a javascript function from flash. This works like a charm if passing numbers and strings (or JSON strings) to the function will suffice, and is backwards compatible (as far as Flash 6

Re: [jQuery] Duplicate Events

2006-12-14 Thread Klaus Hartl
floepi schrieb: > I guess i am doing something wrong. If i try this > > $('#mainWindow').click(function() { alert("Hello"); }); > $("#mainWindow").unbind( "click", function() { alert("Hello"); }); > > where the functions are identical, it still does not work. It will invoke > the alert function w

Re: [jQuery] Duplicate Events

2006-12-14 Thread Sam Collett
On 14/12/06, Sam Collett <[EMAIL PROTECTED]> wrote: > In that case, don't attach as an anonymous connection. I meant anonymous function... Got databases on the mind at the moment ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

  1   2   >