[jQuery] Re: Making internet explorer behave with jquery

2007-07-10 Thread Klaus Hartl
Luke wrote: Basically what I'm trying to do is apply a .text and a .textFocus to certain elements. for example: input and input:focus, respectively. So what I've done is this: I am not concerned with the focus portion at this point... only with applying the correct class to the correct

[jQuery] making ajax calls in jqmodal window. Possible?

2007-07-10 Thread Jack Killpatrick
Hi All, Anyone know if it's possible to make ajax calls from inside a jqModal popup window that was loaded via ajax? I have code like this: $(document).ready( function() { $('#userSwitcher').hide(); $('#userSwitcher').jqm({ trigger:'a.jqmTrigger',

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Fil
jQuery is a language and as such requires you to read at least a bit of documentation or examples before starting. Maybe .is() and .length should be more prominently visible in the doc, but I see no point in adding the .exists() and .hasClass() cruft to the (beautiful) jQuery code. -- Fil

[jQuery] Re: Scroller ticker...

2007-07-10 Thread Sam Collett
Not quite the same as it fades in rather than scrolls. Sliding could be done if you replace fadeOut with slideUp and fadeIn with slideDown Example: http://www.texotela.co.uk/code/jquery/newsticker/slide/ On Jul 9, 5:21 pm, Sean Catchpole [EMAIL PROTECTED] wrote: I like newsticker:

[jQuery] [Firefox Bug] Text flicker

2007-07-10 Thread Rob
I'm getting an animation bug where all text on the page flickers slightly during a fade() animation. I can't seem to find the specific reason this appears but I'll keep trying. Any ideas or am I beating a dead horse? Btw I'm using Firefox v2.0.0.4 on OS X.

[jQuery] Re: Getting the next span

2007-07-10 Thread jmbJq
Thanks Sean, I ended up using the second one as a basis. Here's what I ended up with: $(~ span:first, this); This gives me the single next span, just like I wanted. On Jul 9, 9:12 pm, Sean Catchpole [EMAIL PROTECTED] wrote: $('#span1').bind('click', function() { return $(this).next(span);

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Felix Geisendörfer
But I don't think we disagree at all. I wasn't talking about .get() with no arguments, but rather .get(n) and .size(), which are just slower synonyms for [n] and .length. Yeah I agree with you on that. I just read: 'we should get rid of the get() function' and freaked : p -- Felix

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Felix Geisendörfer
if ($('#someID')) { // something matched the selector } See, and there you go making a wrong assumption that beginners are much more likely to run into. !![] is evaluating to true and so is a jQuery object that has not matched any items. I'm not blaming you for it, it's

[jQuery] Return attribute content from XPath match //[EMAIL PROTECTED]'banner']/@alt

2007-07-10 Thread [EMAIL PROTECTED]
with something like.. img id=banner alt=This is a banner / //[EMAIL PROTECTED]'banner']/@alt would return This is a banner. Doing it this way does not work, but is valid in XPather https://addons.mozilla.org/en-US/firefox/addon/1192 Is there another way to do this in JQuery (I am currently just

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Felix Geisendörfer
In fact, if you find yourself doing a lot of if(something exists) { ... } else { ...}, you might want to consider trying to move some of your code into a plugin. The target audience for an exists() function would be new comers to jQuery. Those are generally a little scared about writing their

[jQuery] flash of unstyled content...Safari...hide() problems

2007-07-10 Thread hughesfleming
I have been going through the tutorials and following many of the examples here to try and get an introduction to jquery, I have added the following code to my site but I am running into problems with Safari. script type=text/javascript $(document).ready(function() {

[jQuery] Re: Return attribute content from XPath match //[EMAIL PROTECTED]'banner']/@alt

2007-07-10 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: with something like.. img id=banner alt=This is a banner / //[EMAIL PROTECTED]'banner']/@alt would return This is a banner. Doing it this way does not work, but is valid in XPather https://addons.mozilla.org/en-US/firefox/addon/1192 Is there another way to do this in

[jQuery] Re: validation pluging work in FireFox but Not in Internet Explorer

2007-07-10 Thread WebolizeR
any suggestion about this,please On Jul 9, 10:56 am, WebolizeR [EMAIL PROTECTED] wrote: Hi; I've used the jQuery's official validation plugin (http:// bassistance.de/jquery-plugins/jquery-plugin-validation/), your can see the page in here (http://nexus.di-tasarim.com/index.php?

[jQuery] Re: Text flicker

2007-07-10 Thread tlob
url? On 10 Jul., 05:47, Rob [EMAIL PROTECTED] wrote: I'm getting an animation bug where all text on the page flickers slightly during a fade() animation. I can't seem to find the specific reason this appears but I'll keep trying. Any ideas or am I beating a dead horse? Btw I'm using

[jQuery] Thickbox Reloaded

2007-07-10 Thread Txt.Vaska
Bonjour: I haven't seen any talk about Thickbox Reloaded since mid-May. And I noticed that Thickbox 3 is out now. Is Thickbox Reloaded still happening? The alpha files I got my hands on didn't work in Safari...but...yeah...it's an Alpha. Any word, hint, suggestion...when the beta

[jQuery] .trigger(click) // don't work? [newbie]

2007-07-10 Thread GianCarlo Mingati
HI, i have these line on document.ready and using jquery-1.1.3.pack.js (no, not 1.1.3.1): $(function(){ $('#chiamacap').trigger('click'); $(a#chiamacap).bind(click, function(){

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Felix Geisendörfer
jQuery is a language It was a library last time I checked ; ). and as such requires you to read at least a bit of documentation or examples before starting. Why? For me the sweetest thing about using jQuery has been it's intuitiveness right out of the box. When I started I just looked at some

[jQuery] Re: flash of unstyled content...Safari...hide() problems

2007-07-10 Thread hughesfleming
I seem to have fixed the problem. Perhaps it is too early to tell but things are much better. Alex Fleming

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Felix Geisendörfer
What about Array.prototype.sort.apply( $('li') ); Not sue if that'll work... I think that could work, but it's breaking chainability so I think the array plugin mentioned by Jörn earlier is a better alternative. However since I all I need is sort(), I actually am fine with using get() that

[jQuery] append reformting the content i send it

2007-07-10 Thread Terry B
wtf? I have specific html i want added to a div so I use append to add it. fine it works but it is formatting the code and making it unusable. how do i prevent append from doing this?

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Fil
jQuery is a language It was a library last time I checked ; ). yeah, well, it can be many things to many people; we all agree it's code. I think it's art, too Why? For me the sweetest thing about using jQuery has been it's intuitiveness right out of the box. ok, so next time i want to

[jQuery] Re: .trigger(click) // don't work? [newbie]

2007-07-10 Thread Dan G. Switzer, II
HI, i have these line on document.ready and using jquery-1.1.3.pack.js (no, not 1.1.3.1): $(function(){ $('#chiamacap').trigger('click'); $(a#chiamacap).bind(click, function(){ alert(hi);

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Jökull
I've got a 2/3 rewrite of thickbox that is a lot more flexible. I've tested it on Safari, IE6 and Firefox. Anyone interested? On Jul 10, 11:56 am, Txt.Vaska [EMAIL PROTECTED] wrote: Bonjour: I haven't seen any talk about Thickbox Reloaded since mid-May. And I noticed that Thickbox 3 is out

[jQuery] Re: JQuery - CrossBrowser? - Script not working in Firefox

2007-07-10 Thread Dan G. Switzer, II
Ok, so you da man when it comes to this AutoCompleter? I did try the page from FF and it definitely worked. Would you mind looking at the code? function findValue(li) { if( li == null ) return alert(No match!); // if coming from an AJAX call, let's use the CityId as the value

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Klaus Hartl
Txt.Vaska wrote: Bonjour: I haven't seen any talk about Thickbox Reloaded since mid-May. And I noticed that Thickbox 3 is out now. Is Thickbox Reloaded still happening? The alpha files I got my hands on didn't work in Safari...but...yeah...it's an Alpha. Any word, hint,

[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-10 Thread Dan G. Switzer, II
Now if I could only make sense of that page. g So you wrote that mod to the original AutoCompleter by Dylan V and now you and this other guy Joern are working on it? Sorry, just trying to understand who's who. What should I download from that page? Not that the who's who really matters that

[jQuery] Re: Release: Tooltip plugin 1.1

2007-07-10 Thread R. Rajesh Jeba Anbiah
On Jul 9, 2:33 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: R.RajeshJebaAnbiahwrote: Another thing, you're bundling your site's style in zip file. Are you referring to the demo files? If so, that is intentional. If not, could you clarify that?

[jQuery] display: block forcing blocks to jump in FF

2007-07-10 Thread R. Rajesh Jeba Anbiah
Say like (note the display: inline): div id=barspan id=foo style=display: inlinefoo/span./ div Do animation on $('#foo'), can notice a jump in FF. This is because, jQuery is toggling with display none to block and vice-versa; but doesn't apply display: inline. Is there any workarounds? or

[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-10 Thread Dylan Verheul
Just my $0.02: I'd recommend going with Jörn's rewrite, UNLESS you need the mustMatch option which doesn't yet work in his version. Jörn's version is much more likely to be updated than mine and (I assume) Dan's, and Jörn did a more than excellent job. I'm switching jobs on August 1, and my new

[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-10 Thread Dan G. Switzer, II
Just my $0.02: I'd recommend going with Jörn's rewrite, UNLESS you need the mustMatch option which doesn't yet work in his version. Jörn's version is much more likely to be updated than mine and (I assume) Dan's, and Jörn did a more than excellent job. As I alluded to in my message, I've stopped

[jQuery] Re: .trigger(click) // don't work? [newbie]

2007-07-10 Thread GianCarlo Mingati
;-)... ehm thanks... now it works. It was sufficent to cut and paste it after the click behaviuor experimenting... experimenting... ciao grazie GC

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Alexandre Plennevaux
I am always! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jökull Sent: mardi 10 juillet 2007 13:40 To: jQuery (English) Subject: [jQuery] Re: Thickbox Reloaded I've got a 2/3 rewrite of thickbox that is a lot more flexible. I've tested it

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Txt.Vaska
I consider it nearly beta, I only need to cleanup and fix a few styles before announcing. It actually is in heavy use for my project and it works cross browser. I just need to move over some styles... --Klaus Cool, that's good news. I think I saw the current build over at Plazes? I'm

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Alexandre Plennevaux
Hi Klaus, I personally am looking very much forward to your implementation. I like its design much more than TB3, with all due respect to the script that converted me to jquery. Just an encouragement ;) Alexandre -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread Andy Matthews
Can you explain (ever so briefly) how this would be used? Is it merely a way to quickly place pieces on an existing board? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Monday, July 09, 2007 9:41 PM To:

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Joel Birch
On 11/07/2007, at 12:25 AM, Alexandre Plennevaux wrote: Hi Klaus, I personally am looking very much forward to your implementation. I like its design much more than TB3, with all due respect to the script that converted me to jquery. Just an encouragement ;) Alexandre Ditto! Still

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Sam Collett
Perhaps it needs a new name as well (rather than just 'Thickbox Reloaded'), because it does function slightly differently to Thickbox? On Jul 10, 2:32 pm, Joel Birch [EMAIL PROTECTED] wrote: On 11/07/2007, at 12:25 AM, Alexandre Plennevaux wrote: Hi Klaus, I personally am looking very

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread weepy
Another Jquery based board game that I'm putting into beta : http://64squar.es It's an online realtime chess game with drag and drop pieces. On Jul 10, 2:31 pm, Andy Matthews [EMAIL PROTECTED] wrote: Can you explain (ever so briefly) how this would be used? Is it merely a way to quickly

[jQuery] 2 beginner question

2007-07-10 Thread tlob
Hello First very simple question: why ist this not allowed? [code] $(document).ready( var isplaying = false; //something else ); [/code] and this is? var isplaying = false; $(document).ready( //do something else ); [/code] == Second Question. When I load this page in FF, Firebug

[jQuery] Re: Google Maps like interface with JQuery

2007-07-10 Thread Tane Piper
Here is the code for what I am working on right now. It's nowhere complete, but I'm looking to build a fully functional application for jQuery and Google Maps. /* * Google Map Application (GMApp) * Author: Tane Piper ([EMAIL PROTECTED]) * Website: http://digitalspaghetti.tooum.net * Licensed

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread Stephan Beal
On Jul 10, 3:31 pm, Andy Matthews [EMAIL PROTECTED] wrote: Can you explain (ever so briefly) how this would be used? Is it merely a way to quickly place pieces on an existing board? That's basically it - a generic game board and generic game pieces. Just as when you and i play a board game

[jQuery] Re: 2 beginner question

2007-07-10 Thread tlob
cheers! I'm such a beginner. http://i.somethingawful.com/cliff/ihateyou/page-262/3.jpg On 10 Jul., 15:55, John Resig [EMAIL PROTECTED] wrote: You have to add an extra wrapper function in .ready(), like so: $(document).ready(function(){ // your code }); On 7/10/07, tlob [EMAIL

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread Andy Matthews
Fun. I assume by boardgames you're talking about Catan, WH10k and that sort of thing and not Risk or Monopoly? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Beal Sent: Tuesday, July 10, 2007 8:45 AM To: jQuery (English) Subject:

[jQuery] SITE SUBMISSION: 64squar.es

2007-07-10 Thread Rey Bango
Added: http://64squar.es - an online realtime chess game with drag and drop pieces.

[jQuery] Re: Thickbox Reloaded

2007-07-10 Thread Klaus Hartl
Sam Collett wrote: Perhaps it needs a new name as well (rather than just 'Thickbox Reloaded'), because it does function slightly differently to Thickbox? Thickbox Reloaded was just a working title for me (it was supposed to become TB 3 at that time), but now that there is an official TB 3,

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Felix Geisendörfer
ok, so next time i want to code something in jquery i'll just write $(make coffee) ? Haha, now I'm questioning your ambition. This is the holy grail of all programming, it's almost blasphemy to make fun of it ; ). For me (and I really mean not speaking for everyone) it's more intuitive if

[jQuery] Re: 2 beginner question

2007-07-10 Thread John Resig
You have to add an extra wrapper function in .ready(), like so: $(document).ready(function(){ // your code }); On 7/10/07, tlob [EMAIL PROTECTED] wrote: Hello First very simple question: why ist this not allowed? [code] $(document).ready( var isplaying = false; //something else );

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Nicolas Hoizey
Anyway I can see your argument about how an exists() function would be redundant. jQuery has a lot of convenience wrappers for things, but $.fn.exists = function(){return !!this.length}; would be the smallest and least functional one. Same is almost true for hasClass (return

[jQuery] Link with hover and a div

2007-07-10 Thread Jens Peter Möller
Hi, I wan't to show a div on an mouseover at a link, like a tooltip. Parts of my Code: function jpmTip_init() { $(a).hover( function(event) { $('div.jpmTipDIV').remove(); jpmTip_show(this, event.pageX, event.pageY); }, function() {

[jQuery] Re: append reformting the content i send it

2007-07-10 Thread Rob Desbois
What is the content you are trying to add...? On 7/10/07, Terry B [EMAIL PROTECTED] wrote: wtf? I have specific html i want added to a div so I use append to add it. fine it works but it is formatting the code and making it unusable. how do i prevent append from doing this? -- Rob

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread Stephan Beal
On Jul 10, 4:04 pm, Andy Matthews [EMAIL PROTECTED] wrote: Fun. I assume by boardgames you're talking about Catan, WH10k and that sort of thing and not Risk or Monopoly? There's no reason Risk or Monopoly couldn't be played, provided a way can be worked out to handle things like game-specific

[jQuery] Re: Convert XMLDocument to text

2007-07-10 Thread João Araújo
Hi, I'm new to jQuery. I have this problem: I am using php to produce html. Them a would like to manipulate that html with jQuery. jQuery is not handling de html written with php. Any help? Thank you On Jul 7, 3:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Heh, hours of searching, and the

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread Stephan Beal
On Jul 10, 3:39 pm, weepy [EMAIL PROTECTED] wrote: Another Jquery based board game that I'm putting into beta : http://64squar.es It's an online realtime chess game with drag and drop pieces. Wow! Great! Those features are still a long way away (if ever) as far as my mini-project goes, but

[jQuery] too much recursion (sound PopUp)

2007-07-10 Thread tlob
Hello I finaly managed to finish my job. Only with your help. http://siggibucher.com/preview/soundtest.html But when I click the sound on link, Firebug is complaining about too much recursion window.focus(); I have no idea, was this is, or should I change something? THX in advance! tom

[jQuery] Re: 2 beginner question

2007-07-10 Thread Jake McGraw
Answer both of your questions: Use: $(document).ready(function() { /* ... */ }); Not: $(document).ready( /* ... */ ); - jake On 7/10/07, tlob [EMAIL PROTECTED] wrote: Hello First very simple question: why ist this not allowed? [code] $(document).ready( var isplaying = false; //something

[jQuery] Re: Convert XMLDocument to text

2007-07-10 Thread Richard D. Worth
On 7/10/07, João Araújo [EMAIL PROTECTED] wrote: Hi, I'm new to jQuery. I have this problem: I am using php to produce html. Them a would like to manipulate that html with jQuery. jQuery is not handling de html written with php. Any help? Thank you It looks like you sent this messaging by

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Alan Gutierrez
On Jul 9, 2007, at 3:05 PM, Matt Kruse wrote: On Jul 9, 1:50 pm, Sean Catchpole [EMAIL PROTECTED] wrote: I believe that learning jquery returns an array like object is more useful than creating a .exists() function. IMO, many people look for common sense methods that should exist in

[jQuery] Draggable from Interface plugin - Bug with IE6 [Solved]

2007-07-10 Thread jonathan.pasquier
Hello, I have been struggling for the last hour because of a little problem with the Draggable component of the Interface plug-in. When I was dragging an element for the first time, everything was OK. But as I tried to drag another element, the first element was moved instead of the selected one

[jQuery] Re: thickbox onload

2007-07-10 Thread João Araújo
Hi, Any one knows how to center the thickbox inside the element it is contained and not in the whole view port? Thanks On Jul 4, 3:43 am, Eric Crull [EMAIL PROTECTED] wrote: In another thread Felix Geisendorfer published a little plugin that he uses to rebind thickbox after the document has

[jQuery] Re: JQuery - CrossBrowser? - Script not working in Firefox

2007-07-10 Thread AtlantaGeek
Ok, thanks for those suggestions. I'm only starting off with JQuery. I hope to keep learning about it. At present, the syntax is very strange. On Jul 10, 8:42 am, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Ok, so you da man when it comes to this AutoCompleter? I did try the page from FF

[jQuery] Re: Return attribute content from XPath match //[EMAIL PROTECTED]'banner']/@alt

2007-07-10 Thread [EMAIL PROTECTED]
Well bad example, I will not be using it will the id attribute, and I will be getting more the one results, so $().attr() will not work. On Jul 10, 3:41 am, Klaus Hartl [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: with something like.. img id=banner alt=This is a banner / //[EMAIL

[jQuery] Re: Return attribute content from XPath match //[EMAIL PROTECTED]'banner']/@alt

2007-07-10 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Well bad example, I will not be using it will the id attribute, and I will be getting more the one results, so $().attr() will not work. On Jul 10, 3:41 am, Klaus Hartl [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: with something like.. img id=banner alt=This is

[jQuery] Feature request: XPath attribute content selector

2007-07-10 Thread [EMAIL PROTECTED]
I need to be able to grab attribute content staight from XPath in the form of //[EMAIL PROTECTED]'imageClass']/@id would return the ids of anything with the class name imageClass. I have not got the reg exp knowledge to do this myself.

[jQuery] Re: Feature request: XPath attribute content selector

2007-07-10 Thread Scott Sauyet
[EMAIL PROTECTED] wrote: I need to be able to grab attribute content staight from XPath in the form of //[EMAIL PROTECTED]'imageClass']/@id would return the ids of anything with the class name imageClass. I have not got the reg exp knowledge to do this myself. I doubt this is likely to be

[jQuery] ProtoLoad

2007-07-10 Thread Glen Lipka
I noticed this new ajax loading script. http://aka-fotos.de/protoload/ It's based on Prototype, but if you look just at the relevant script: http://aka-fotos.de/protoload/js/protoload.js It's extremely small, but has a pretty nice feature set. (covering individual items) We have a few plugins

[jQuery] Re: Is there a way to READ the $.ajax settings?

2007-07-10 Thread Jörn Zaefferer
Stephan Beal wrote: On Jul 9, 9:26 pm, Sean Catchpole [EMAIL PROTECTED] wrote: $.ajaxSettings.async That's exactly what i was looking for. Thanks :). Do you happen to know if that's documented anywhere? i can find no mention of it on the jquery site, and using the on-site search

[jQuery] Re: Random number of events required on page

2007-07-10 Thread Jörn Zaefferer
[EMAIL PROTECTED] wrote: What I'm trying to figure out how to do is to have jQuery handle multiple events on one page, that are pulled out a of a database (can be any amount of numbers). A good example of what I'm trying to do would be a large FAQ listing, where each question is clickable,

[jQuery] Re: validation pluging work in FireFox but Not in Internet Explorer

2007-07-10 Thread Jörn Zaefferer
WebolizeR wrote: any suggestion about this,please I get this warning when enabling strict warnings (via web developer toolbar) in Firefox: trailing comma is not legal in ECMA-262 object initializers }\n index.php (line 39) -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: Release: Tooltip plugin 1.1

2007-07-10 Thread Jörn Zaefferer
R. Rajesh Jeba Anbiah wrote: On Jul 9, 2:33 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: R.RajeshJebaAnbiahwrote: Another thing, you're bundling your site's style in zip file. Are you referring to the demo files? If so, that is intentional. If not, could you clarify that?

[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-10 Thread Jörn Zaefferer
AtlantaGeek wrote: Now if I could only make sense of that page. g So you wrote that mod to the original AutoCompleter by Dylan V and now you and this other guy Joern are working on it? Sorry, just trying to understand who's who. What should I download from that page? A somewhat stable

[jQuery] Re: Return attribute content from XPath match //[EMAIL PROTECTED]'banner']/@alt

2007-07-10 Thread Karl Swedberg
On Jul 10, 2007, at 1:06 PM, Klaus Hartl wrote: Ok, say you want an array that gathers all the alt attributes of the matched elements, you can use the $.map method: var altAttrs = $.map( $('img'), function() { return this.alt; } ); --Klaus That's a good idea. Or, if you want to do stuff

[jQuery] Re: ProtoLoad

2007-07-10 Thread John Resig
This is exactly what's done by blockUI: http://www.malsup.com/jquery/block/#element In fact, it's almost identical - I wonder if they got some inspiration from blockUI? --John On 7/10/07, Glen Lipka [EMAIL PROTECTED] wrote: I noticed this new ajax loading script.

[jQuery] Re: announcement: jQuery-based generic board game interface

2007-07-10 Thread Jörn Zaefferer
Stephan Beal wrote: b) you have a big enough screen/resolution that you can fit the board, all playing cards, etc., on the screen. While fitting on the screen is not a technical requirement, it eases usability greatly. Sounds like the right application for surface computers:

[jQuery] Re: ProtoLoad

2007-07-10 Thread Glen Lipka
I was sort of thinking like BlockUI Lite. Block UI is 15K. It does alot more than this little thing does. But sometimes you just need the little thing. Glen On 7/10/07, Rey Bango [EMAIL PROTECTED] wrote: LOL! That was the same thing I thought of when I saw it this morning. Rey John Resig

[jQuery] Re: ProtoLoad

2007-07-10 Thread Rey Bango
LOL! That was the same thing I thought of when I saw it this morning. Rey John Resig wrote: This is exactly what's done by blockUI: http://www.malsup.com/jquery/block/#element In fact, it's almost identical - I wonder if they got some inspiration from blockUI? --John On 7/10/07, Glen

[jQuery] Re: ProtoLoad

2007-07-10 Thread Mike Alsup
Glen, It's not fair to judge a plugin's file size from the raw source. It's like saying jQuery is 60K. Many plugins, like blockUI and the form plugin, have extensive commenting - complete with examples. I think blockUI packs down to 5K which is still larger than Protoload, but nowhere near

[jQuery] Re: ProtoLoad

2007-07-10 Thread Glen Lipka
Sorry, you are right. I just did a quick size check, I didnt think about the comments. My bad. mea culpa! :) Glen On 7/10/07, Mike Alsup [EMAIL PROTECTED] wrote: Glen, It's not fair to judge a plugin's file size from the raw source. It's like saying jQuery is 60K. Many plugins, like

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Jonathan Chaffer
On Jul 9, 2007, at 23:57 , Erik Beeson wrote: In fact, if you find yourself doing a lot of if(something exists) { ... } else { ...}, you might want to consider trying to move some of your code into a plugin. Most jQuery functions/plugins already deal with the if(exists)... part by simply not

[jQuery] Re: WYSIWYG Editor in Jquery

2007-07-10 Thread Jean-Francois Hovinne
Hi Gurpreet, It's a pity that you plan to abandon using WYMeditor because of sparse documentation. Please feel free to ask any questions/send feedback on the mailing- list [1] or on the forum [2], we'll be glad to help. Cheers, jf [1]: http://lists.wymeditor.org/ [2]:

[jQuery] Re: ProtoLoad

2007-07-10 Thread Rey Bango
You have incurred the wrath of Alsup. Poor you! ;) Glen Lipka wrote: Sorry, you are right. I just did a quick size check, I didnt think about the comments. My bad. mea culpa! :) Glen On 7/10/07, *Mike Alsup* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Glen, It's not

[jQuery] FishEye Math

2007-07-10 Thread Jeff (Gmail)
I am playing around the with great Interface plugins, the http://interface.eyecon.ro/demos/fisheye.html in particular and was wondering if anyone had played around with the code to allow for different sized images to be used, rather than a single size? Any math wiz that could point me in the

[jQuery] Re: FishEye Math

2007-07-10 Thread John Farrar
I didn't like the implementation. It steals real estate before you are actually using the menu. I believe it should only respond AFTER your have triggered the space. Then if you move off it the trigger area should go back to just the menu and be dormant again. John Jeff (Gmail) wrote: I

[jQuery] Re: allow no more than 3 checkboxes checked

2007-07-10 Thread cfdvlpr
That works very well. Could you also grey out the unchecked checkboxes after 3 are checked? You can try this: $.fn.limit = function(n) { var self = this; this.click(function(){ return (self.filter(:checked).length=n); });} $(input:checkbox).limit(3);

[jQuery] Re: WYSIWYG Editor in Jquery

2007-07-10 Thread Tane Piper
Yea, that is pretty weak - if you have an issue with it, bring it up an help develop it - thats the only way these things grow. It's a pity that you plan to abandon using WYMeditor because of sparse documentation. -- Tane Piper http://digitalspaghetti.tooum.net This email is: [ ] blogable [

[jQuery] IE7 and jQuery Corners.....

2007-07-10 Thread Jason
Howdy, On a site I'm test designing I'm using jQuery and Corners, and it's working great so far. The problem I'm having with my site is IE7. In Firefox, it works great, all corners are the way I want them. In IE7, only the bottom is rounded. I need help..

[jQuery] Element defined or not

2007-07-10 Thread Sebastián V. Würtz
Wich is the best way to know if a element for example a div is defined? like in php if ( empty($test) ) or if ( isset($test) ) thx

[jQuery] Re: ProtoLoad

2007-07-10 Thread Mike Alsup
Wrath? But I used a smiley! Mike On 7/10/07, Rey Bango [EMAIL PROTECTED] wrote: You have incurred the wrath of Alsup. Poor you! ;) Glen Lipka wrote: Sorry, you are right. I just did a quick size check, I didnt think about the comments. My bad. mea culpa! :) Glen On 7/10/07, *Mike

[jQuery] Fwd: [jQuery] Re: allow no more than 3 checkboxes checked

2007-07-10 Thread Sean Catchpole
On 7/10/07, cfdvlpr [EMAIL PROTECTED] wrote: That works very well. Could you also grey out the unchecked checkboxes after 3 are checked? $.fn.limit = function(n) { var self = this; this.click(function(){ (self.filter(:checked).length==n)?

[jQuery] Re: Element defined or not

2007-07-10 Thread Matt Stith
Try if ($(selector).length0){ //... } On 7/10/07, Sebastián V. Würtz [EMAIL PROTECTED] wrote: Wich is the best way to know if a element for example a div is defined? like in php if ( empty($test) ) or if ( isset($test) ) thx

[jQuery] Re: Element defined or not

2007-07-10 Thread Sean Catchpole
On 7/10/07, Sebastián V. Würtz [EMAIL PROTECTED] wrote: Wich is the best way to know if a element for example a div is defined? We get this question a lot. jQuery returns the DOM in an array like fashion. This is standard: if($(div).length) ... or sometimes: var div = $(div)[0]; if(div) ...

[jQuery] Re: BlockUI, order of ops issue

2007-07-10 Thread Mike Alsup
traunic, You'll need to put your sorting code in a setTimeout fn so that the browser has time to render the block before you pin the cpu. Try something like this: $(#entries).each(function(prntI,prnt){ $.blockUI(); setTimeout(function() { $(div.entry,prnt).sort(function(a,b){

[jQuery] Re: Fwd: [jQuery] Re: allow no more than 3 checkboxes checked

2007-07-10 Thread Andy Matthews
Why add the class disabled Sean? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Catchpole Sent: Tuesday, July 10, 2007 4:19 PM To: jquery-en@googlegroups.com Subject: [jQuery] Fwd: [jQuery] Re: allow no more than 3 checkboxes checked On 7/10/07, cfdvlpr

[jQuery] Re: Fwd: [jQuery] Re: allow no more than 3 checkboxes checked

2007-07-10 Thread Jonathan Sharp
You're missing your return statement in this revised version (for the noob's: which is needed to cancel the event) -js On 7/10/07, Sean Catchpole [EMAIL PROTECTED] wrote: On 7/10/07, cfdvlpr [EMAIL PROTECTED] wrote: That works very well. Could you also grey out the unchecked checkboxes

[jQuery] Re: ProtoLoad

2007-07-10 Thread Rey Bango
He hasn't. I've incurred it and your wrath leaves lasting effects. ;) Mike Alsup wrote: Oh my! How could I have been so wrong? I hope you've recovered! Mike On 7/10/07, Glen Lipka [EMAIL PROTECTED] wrote: You used :-) rather than :) The nose adds wrath. Plain as the nose on my face.

[jQuery] Re: BlockUI, order of ops issue

2007-07-10 Thread traunic
As you may have suspected this example is greatly simplified from what I am working with. My real div.entrys look more like: div div class=entry a href=# id=123 img src=/img/filename.jpg border=0 height=230 width=176 /a div class=createDateDIV

[jQuery] Re: Fwd: [jQuery] Re: allow no more than 3 checkboxes checked

2007-07-10 Thread Sean Catchpole
On 7/10/07, Andy Matthews [EMAIL PROTECTED] wrote: Why add the class disabled Sean? In case someone wanted to change the CSS when it is disabled. On 7/10/07, Jonathan Sharp [EMAIL PROTECTED] wrote: You're missing your return statement in this revised version (for the noob's: which is needed

[jQuery] NEWS: Digg uses jQuery to Build the Digg iPhone App

2007-07-10 Thread Rey Bango
Joe Stump and his crew over at Digg have really been pounding on jQuery lately and loving every minute of it. The latest to come out of Digg-ville is the new Digg iPhone web app. Main Digg-dude Kevin Rose talks about the new app on the Digg blog and sends out props to the jQuery team for

[jQuery] Re: NEWS: Digg uses jQuery to Build the Digg iPhone App

2007-07-10 Thread Sean Catchpole
Cool news, thanks for the info Rey. ~Sean

[jQuery] Re: NEWS: Digg uses jQuery to Build the Digg iPhone App

2007-07-10 Thread Rey Bango
Anytime my man. Sean Catchpole wrote: Cool news, thanks for the info Rey. ~Sean -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com

[jQuery] Issues with retrieving an object

2007-07-10 Thread [EMAIL PROTECTED]
$('#downloadable_' + songId + ' a').clone(true).appendTo('#downloadable_ ' + songId); I checked, and downloadable_' + songId is definitely an element. Yet, this isn't working, it should, right? That element will always only have one link in it and I want to clone it and append it to

  1   2   >