[jQuery] Re: [ot] String.split in Opera.
Isn't Javascript supposed to support Perl-compatible regular expressions? Perl says the answer is: 5 perl -e 'print scalar split(/\b/, hello there Opera)' On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: WWIED? What would IE do? On 6/10/07, Matt Stith [EMAIL PROTECTED] wrote: o.O damn, like you said, i didnt know there was that big of a difference! On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: safari says 3 for javascript:alert(hello there Opera.split(/(\s+)/).length) On 6/10/07, Matt Stith [EMAIL PROTECTED] wrote: why not just use /(\s+)/ in firefox too then? It gives me the correct number of 5. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: javascript:alert(hello there Opera.split(/\b/).length) Firefox says 5 , safari says 6, Opera says 15! it really got me confused while writing some jQuery code! now I use $.browser.opera ? /(\s+)/ : /\b/ ; instead. Ouch, I didn't realize there was that much of a difference! -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: ImageStrip and newer jquery library
Thanks, it works well ! Cordialement, Vincent Majer, Responsable technique, http://www.monagence.com Joel Birch a écrit : On 07/06/2007, at 3:04 AM, Vincent Majer wrote: var left = this.image.left(); Hi Vincent, This may fix it. Change that line to: var left = this.image.css('left'); Joel.
[jQuery] Re: update input text when tick radio
Certainly is: input type='text' id='myInput' / input type='radio' name='myRadio' value='first' /First input type='radio' name='myRadio' value='second' /Second $(document).ready(function() { $(input:radio).click(function() { $(#myInput).val($(this).val()); }); }); --rob On 6/10/07, sublimenal [EMAIL PROTECTED] wrote: Hello, is it possible to update a input type=text when you tick a input type=radio name=1 value=10.00 ? Basicly I will have a bunch of radios and when you tick it, it shoud update the input with the value of that radio that the user ticked. Thanks in advance. -- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 There's a whale there's a whale there's a whale fish he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.
[jQuery] Re: jquery is'nt very effective at execution
Using $(td.Name) should also improve the scripts performance as well. When you use $(.Name) it will go through all tags on the page. If the class name is on other tags as well, you could always add another selector (e.g. $(td.Name, li.Name). On Jun 11, 3:02 am, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Thank you. Is it possible to interrupt the script each time the user enter a new letter in the search box ? What I'd recommend doing is building in a setTimeout() delay that would only fire off the event if the user pauses typing--that way you're not trying to fire it off for every keystroke. As for stop the each(), if you do a return true/false inside the callback function, it should stop execution of the loop. This means you can add a condition to the loop based on a global variable to determine if you should stop the loop. So, something like the following would work: $(.Name).each( function (){ // provided lastTbxValue is a global value that's updated each // time the value changes, this should stop the loop if( tbxValue != lastTbxValue ) return false; // create a pointer to the current table cell var oCell = $(this); // hide the parent oCell.parent().[oCell.text().indexOf(tbxValue) -1 ? show : hide](); } ); -Dan
[jQuery] optimization help
I am currently working through a script that at the moment works just fine but where there are some performance bottlenecks that I am trying to reduce. It works with acceptible speed when dealing with 40 or so elements but in practice the system could be dealing with hundreds so every ms I can scrape off the execution time will help. There are two sections I am focusing on in particular. One is my initialization function, the other is part of a loop which processes elements based on the value of fields contained within. The loop has the highest optimization priority so I'll start with that. Here is my code (with some details missing) self.handleRange= function (rule) { if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; //console.log (self.containerItems.not ('.fxUnSelected').length); self.containerItems.each (function () { // This line needs optimizing! thisVal = parseInt ($(rule.valField, this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; self.containerItems is a jQuery selector I run at initialization so I don't have to keep reselecting all the items I want to work with. I wanted to rewrite the function as follows: self.handleRange= function (rule) { valFields = $(rule.valField); if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; self.containerItems.each (function () { // This line doesn't work! thisVal = parseInt (valFields.filter (this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; in my experience I have found that filtering out elements I'm not interested in from a selection I have already made is considerably faster than running a new selector to get the elements I want. My intent here was to grab all the fields which match the selector specified in the rule passed to the function (say, '.priceval' for example) and then in the loop select only the one that was relevent with this. Unfortunately, this doesn't seem to work. If anyone knows what I am doing wrong here I'd appreciate a pointer to get me going in the right direction. The other optimization I need is in initialization. My suspicion here is that copious use of parseInt is slowing this function down significantly. self.computeGridCols= function () // Calculate number of columns needed { return (self.colCount = Math.floor (container.width () / self.itemWidth)); }; self.computeGridRows= function () // Calculate numer of rows needed { return (self.rowCount = Math.floor (container.height () / self.itemHeight)); }; self.initGrid = function () // Compute a grid layout for movement effects { // Container dimensions self.containerWidth = container.width (); self.containerHeight= container.height (); // container padding self.containerPadX = parseInt (container.css ('padding-left'), 10); self.containerPadY = parseInt (container.css ('padding-top'), 10); // All CSS attributes that affect how much space an item takes up self.itemPadX = ( parseInt (self.containerItems.css ('border-left-width'), 10) + parseInt (self.containerItems.css ('border-right-width'), 10) + parseInt (self.containerItems.css ('margin-left'), 10) + parseInt (self.containerItems.css ('margin-right'), 10) + parseInt (self.containerItems.css ('padding-left'), 10) + parseInt (self.containerItems.css ('padding-right'), 10) ); self.itemPadY = ( parseInt (self.containerItems.css ('border-top-width'), 10) + parseInt (self.containerItems.css ('border-bottom-width'), 10) + parseInt (self.containerItems.css ('margin-top'), 10) + parseInt (self.containerItems.css ('margin-bottom'), 10) + parseInt
[jQuery] Re: Another Superfish release already? I'm calling it v1.2b
That's great! I haven't really been paying too close attention to this until now. It's really nice. The only other thing I'd really like to see is to be able to have it change on click instead of hover. --Erik On 6/11/07, Joel Birch [EMAIL PROTECTED] wrote: Hi all, Due to overwhelming demand (well okay, two people) I have added another feature to the Superfish plugin that enables submenus to be open to show the path to the current page when the menu is in an idle state, ie. when the user is not hovering to reveal other submenus. That did not sound overly simple, but the example should clear things up: http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal- example/ Thanks to Jörn and Saphire for throwing down the gauntlet. ;) Feedback is priceless and always hugely appreciated. Joel Birch. P.S. If I am doing something horribly wrong regarding version numbers for these releases, please somebody let me know :)
[jQuery] Re: Another Superfish release already? I'm calling it v1.2b
On 11/06/2007, at 8:23 PM, Erik Beeson wrote: The only other thing I'd really like to see is to be able to have it change on click instead of hover. --Erik I'll think about the 'change on click' thing for a future version. Would would close the menus? Hover out? Another click somewhere? Thanks for the idea. Joel.
[jQuery] Re: Another Superfish release already? I'm calling it v1.2b
I'm thinking like your 2 level horizontal menus but instead of reverting to the current submenu, it stays on the clicked menu. In my case, it would only be 2 levels deep, and no event would need to make a sub-menu go away. Maybe that's far enough away from floating, hovering menus that it doesn't really fit into what you're doing. --Erik On 6/11/07, Joel Birch [EMAIL PROTECTED] wrote: On 11/06/2007, at 8:23 PM, Erik Beeson wrote: The only other thing I'd really like to see is to be able to have it change on click instead of hover. --Erik I'll think about the 'change on click' thing for a future version. Would would close the menus? Hover out? Another click somewhere? Thanks for the idea. Joel.
[jQuery] Re: block plugin
I have a strange behaviore: I block a page but when I try to unblock does't work HTML head /head body div id=cfgCartel ID_COD_EMP=%=session(cod_emp)% ID_CARTEL=id_test1 STYLE=position:absolute; top:0px; left:0px; width:1000px fieldset id=cfgCartelLoadFieldSet legend class=normalbtest/legend form action=/InmoFusion2/app/miOficina/cfgCartel/dPcfgCartel.asp method=post ID=FrmcfgCartel div id=cfgCartelLoad name=cfgCartelLoad/div brbr fieldset id=cfgCartelFieldSet_varios . . . After execute block, I inspect the DOM ... the block iframe is added just before of form node... On 6 jun, 19:49, oscar esp [EMAIL PROTECTED] wrote: You are the best On 6 jun, 18:22, Mike Alsup [EMAIL PROTECTED] wrote: Oscar, blockUI only blocks the document on which it is loaded. If you have code executing in your iframe and you want that code to block the parent document you need to call up through the parent: parent.$.blockUI(); Mike On 6/5/07,oscaresp[EMAIL PROTECTED] wrote: I use the block pluggin in my App. I have a Page with this structure: div /div div id=iframe iframe /div if I execute the blockUI action in the iframe content only blocks the iframe window... I would like to block the main window in order to block all the screen? Any idea¿?- Ocultar texto de la cita - - Mostrar texto de la cita -- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] waiting for a request to complete
I'm calling $.post to send some text back to a web server, where it gets logged. The function is something like this: function send_message(msg) { var params = {}; params['my_message'] = msg; $.post(/myhandler.php, params); } It calls a php page that appends it to a log. If I view the log in real time with tail -f log.txt, I can see the messages. The problem is that if I set up a page to send 5 messages, they aren't being displayed sequentially; I might see them in the order 2,1,4,3,5 -- and the order is random each time I call the page. What I would like to do is wait until the post function completes before continuing with the next message. Since the post returns an XMLHttpRequest object, I thought I could try some thing like: while ($.post(/myhandler.php, params).status != 200) But I think that simply keeps calling the function, making things worse. How can I query the post request for success, and not exit my function until it is done?
[jQuery] Re: optimization help
I tried the following: self.handleRange= function (rule) { valFields = $(rule.valField); if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; self.containerItems.each (function () { // This line doesn't work! thisVal = parseInt (valFields.filter (this.id).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; This seems to work but is actually slower than the original function, according to FireBug On Jun 11, 11:01 am, Gordon [EMAIL PROTECTED] wrote: I am currently working through a script that at the moment works just fine but where there are some performance bottlenecks that I am trying to reduce. It works with acceptible speed when dealing with 40 or so elements but in practice the system could be dealing with hundreds so every ms I can scrape off the execution time will help. There are two sections I am focusing on in particular. One is my initialization function, the other is part of a loop which processes elements based on the value of fields contained within. The loop has the highest optimization priority so I'll start with that. Here is my code (with some details missing) self.handleRange= function (rule) { if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; //console.log (self.containerItems.not ('.fxUnSelected').length); self.containerItems.each (function () { // This line needs optimizing! thisVal = parseInt ($(rule.valField, this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; self.containerItems is a jQuery selector I run at initialization so I don't have to keep reselecting all the items I want to work with. I wanted to rewrite the function as follows: self.handleRange= function (rule) { valFields = $(rule.valField); if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; self.containerItems.each (function () { // This line doesn't work! thisVal = parseInt (valFields.filter (this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; in my experience I have found that filtering out elements I'm not interested in from a selection I have already made is considerably faster than running a new selector to get the elements I want. My intent here was to grab all the fields which match the selector specified in the rule passed to the function (say, '.priceval' for example) and then in the loop select only the one that was relevent with this. Unfortunately, this doesn't seem to work. If anyone knows what I am doing wrong here I'd appreciate a pointer to get me going in the right direction. The other optimization I need is in initialization. My suspicion here is that copious use of parseInt is slowing this function down significantly. self.computeGridCols= function () // Calculate number of columns needed { return (self.colCount = Math.floor (container.width () / self.itemWidth)); }; self.computeGridRows= function () // Calculate numer of rows needed { return (self.rowCount = Math.floor (container.height () / self.itemHeight)); }; self.initGrid = function () // Compute a grid layout for movement effects { // Container dimensions self.containerWidth = container.width (); self.containerHeight= container.height (); // container padding self.containerPadX = parseInt (container.css ('padding-left'), 10); self.containerPadY = parseInt (container.css ('padding-top'), 10); // All CSS attributes that affect how much space an item takes up self.itemPadX
[jQuery] Re: optimization help
Actually, forget that, it doesn't work, it just no longer throws a javascript error :) On Jun 11, 12:21 pm, Gordon [EMAIL PROTECTED] wrote: I tried the following: self.handleRange= function (rule) { valFields = $(rule.valField); if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; self.containerItems.each (function () { // This line doesn't work! thisVal = parseInt (valFields.filter (this.id).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; This seems to work but is actually slower than the original function, according to FireBug On Jun 11, 11:01 am, Gordon [EMAIL PROTECTED] wrote: I am currently working through a script that at the moment works just fine but where there are some performance bottlenecks that I am trying to reduce. It works with acceptible speed when dealing with 40 or so elements but in practice the system could be dealing with hundreds so every ms I can scrape off the execution time will help. There are two sections I am focusing on in particular. One is my initialization function, the other is part of a loop which processes elements based on the value of fields contained within. The loop has the highest optimization priority so I'll start with that. Here is my code (with some details missing) self.handleRange= function (rule) { if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; //console.log (self.containerItems.not ('.fxUnSelected').length); self.containerItems.each (function () { // This line needs optimizing! thisVal = parseInt ($(rule.valField, this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; self.containerItems is a jQuery selector I run at initialization so I don't have to keep reselecting all the items I want to work with. I wanted to rewrite the function as follows: self.handleRange= function (rule) { valFields = $(rule.valField); if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; self.containerItems.each (function () { // This line doesn't work! thisVal = parseInt (valFields.filter (this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; in my experience I have found that filtering out elements I'm not interested in from a selection I have already made is considerably faster than running a new selector to get the elements I want. My intent here was to grab all the fields which match the selector specified in the rule passed to the function (say, '.priceval' for example) and then in the loop select only the one that was relevent with this. Unfortunately, this doesn't seem to work. If anyone knows what I am doing wrong here I'd appreciate a pointer to get me going in the right direction. The other optimization I need is in initialization. My suspicion here is that copious use of parseInt is slowing this function down significantly. self.computeGridCols= function () // Calculate number of columns needed { return (self.colCount = Math.floor (container.width () / self.itemWidth)); }; self.computeGridRows= function () // Calculate numer of rows needed { return (self.rowCount = Math.floor (container.height () / self.itemHeight)); }; self.initGrid = function () // Compute a grid layout for movement effects { // Container dimensions self.containerWidth = container.width (); self.containerHeight= container.height (); // container padding self.containerPadX = parseInt (container.css
[jQuery] Re: waiting for a request to complete
Where you're checking the request status you're creating a new request each time. You need to store the XHR object from the request and use that (untested): var xhr = $.post(/myhandler.php, params); while (xhr.status != 200); Alternatively you could use a globally accessibly variable which states whether there is a pending request or not. When a request is sent, set it true, when the response is received set it false. HTH --rob On 6/11/07, Phil Glatz [EMAIL PROTECTED] wrote: I'm calling $.post to send some text back to a web server, where it gets logged. The function is something like this: function send_message(msg) { var params = {}; params['my_message'] = msg; $.post(/myhandler.php, params); } It calls a php page that appends it to a log. If I view the log in real time with tail -f log.txt, I can see the messages. The problem is that if I set up a page to send 5 messages, they aren't being displayed sequentially; I might see them in the order 2,1,4,3,5 -- and the order is random each time I call the page. What I would like to do is wait until the post function completes before continuing with the next message. Since the post returns an XMLHttpRequest object, I thought I could try some thing like: while ($.post(/myhandler.php, params).status != 200) But I think that simply keeps calling the function, making things worse. How can I query the post request for success, and not exit my function until it is done? -- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 There's a whale there's a whale there's a whale fish he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.
[jQuery] Re: jquery is'nt very effective at execution
Using $(td.Name) should also improve the scripts performance as well. When you use $(.Name) it will go through all tags on the page. If the class name is on other tags as well, you could always add another selector (e.g. $(td.Name, li.Name). The best thing to do would be to cache those values, that way the selector never has to run again: // create global var var oCell; // when the DOM is ready, cache all the table cells $(document).ready( function (){ oCell = $(td.Name); } ); Now you don't have to perform the $(td.Name) look up during each keystroke--which will save you a lot of processing. -Dan
[jQuery] Re: jquery is'nt very effective at execution
this test : if( tbxValue != lastTbxValue ) will always return false because the function each() monoplize the unique thread. The event onkeyup from the textbox couldn't occur while each() is running, so tbxValue remains the same in the meantime. As I stated, you'll want to use a setTimeout() to trigger the population. This will make the execution asynchronous. I'd also recommend triggering the code to run only if another keypress hasn't occurred in the past 50-100ms or so. That way you're only running the code once the user pauses or stops typing. This is how most auto-complete/suggestion plug-ins work. -Dan
[jQuery] Moving between lists while sorting.
Hi, I am using Interface 1.2. I have two sortable lists. I also want an additional feature of moving items between lists. I went through Interface's documentation. It is mentioned that elements can be moved from one container to the other, but no where in the demos is it shown. Does any one have an idea how can this be achieved? Thanks.
[jQuery] Re: jCarousel flicker in FF 2.0
Brilliant! That fixed the flicker. Thanks again for the great script! Cheers, Sarah On Jun 11, 1:57 am, Jan Sorgalla [EMAIL PROTECTED] wrote: Hi, On 11 Jun., 00:38, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm trying to implement jCarousel (0.2.0-beta) and am having trouble with it in Firefox 2.0/Win XP http://www.homefront.tv/clients/gephardt/build/flicker.html After the slide effect, there's a flicker of white. I don't have the same problem in IE 6 or 7. I'm using the most up to date version of jQuery I can. Any ideas on how to fix the flicker? try to replace carousel.remove(i); with setTimeout(function() { carousel.remove(i); }, 20); in your mycarousel_itemVisibleOutCallback function. The function should look like: function mycarousel_itemVisibleOutCallback(carousel, item, i, state, evt) { setTimeout(function() { carousel.remove(i); }, 20); }; Jan
[jQuery] Changing images doesn´t work on IE6
Hi all. I wrote about this in a previous post, but now I find out new things trying to find a solution. To summarize: I dessign an image gallery, and when I click on one thumbnail I want to get the bigger version, changing the src attribute of an image located inside a div. The first time I load the default image when the page is loadinf, there is no problem, but when I click in a different thumbnail, in IE6 the image cannot load the file, but it does in FF and IE7. You have an example in: http://www.icorpal.com/index.php?seccion=promocionescodigo=8 The code to achieve this is: 1. To load the default image: $(#vista_promocion).load_image(http://www.icorpal.com/helpers/ image_cropped.php? width=300height=200position=centerquality=75codigo=617); 2. To change that image, when the user clicks on the thumbnail: $(a.preview_promocion).each(function(){$(this).bind (click,function(){$(#vista_promocion img).attr(src, http:// www.icorpal.com/helpers/image_cropped.php?width=300height=200position=centerquality=75codigo=+$(this).attr(id)); });}); Today I discovered two things that make it work: 1. If the image is in the cache it works. 2. If after $(#vista_promocion img).attr(src,... I write an alert function, it works also. I tried to set a delay function here to check if that can help, but it doesn´t help. Well, can anybody help? Thanks in advanced.
[jQuery] Re: Interface Sortables
Hi Robert, Sorry for the delayed reply but your post gave me a good starting point - this is how I did it in the end: $(document).ready(function() { $(#pagelist).Sortable({ accept: dragtag, axis: vertically, onchange: function() { theIds = ; $(#pagelist li).each(function() { theIds += $(this).attr(id).replace(page,) + ,; }); alert(theIds); } }); }); Thanks! On 7 Jun, 16:54, Robert O'Rourke [EMAIL PROTECTED] wrote: Michael Price wrote: Hi, Say I've got this list: ul id=sortable li id=element1stuff/li li id=element2stuff/li li id=element3stuff/li /ul UsingInterfacesortables I want to get a comma separated list of list item IDs after I've done some dragging. Say I've been doing some dragging and it's now: ul id=sortable li id=element3stuff/li li id=element1stuff/li li id=element2stuff/li /ul I can use SortSerialize but this gives me the POST-ready version. I just need element3,element1,element2. What is the best way to achieve this? Regards, Michael Price var listIds = $(#sortableli).attr(id); listIds.join(,); Is how I'd do it. Whether it'll work or not I don't know...
[jQuery] @Glen Lipka: jQuery to Prototype? (Was Re: jQuery dimScreen)
On May 29, 12:41 am, Glen Lipka [EMAIL PROTECTED] wrote: You could just make div id=overlay style=width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; z-index: 100; background-color: #00; display:none/DIV at the end of your page. Then call $(overlay).fadeTo(slow,0.5) This will fade it on over your whole screen. Make sure body and html have height: 100%. I did this yesterday here:http://www.sparkt.com/index.htm (Click the first image (top-left) to see the fade In snip I see only prototype based code there. Did you move from jQuery to Prototype? Just curious. TIA -- ?php echo 'Just another PHP saint'; ? Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/
[jQuery] Re: jquery is'nt very effective at execution
It doesn't work : I write this : input type=text name=tbxSearch id=tbxSearch class=textbox onkeypress=return disableEnterKey(event) onkeyup=tbxValue =this.value.toLowerCase();setTimeout('tbxSearch_keyup()',0); / var instance_fonction = 0; function tbxSearch_keyup() { instance_fonction++; Populate(instance_fonction); } function Populate(instance_en_cours) { rowsToShow = culmsName.contains(tbxValue).parent(); rows.not(rowsToShow).each(function(){ if(instance_fonction!=instance_en_cours) { return false; alert(interruption); } $(this).hide(); }); rowsToShow.each(function(){ if(instance_fonction!=instance_en_cours) { return false; alert(interruption); } $(this).show(); }); } Dan G. Switzer, II wrote: As I stated, you'll want to use a setTimeout() to trigger the population. This will make the execution asynchronous. -- View this message in context: http://www.nabble.com/jquery-is%27nt-very-effective-at-execution-tf3887482s15494.html#a11060848 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] NEWS: TARR: Tabbed Ajax RSS Reader
Marc Stroz has created a new Joomla module which serves as an Ajax reader. He built it by leveraging jQuery, EXT and the simplepie xml parser to display different feeds in a tabbed format. Ajaxian has a nice writeup here: http://ajaxian.com/archives/tarr-tabbed-ajax-rss-reader The direct link is here: http://www.stroz.us/php/ Its great to see Joomla getting some jQuery love. Rey -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com
[jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery
It's a very impressive app, but I'd feel better about it if the interface wasn't a blatant rip from Basecamp! On Jun 8, 5:04 pm, Rey Bango [EMAIL PROTECTED] wrote: Hmm. Looks like Joe's site is having trouble. I'll let him know about it and give you all a heads up when its up and running. Rey Andy Matthews wrote: When you login. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Friday, June 08, 2007 4:48 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery Which link Andy? Rey... Andy Matthews wrote: :( CF error: Security: The requested template has been denied access to ticc. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Friday, June 08, 2007 4:20 PM To: jQuery Discussion Subject: [jQuery] ANNOUNCE: Open Source Project Tracker Using jQuery Super ColdFusion guru and recent jQuery convert Joe Danziger has just released the beta version of his open source project management software, aptly name Project Tracker. You can get more information here: http://projecttracker.riaforge.org/index.cfm and see the application in action here: http://ajaxcf.com/project/ Description: Send messages, manage to-do lists, set milestones, share files, track issues, browse source code.. all from a streamlined interface taking advantage of the latest ajax technologies. Built using jQuery. Requirements: ColdFusion MX 6+ ColdFusion 8 required for avatar features mySQL or SQL Server jQuery Great job Joe! Rey.. -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED]://www.iambright.com
[jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery
Rey Bango schrieb: Yep. It looks very similar. The good thing about it, though, is that its leveraging jQuery, its open source and you can use it to manage as many projects are you need. isn't it based on cf ? micha
[jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery
Yes. Michael Stuhr wrote: Rey Bango schrieb: Yep. It looks very similar. The good thing about it, though, is that its leveraging jQuery, its open source and you can use it to manage as many projects are you need. isn't it based on cf ? micha -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com
[jQuery] Re: optimization help
No ideas? On Jun 11, 11:01 am, Gordon [EMAIL PROTECTED] wrote: I am currently working through a script that at the moment works just fine but where there are some performance bottlenecks that I am trying to reduce. It works with acceptible speed when dealing with 40 or so elements but in practice the system could be dealing with hundreds so every ms I can scrape off the execution time will help. There are two sections I am focusing on in particular. One is my initialization function, the other is part of a loop which processes elements based on the value of fields contained within. The loop has the highest optimization priority so I'll start with that. Here is my code (with some details missing) self.handleRange= function (rule) { if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; //console.log (self.containerItems.not ('.fxUnSelected').length); self.containerItems.each (function () { // This line needs optimizing! thisVal = parseInt ($(rule.valField, this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; self.containerItems is a jQuery selector I run at initialization so I don't have to keep reselecting all the items I want to work with. I wanted to rewrite the function as follows: self.handleRange= function (rule) { valFields = $(rule.valField); if (!(minVal = parseInt ($(rule.minField).val (), 10))) {minVal = 0}; if (!(maxVal = parseInt ($(rule.maxField).val (), 10))) {maxVal = 0x7FFF}; self.containerItems.each (function () { // This line doesn't work! thisVal = parseInt (valFields.filter (this).val (), 10); if ((thisVal minVal) || (thisVal maxVal)) { // do stuff } }); }; in my experience I have found that filtering out elements I'm not interested in from a selection I have already made is considerably faster than running a new selector to get the elements I want. My intent here was to grab all the fields which match the selector specified in the rule passed to the function (say, '.priceval' for example) and then in the loop select only the one that was relevent with this. Unfortunately, this doesn't seem to work. If anyone knows what I am doing wrong here I'd appreciate a pointer to get me going in the right direction. The other optimization I need is in initialization. My suspicion here is that copious use of parseInt is slowing this function down significantly. self.computeGridCols= function () // Calculate number of columns needed { return (self.colCount = Math.floor (container.width () / self.itemWidth)); }; self.computeGridRows= function () // Calculate numer of rows needed { return (self.rowCount = Math.floor (container.height () / self.itemHeight)); }; self.initGrid = function () // Compute a grid layout for movement effects { // Container dimensions self.containerWidth = container.width (); self.containerHeight= container.height (); // container padding self.containerPadX = parseInt (container.css ('padding-left'), 10); self.containerPadY = parseInt (container.css ('padding-top'), 10); // All CSS attributes that affect how much space an item takes up self.itemPadX = ( parseInt (self.containerItems.css ('border-left-width'), 10) + parseInt (self.containerItems.css ('border-right-width'), 10) + parseInt (self.containerItems.css ('margin-left'), 10) + parseInt (self.containerItems.css ('margin-right'), 10) + parseInt (self.containerItems.css ('padding-left'), 10) + parseInt (self.containerItems.css ('padding-right'), 10) ); self.itemPadY = ( parseInt (self.containerItems.css ('border-top-width'), 10) + parseInt (self.containerItems.css ('border-bottom-width'), 10) +
[jQuery] Form with multipart/form-data not working
Hi all, I'm trying to use the following example with a form that contains multipart/form-data in it but the ajax part won't work - http://www.shawngo.com/gafyd/index.html If I remove the enctype=multipart/form-data from the form tag it works. Here's the code... script type=text/javascript src=/code/jquery.js/script script type=text/javascript $(document).ready(function() { $('#loading').hide(); $('#product_code').blur(function() { $('#loading').show(); $.post(checkproductcode.cfm, { product_code: $('#product_code').val() }, function(response) { $('#result').fadeOut(); setTimeout(finishAjax('result', '+escape(response)+'), 400); }); return false; }); }); function finishAjax(id, response) { $('#loading').hide(); $('#'+id).html(unescape(response)); $('#'+id).fadeIn(); } /script form action=/checkproductcode.cfm method=post enctype=multipart/ form-data input type=text name=product_code id=product_code class=button size=50 / span id=loadingimg src=ajax-loader.gif alt=Loading... // span span id=result/span br / input type=submit value=Send / /form Any ideas? Thanks in advance for any replies
[jQuery] waiting for a request to complete
Rob suggested: Alternatively you could use a globally accessibly variable which states whether there is a pending request or not. When a request is sent, set it true, when the response is received set it false. Something like this? var pending = false; function send_message(msg) { pending = true; var params = {}; params['plugger_debug_message'] = msg; $.post(/myhandler.php, params, function() { pending = false;}); while (pending); } I had also tried that, but I get a browser timeout after 30 seconds. Any more thoughts? thanks
[jQuery] waiting for a request to complete
Rob wrote: Where you're checking the request status you're creating a new request each time. You need to store the XHR object from the request and use that (untested): var xhr = $.post(/myhandler.php, params); while (xhr.status != 200); With Firefox 2, I'm getting this error: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status] nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: http://pglatz.lifewire.com/sites/pglatz.lifewire.com/modules/plugger/plugger_category.js :: plugger_debug :: line 194 data: no] [Break on this error] while (xhr.status != 200); This is part of a Drupal site, if that makes any difference. thanks
[jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery
Yeah... I can see the benefits of making it look similar to basecamp, but this is almost identical. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bbuchs Sent: Monday, June 11, 2007 10:06 AM To: jQuery (English) Subject: [jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery It's a very impressive app, but I'd feel better about it if the interface wasn't a blatant rip from Basecamp! On Jun 8, 5:04 pm, Rey Bango [EMAIL PROTECTED] wrote: Hmm. Looks like Joe's site is having trouble. I'll let him know about it and give you all a heads up when its up and running. Rey Andy Matthews wrote: When you login. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Friday, June 08, 2007 4:48 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: ANNOUNCE: Open Source Project Tracker Using jQuery Which link Andy? Rey... Andy Matthews wrote: :( CF error: Security: The requested template has been denied access to ticc. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Friday, June 08, 2007 4:20 PM To: jQuery Discussion Subject: [jQuery] ANNOUNCE: Open Source Project Tracker Using jQuery Super ColdFusion guru and recent jQuery convert Joe Danziger has just released the beta version of his open source project management software, aptly name Project Tracker. You can get more information here: http://projecttracker.riaforge.org/index.cfm and see the application in action here: http://ajaxcf.com/project/ Description: Send messages, manage to-do lists, set milestones, share files, track issues, browse source code.. all from a streamlined interface taking advantage of the latest ajax technologies. Built using jQuery. Requirements: ColdFusion MX 6+ ColdFusion 8 required for avatar features mySQL or SQL Server jQuery Great job Joe! Rey.. -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED]://www.iambright.com
[jQuery] Re: Form with multipart/form-data not working
jQuery does not perform multipart/form-data encoding. It uses JavaScript's encodeURIComponent function to encode data so the correct enctype is application/x-www-form-urlencoded. Mike On 6/11/07, Neil Merton [EMAIL PROTECTED] wrote: Hi all, I'm trying to use the following example with a form that contains multipart/form-data in it but the ajax part won't work - http://www.shawngo.com/gafyd/index.html If I remove the enctype=multipart/form-data from the form tag it works. Here's the code... script type=text/javascript src=/code/jquery.js/script script type=text/javascript $(document).ready(function() { $('#loading').hide(); $('#product_code').blur(function() { $('#loading').show(); $.post(checkproductcode.cfm, { product_code: $('#product_code').val() }, function(response) { $('#result').fadeOut(); setTimeout(finishAjax('result', '+escape(response)+'), 400); }); return false; }); }); function finishAjax(id, response) { $('#loading').hide(); $('#'+id).html(unescape(response)); $('#'+id).fadeIn(); } /script form action=/checkproductcode.cfm method=post enctype=multipart/ form-data input type=text name=product_code id=product_code class=button size=50 / span id=loadingimg src=ajax-loader.gif alt=Loading... // span span id=result/span br / input type=submit value=Send / /form Any ideas? Thanks in advance for any replies
[jQuery] Re: Form with multipart/form-data not working
Looking at the sample form code provided, it doesn't look like it needs multipart/form-data anyway - isn't that only required when a file is being uploaded as part of the form submission? Regards, Michael Price Mike Alsup wrote: jQuery does not perform multipart/form-data encoding. It uses JavaScript's encodeURIComponent function to encode data so the correct enctype is application/x-www-form-urlencoded. Mike On 6/11/07, Neil Merton [EMAIL PROTECTED] wrote: Hi all, I'm trying to use the following example with a form that contains multipart/form-data in it but the ajax part won't work - http://www.shawngo.com/gafyd/index.html If I remove the enctype=multipart/form-data from the form tag it works. Here's the code... script type=text/javascript src=/code/jquery.js/script script type=text/javascript $(document).ready(function() { $('#loading').hide(); $('#product_code').blur(function() { $('#loading').show(); $.post(checkproductcode.cfm, { product_code: $('#product_code').val() }, function(response) { $('#result').fadeOut(); setTimeout(finishAjax('result', '+escape(response)+'), 400); }); return false; }); }); function finishAjax(id, response) { $('#loading').hide(); $('#'+id).html(unescape(response)); $('#'+id).fadeIn(); } /script form action=/checkproductcode.cfm method=post enctype=multipart/ form-data input type=text name=product_code id=product_code class=button size=50 / span id=loadingimg src=ajax-loader.gif alt=Loading... // span span id=result/span br / input type=submit value=Send / /form Any ideas? Thanks in advance for any replies -- Regards, Michael Price - [EMAIL PROTECTED] --- Edward Robertson Ltd. - 1 Bondgate, Darlington, DL3 7JA Direct: 01325 245077 - http://www.edwardrobertson.co.uk Office: 01325 489333 - http://www.internetwebsitedesign.co.uk --- Registered Address: 1 Bondgate, Darlington, County Durham, DL3 7JA, UK Registration Number: 3931089 - Company registered in England --- This electronic message transmission contains information from Edward Robertson Limited that may be proprietary, confidential and/or privileged. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by replying to the address listed in the From: field.
[jQuery] vignet : another great jquery powered site
http://www.teamviget.com/ great work
[jQuery] Re: Form with multipart/form-data not working
Thanks for the reply guys. Mike - I'll have a look at the application/x-www-form-urlencoded option, see what it does. Michael - that is a simplified form - the actual form does contain a file upload field. Regards, Neil On Jun 11, 5:19 pm, Michael Price [EMAIL PROTECTED] wrote: Looking at the sample form code provided, it doesn't look like it needs multipart/form-data anyway - isn't that only required when a file is being uploaded as part of the form submission? Regards, Michael Price Mike Alsup wrote: jQuery does not perform multipart/form-data encoding. It uses JavaScript's encodeURIComponent function to encode data so the correct enctype is application/x-www-form-urlencoded. Mike On 6/11/07, Neil Merton [EMAIL PROTECTED] wrote: Hi all, I'm trying to use the following example with a form that contains multipart/form-data in it but the ajax part won't work - http://www.shawngo.com/gafyd/index.html If I remove the enctype=multipart/form-data from the form tag it works. Here's the code... script type=text/javascript src=/code/jquery.js/script script type=text/javascript $(document).ready(function() { $('#loading').hide(); $('#product_code').blur(function() { $('#loading').show(); $.post(checkproductcode.cfm, { product_code: $('#product_code').val() }, function(response) { $('#result').fadeOut(); setTimeout(finishAjax('result', '+escape(response)+'), 400); }); return false; }); }); function finishAjax(id, response) { $('#loading').hide(); $('#'+id).html(unescape(response)); $('#'+id).fadeIn(); } /script form action=/checkproductcode.cfm method=post enctype=multipart/ form-data input type=text name=product_code id=product_code class=button size=50 / span id=loadingimg src=ajax-loader.gif alt=Loading... // span span id=result/span br / input type=submit value=Send / /form Any ideas? Thanks in advance for any replies -- Regards, Michael Price - [EMAIL PROTECTED] --- Edward Robertson Ltd. - 1 Bondgate, Darlington, DL3 7JA Direct: 01325 245077 -http://www.edwardrobertson.co.uk Office: 01325 489333 -http://www.internetwebsitedesign.co.uk --- Registered Address: 1 Bondgate, Darlington, County Durham, DL3 7JA, UK Registration Number: 3931089 - Company registered in England --- This electronic message transmission contains information from Edward Robertson Limited that may be proprietary, confidential and/or privileged. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by replying to the address listed in the From: field.- Hide quoted text - - Show quoted text -
[jQuery] keycode javascript conversion to jquery
Hi all, I'm looking to convert an old javascript function to jquery. It simple captured the keycode event 13 (user pressing enter on the keyboard) if the user hits enter it initiates the action of clicking a button. I want to try jquery because no matter what I do with regular javascript, the keycode never get properly initiated in firefox. I was wondering if any of you could suggest the best method using jquery so it works with both firefox 2 and IE6/7 Current javascript: /* for enter key to initiate simple search clicking enter key */ function DoEnterSearch(buttonName,e) { var key; var key = (e)? e.which: event.keyCode; if (key == 13) { //Get the button the user wants to have clicked var btn = document.getElementById(buttonName); if (btn != null) { //If we find the button click it btn.click(); if (event) event.keyCode = 0 ; return false } } } Jquery implementation $(document).ready(function() { $(#searchtxt).keydown( function(e){ var key = e.charCode || e.keyCode || 0; $('buttonsmp').click(); } ); });
[jQuery] Re: keycode javascript conversion to jquery
little mistake on my jquery attempt this $('buttonsmp').click(); should be $('#buttonsmp').click(); (the id of the button to be clicked) Jquery implementation $(document).ready(function() { $(#searchtxt).keydown( function(e){ var key = e.charCode || e.keyCode || 0; $('buttonsmp').click(); } );
[jQuery] Re: vignet : another great jquery powered site
Nicely done site. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sherlock Sent: Monday, June 11, 2007 11:27 AM To: jquery-en@googlegroups.com Subject: [jQuery] vignet : another great jquery powered site http://www.teamviget.com/ great work
[jQuery] Re: keycode javascript conversion to jquery
jQuery actually has built in key event handlers: http://jquery.com/api/ Click the K link at the top -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JimD Sent: Monday, June 11, 2007 11:48 AM To: jQuery (English) Subject: [jQuery] keycode javascript conversion to jquery Hi all, I'm looking to convert an old javascript function to jquery. It simple captured the keycode event 13 (user pressing enter on the keyboard) if the user hits enter it initiates the action of clicking a button. I want to try jquery because no matter what I do with regular javascript, the keycode never get properly initiated in firefox. I was wondering if any of you could suggest the best method using jquery so it works with both firefox 2 and IE6/7 Current javascript: /* for enter key to initiate simple search clicking enter key */ function DoEnterSearch(buttonName,e) { var key; var key = (e)? e.which: event.keyCode; if (key == 13) { //Get the button the user wants to have clicked var btn = document.getElementById(buttonName); if (btn != null) { //If we find the button click it btn.click(); if (event) event.keyCode = 0 ; return false } } } Jquery implementation $(document).ready(function() { $(#searchtxt).keydown( function(e){ var key = e.charCode || e.keyCode || 0; $('buttonsmp').click(); } ); });
[jQuery] Macrumors running live udpates of WWDC
Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown.
[jQuery] Re: Another Superfish release already? I'm calling it v1.2b
Joel Birch wrote: Hi all, Due to overwhelming demand (well okay, two people) I have added another feature to the Superfish plugin that enables submenus to be open to show the path to the current page when the menu is in an idle state, ie. when the user is not hovering to reveal other submenus. Thats cool, but not yet what I was looking for. I though of submenus that don't switch back at all until something else is hovered. That won't work without JS, but I find that acceptable. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: block plugin
I will try to attach it, however the problem is the : fieldset id=cfgCartelLoadFieldSet legend class=normalbtest/legend I have delete this lines and then works fine... On 11 jun, 18:20, Mike Alsup [EMAIL PROTECTED] wrote: Do you have a sample page? On 6/11/07, oscar esp [EMAIL PROTECTED] wrote: I have a strange behaviore: I block a page but when I try to unblock does't work- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Macrumors running live udpates of WWDC
thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Form with multipart/form-data not working
I see, thanks for the clarification. You won't need to Form Plugin to achieve that. In your original post you never said what exactly wasn't working. Is there an error? Is there a response? Setting the enctype on the form should not matter at all to the ajax methods since they will ignore that setting. Mike On 6/11/07, Neil Merton [EMAIL PROTECTED] wrote: I'll investigate the jQuery Form Plugin. What I'm trying to achieve is just a simply AJAX action when the user leaves the form field 'product_code' - the page 'checkproductcode.cfm' will then be called and check that the value in 'product_code' is not already in the database. The rest of the form I would like it to submit as usual - there is no need for the AJAX part. I hope that this sheds some more light on what it is I'm after... Many thanks. On Jun 11, 6:00 pm, Mike Alsup [EMAIL PROTECTED] wrote: Well that's a different story then. You can't upload files via ajax. Use the form plugin for that functionality. For details check out:http://www.malsup.com/jquery/form/ Mike On 6/11/07, Neil Merton [EMAIL PROTECTED] wrote: Thanks for the reply guys. Mike - I'll have a look at the application/x-www-form-urlencoded option, see what it does. Michael - that is a simplified form - the actual form does contain a file upload field.
[jQuery] Re: encodeURIComponent localized for custom encoding
I will try!! On 10 jun, 19:53, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: keep me posted!! You may also need : ajaxSetup({contentType: application/x-www-form-urlencoded; charset=whatever charset you want to call it}) On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Oscar, you can play with the jQuery from my branch (not released, and just to try it... no guarantees!!) http://jqueryjs.googlecode.com/svn/branches/jake-dev/dist/ On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: oops! that's on the googlegroups site. On 6/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: $.pair = function(f,v) {return escape(f) + = + escape(v)}; and all your 'get' parameters use the new encoding. If you care to test... I'll save up a full version on the escape is brain dead , as it won't work with the full range of UTF... but the classic hi-ascii chars seem to work.. I tested with a ö (only) On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: You are the man :-P In order to use it. then I only need add the js ¿? or I need to call a extra code!!! On 10 jun, 18:44, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful way to do non-utf encoding A couple people came up with other solutions, but I like mine best, and it shrinks the jQuery size a few bytes. On 6/10/07, oscar esp [EMAIL PROTECTED] wrote: Hi I have a problem realted with charsets as you know. Could I use this code in order to fix my problem? On 10 jun, 06:00, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: http://dev.jquery.com/ticket/1289 On 6/9/07, Brandon Aaron [EMAIL PROTECTED] wrote: Be sure to add this to trac. -- Brandon Aaron On 6/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: I also added to the patch renaming the parameter 'xml' and sometimes 'r' to 'xhr'. I think it makes it easier to read. http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js On 6/7/07, Mike Alsup [EMAIL PROTECTED] wrote: I like this patch. Jörn? Brandon? John? Anyone? alternate encoding done cleanly... http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js a small patch allows escape (or other) instead of encodeURIComponent while localizing all calls to encodeURIComponent this patch seems to make the packed size of jQuery even smaller. $.pair is used in param (serialize) and can easily be overriden. as in $.pair = function(f,v) {return escape(f) + = + escape(v)}; $.ajax({ url: /test.cgi, data: {foo:'Jörn'}, success: function(){ console.log(arguments)} }) -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita - -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: Macrumors running live udpates of WWDC
10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: ANN: jQuery-Powered Sites: The List Continues to Grow
On Thursday, June 07, 2007 10:37 PM Roberto Ortelli said: New Logitech website is using jQuery too http://www.logitech.com Anyone know which js library currently has the most high-profile sites using their library? Although I'm almost a complete novice when it comes to js it's pretty nice to see the jQuery project getting its feet in so many doors (so to speak).
[jQuery] Re: Macrumors running live udpates of WWDC
That’s a feature they’ve previously announced that I’m looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown.
[jQuery] Re: Macrumors running live udpates of WWDC
11:09 amSafari On WINDOWS11:09 am18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, *?ⓐⓚⓔ* [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, *Shelane Enos* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Validate RC2 Preview: Remember The Milk Signup
Hi, I've uploaded a preview demo of the upcoming RC2 release of the validation plugin. It features the signup form of Remember The Milk: http://jquery.bassistance.de/validate-milk/demo-test/milk.html The plugin handles keypress- and blur- for normal input elements and change-events for radio/checkbox buttons. It tries to give feedback to the user as early as possible, without disturbing with messages before the user had a chance to enter the correct value. In other words: You can tab through the fields without seeing a single error message pop up. Once you start entering something in a field and blur, it gets validated. If you go back and correct the entered value, it gets validated on instant, showing you a success-icon. Radio and checkbox buttons get validated once you change them (using keyboard or mouse). Once an error message is displayed for a field, eg. when you click submit and the field is invalid, the plugin updates the validation status as soon as possible. Give it a try, your feedback is priceless. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Validate RC2 Preview: Remember The Milk Signup
Is this a beta version of RC2? :-) I've uploaded a preview demo of the upcoming RC2 release of the validation plugin. It features the signup form of Remember The Milk: http://jquery.bassistance.de/validate-milk/demo-test/milk.html
[jQuery] Re: Macrumors running live udpates of WWDC
11:17 amInnovative new way for developing for mobile applications. based on iphone having full safari engine...gives us tremendous capability web 2.0 + AJAX apps11:16 amHave been trying to come up with a solution to letting developers write Apps for the iPhone and keep it secure. We've come up with a very sweet solution11:16 amWhat about developers?11:15 am18 days from now11:15 amShips June 29th - 6pm11:15 amONE LAST THING: iPhone THAT MEANS jQuery!! On 6/11/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: 11:09 amSafari On WINDOWS11:09 am18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, *?ⓐⓚⓔ* [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, *Shelane Enos* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Jquery presentation today
I'm giving a presentation today on jquery to our new development group. (my boss is now in charge of this group, previously under someone else here) is there any update on when 1.1.3 might be released? How close are we? Just was hoping I could say something about it. :-)
[jQuery] Re: Macrumors running live udpates of WWDC
get Safari 3.0 for Windows (or os x) ! http://www.apple.com/safari/download/ It didn't install on my os x but the windows version may work. On 6/11/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: 11:17 amInnovative new way for developing for mobile applications. based on iphone having full safari engine...gives us tremendous capability web 2.0 + AJAX apps11:16 amHave been trying to come up with a solution to letting developers write Apps for the iPhone and keep it secure. We've come up with a very sweet solution11:16 amWhat about developers?11:15 am18 days from now11:15 am Ships June 29th - 6pm11:15 amONE LAST THING: iPhone THAT MEANS jQuery!! On 6/11/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: 11:09 amSafari On WINDOWS11:09 am18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, *?ⓐⓚⓔ* [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, *Shelane Enos* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Macrumors running live udpates of WWDC
Ⓙⓐⓚⓔ wrote: get Safari 3.0 for Windows (or os x) ! http://www.apple.com/safari/download/ It didn't install on my os x but the windows version may work. It installed just fine on Vista64, and then crashed while reading the (just updated) Leopard preview page on Apple's own site. Definitely a beta.
[jQuery] Re: Macrumors running live udpates of WWDC
did you try it on any jQuery pages? On 6/11/07, Howard Jones [EMAIL PROTECTED] wrote: Ⓙⓐⓚⓔ wrote: get Safari 3.0 for Windows (or os x) ! http://www.apple.com/safari/download/ It didn't install on my os x but the windows version may work. It installed just fine on Vista64, and then crashed while reading the (just updated) Leopard preview page on Apple's own site. Definitely a beta. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Macrumors running live udpates of WWDC
Ⓙⓐⓚⓔ wrote: did you try it on any jQuery pages? Well, my own work-in-progress works as well as it does on Firefox. The Interface demos seem to be fine, and even pretty quick. Howie
[jQuery] Re: Macrumors running live udpates of WWDC
I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Monday, June 11, 2007 1:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC 11:09 am Safari On WINDOWS 11:09 am 18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Macrumors running live udpates of WWDC
I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. I also think that FF numbers are underestimated and IE numbers overesimtated: See http://www.w3schools.com/browsers/browsers_stats.asp -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Andy Matthews wrote: I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of * *Sent:* Monday, June 11, 2007 1:11 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Re: Macrumors running live udpates of WWDC 11:09 amSafari On WINDOWS 11:09 am18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, *Shelane Enos* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, *?ⓐⓚⓔ* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, *Shelane Enos* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Another Superfish release already? I'm calling it v1.2b
Its really nice even if you convinced me first that css is better for the job... Anyway good to see how evolves the soon-best-menu-ever-possible. Joel Birch wrote: Hi all, Due to overwhelming demand (well okay, two people) I have added another feature to the Superfish plugin that enables submenus to be open to show the path to the current page when the menu is in an idle state, ie. when the user is not hovering to reveal other submenus. That did not sound overly simple, but the example should clear things up: http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-example/ Thanks to Jörn and Saphire for throwing down the gauntlet. ;) Feedback is priceless and always hugely appreciated. Joel Birch. P.S. If I am doing something horribly wrong regarding version numbers for these releases, please somebody let me know :)
[jQuery] Re: Macrumors running live udpates of WWDC
I usually merge two sources for browser stats: http://www.thecounter.com/stats/2007/May/browser.php puts Safari at around 3% and http://www.echoecho.com/ (right column, halfway down) places Safari at around 1% So I'd say that 2-3% might be realistic. But how many uniques make up that list? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Felix Geisendörfer Sent: Monday, June 11, 2007 2:30 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. I also think that FF numbers are underestimated and IE numbers overesimtated: See http://www.w3schools.com/browsers/browsers_stats.asp -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Andy Matthews wrote: I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Monday, June 11, 2007 1:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC 11:09 am Safari On WINDOWS 11:09 am 18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Macrumors running live udpates of WWDC
I run one site that gets ~ 55k uniques a day with a pretty good global distribution and Safari is 1.2% and another site that gets only about 1000/day and is a more North American, and I get 2.5% Safari users, so I agree 2-3% seems realistic. On 6/11/07, Andy Matthews [EMAIL PROTECTED] wrote: I usually merge two sources for browser stats: http://www.thecounter.com/stats/2007/May/browser.php puts Safari at around 3% and http://www.echoecho.com/ (right column, halfway down) places Safari at around 1% So I'd say that 2-3% might be realistic. But how many uniques make up that list? From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Felix Geisendörfer Sent: Monday, June 11, 2007 2:30 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest.I also think that FF numbers are underestimated and IE numbers overesimtated: See http://www.w3schools.com/browsers/browsers_stats.asp -- Felix -- http://www.thinkingphp.org http://www.fg-webdesign.de Andy Matthews wrote: I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Monday, June 11, 2007 1:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC 11:09 amSafari On WINDOWS 11:09 am18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?ⓐⓚⓔ [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- .|.. Scott Trudeau scott.trudeau AT gmail DOT com http://sstrudeau.com/ AIM: sodthestreets
[jQuery] Re: Macrumors running live udpates of WWDC
Actually, since Safari was introduced 3.5 years ago and Apple ships around 5 million Macs/year now, 18 million Safari uses doesn't sound too far off. What's really going to be interesting is Apple has just expanded Safari to two new platforms, Windows and iPhone. This should expand Safari market share dramatically. --- Andy Matthews [EMAIL PROTECTED] wrote: I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Monday, June 11, 2007 1:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC 11:09 am Safari On WINDOWS 11:09 am 18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?âââ [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?âââ [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- â¿âââ - ××¢×§× ÊÇ¡Ç©È© á«áªá¦á¬ Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/
[jQuery] Re: Macrumors running live udpates of WWDC
Howard Jones schrieb: Ⓙⓐⓚⓔ wrote: did you try it on any jQuery pages? Well, my own work-in-progress works as well as it does on Firefox. The Interface demos seem to be fine, and even pretty quick. to me it's more an alpha. i surfed some more serious sites and it crashed repeatedly. but it's definately better than swift now is. but i wouldn't expect too much from this, since quicktime is so slow on windowze. plus: it doesn't fit into the gui. it will make debugging css and js a little bit easier. just my 0.2€ micha
[jQuery] Re: Macrumors running live udpates of WWDC
Jonathan Freeman schrieb: This should expand Safari market share dramatically. especially the iphone will boost it :-) micha
[jQuery] Re: Macrumors running live udpates of WWDC
So 18 million INSTALLS of Safari, maybe. Just because a user has it on their system, doesn't mean they'll use it. Microsoft might as well say that 300 million people use MS Paint for their graphics work. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Freeman Sent: Monday, June 11, 2007 2:36 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC Actually, since Safari was introduced 3.5 years ago and Apple ships around 5 million Macs/year now, 18 million Safari uses doesn't sound too far off. What's really going to be interesting is Apple has just expanded Safari to two new platforms, Windows and iPhone. This should expand Safari market share dramatically. --- Andy Matthews [EMAIL PROTECTED] wrote: I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Monday, June 11, 2007 1:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC 11:09 am Safari On WINDOWS 11:09 am 18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?â“â“šâ“” [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?â“â“šâ“” [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- â’¿â“â“šâ“” - יעקב ÊÇ¡Ç©È© ᎫᎪá¦áŽ¬ Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/
[jQuery] textNodes Plugin 0.1
a set of plugins to work with textNodes inside the dom. textNodes() replace() split() span() acronyms() more! get it here: http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/ see it here: http://cigar.dynalias.org/plugins/textNodes/textNodes.html -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Weird IE behavior - need help
thanks again, the thing with the each-scoped functions was really new to me. I'm really waiting for johns book :) the reason for the jquery unlike class string manipulation was the weired behavior and my thought that multiple css changes can produce the slowdown effect. i will change it back to the addClass... removeClass... functions soon, because my solution is only unrecognizable nanosecs faster. the setTimeout trick did the real magic... stefan flick
[jQuery] Re: Validate RC2 Preview: Remember The Milk Signup
Mike Alsup wrote: Is this a beta version of RC2? :-) Oh well. There is still much to learn :-) -- Jörn Zaefferer http://bassistance.de
[jQuery] Noob here, please help
Ok, so here is the page: http://www.tcbader.com/conf/ Why us my content to the right and not below the tabs like the example page here: http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/ What am I missing? Hope this makes it to the list...
[jQuery] Re: Noob here, please help
they look the same to me. I don't see what the problem is... --Erik On 6/11/07, Terry B [EMAIL PROTECTED] wrote: Ok, so here is the page: http://www.tcbader.com/conf/ Why us my content to the right and not below the tabs like the example page here: http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/ What am I missing? Hope this makes it to the list...
[jQuery] Re: Noob here, please help
Terry, It is a styling issue, the LI have a float on them and the DIV does not. (this is only happening in IE) Ben On 6/11/07, Terry B [EMAIL PROTECTED] wrote: Ok, so here is the page: http://www.tcbader.com/conf/ Why us my content to the right and not below the tabs like the example page here: http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/ What am I missing? Hope this makes it to the list... -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com
[jQuery] Re: Noob here, please help
Ah yes. Should say, I'm using FF2/Mac and it looks fine. --Erik On 6/11/07, Erik Beeson [EMAIL PROTECTED] wrote: they look the same to me. I don't see what the problem is... --Erik On 6/11/07, Terry B [EMAIL PROTECTED] wrote: Ok, so here is the page: http://www.tcbader.com/conf/ Why us my content to the right and not below the tabs like the example page here: http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/ What am I missing? Hope this makes it to the list...
[jQuery] Re: Macrumors running live udpates of WWDC
I see your point, but actually that many people probably DO use IE. Most PC users don't bother switching browsers because: a) They don't know any better b) They don't care c) IE works just fine for them so why should they change. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Scott Sent: Monday, June 11, 2007 3:16 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC Andy Matthews wrote: So 18 million INSTALLS of Safari, maybe. Just because a user has it on their system, doesn't mean they'll use it. Microsoft might as well say that 300 million people use MS Paint for their graphics work. A more correct analogy would be saying 300 million people use IE... Safari is the default browser for Mac like IE is for Windows. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Freeman Sent: Monday, June 11, 2007 2:36 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC Actually, since Safari was introduced 3.5 years ago and Apple ships around 5 million Macs/year now, 18 million Safari uses doesn't sound too far off. What's really going to be interesting is Apple has just expanded Safari to two new platforms, Windows and iPhone. This should expand Safari market share dramatically. --- Andy Matthews [EMAIL PROTECTED] wrote: I have SERIOUS, SERIOUS doubts that there are 18 million people using Safari. I doubt there are that many people using Macs to be perfectly honest. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Monday, June 11, 2007 1:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Macrumors running live udpates of WWDC 11:09 am Safari On WINDOWS 11:09 am 18 Million Safari users Marketshare has climbed to 4.9% IE has 78%, Firefox 15%, others 2% We Dream Big On 6/11/07, Shelane Enos [EMAIL PROTECTED] wrote: That's a feature they've previously announced that I'm looking forward to. On 6/11/07 10:52 AM, ?â“â“šâ“” [EMAIL PROTECTED] wrote: 10:49 amusing safari to make widgets from web pages Woo hoo! On 6/11/07, ?â“â“šâ“” [EMAIL PROTECTED] wrote: thanks Shelane! I've been tuned in since 10 am!!! On 6/11/07, Shelane Enos [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Macrumors.com http://Macrumors.com http://Macrumors.com is running a continuous AJAX update of the keynote address of WWDC. No more update in 60 seconds countdown. -- â’¿â“â“šâ“” - יעקב ÊÇ¡Ç©È© ᎫᎪá¦áŽ¬ Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ -- Chris Scott Adaptive Hosting Solutions, Inc. | Blogzerk - blog hosting http://www.adaptivehostingsolutions.com/ | http://www.blogzerk.com/
[jQuery] Re: Validate RC2 Preview: Remember The Milk Signup
Exciting! Here would be my (humble) suggestions: 1. Required fields. As a general rule, you should have a * asterisk to the left or right of the input field in a straight vertical line to indicate required. Bold is ok, but it's not quite enough to let the user know. 2. When the user clicks submit, it puts all these words on the right in red. Its sort of overwhelming. Highlighting the input field is more important than red to the right. Red to the right makes more sense as Inline errors. Like email or password format. 3. It still could use something at the top. Like You missed X field(s). They have been highlighted below. This implies you should scroll to the top of the form when submit with this kind of error. Think of a long form, where the user clicks submit and missed the very first field. It would be offscreen otherwise. 4. When doing it right, the checkbox is a nice touch, but I would make it a little more subtle. Additionally, use Swiss Design techniques. This means everything lines up. So all the checks line up vertically. 5. As a general rule, I usually make form fields taller. Users have terrible fine motor skills. A big box is easier to input. Check out the username and password fields in Wordpress. http://www.commadot.com/wp-admin 6. Onblur of the password field. it's usually good practice to erase the field once you have a mismatch. It's near impossible to try to fix it with the stars there. Maybe that could be an option in the setup? like errorClearInput: false; or whatever. 7. Looking at the setup. I like the {0} to represent the number, but what if the number is 1. Then it would say, Enter at least 1 characters. Singular vs. Plural. It's a nitpick to be sure, but it's good grammar. if you could say minLength: String.format(Enter at least {0} character{s}) or whatever...something to say greater than 1 gets this otherwise, default. It's not critical, but its a nice to have. I recently just launched a form that I tried, but couldn't use the validation plugin.. Check out the form. I actually have some issues with it, but its ok. http://app.marketo.com/signup/signup/code/standard Notice the tooltip on the password. I used hoverIntent. Cool plugin. That would be a kickass addition to your validator. Like have a hint declaration which would insert a questionmark with hover attached. And if hoverIntent exists, then it could use that instead? Anyway, I hope this helps out some. :) Glen On 6/11/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, I've uploaded a preview demo of the upcoming RC2 release of the validation plugin. It features the signup form of Remember The Milk: http://jquery.bassistance.de/validate-milk/demo-test/milk.html The plugin handles keypress- and blur- for normal input elements and change-events for radio/checkbox buttons. It tries to give feedback to the user as early as possible, without disturbing with messages before the user had a chance to enter the correct value. In other words: You can tab through the fields without seeing a single error message pop up. Once you start entering something in a field and blur, it gets validated. If you go back and correct the entered value, it gets validated on instant, showing you a success-icon. Radio and checkbox buttons get validated once you change them (using keyboard or mouse). Once an error message is displayed for a field, eg. when you click submit and the field is invalid, the plugin updates the validation status as soon as possible. Give it a try, your feedback is priceless. -- Jörn Zaefferer http://bassistance.de
[jQuery] IDEA: Plugin Registering
I just had an idea, and thought Id share. Imagine http://plugins.jquery.com Besides listing all the plugins with ratings and everything (the usual)... You could REGISTER your site as using a particular plugin. So when there is a new version, I would receive an email saying, Hey, you use this plugin and you might want to upgrade. It has the following enhancements. Right now, I can't keep track of all the plugins I've used and what version they are. What is the status of the enhanced plugin site anyway? Glen
[jQuery] Re: jquery is'nt very effective at execution
function Populate(instance_en_cours) { rowsToShow = culmsName.contains(tbxValue).parent(); rows.not(rowsToShow).each(function(){ if(instance_fonction!=instance_en_cours) { return false; alert(interruption); } $(this).hide(); }); rowsToShow.each(function(){ if(instance_fonction!=instance_en_cours) { return false; alert(interruption); } $(this).show(); }); } If I replace your Populate() with the following: var oCells = null; function Populate(instance_en_cours) { if( oCells == null ) oCells = $(td.Name); var sCurrent = tbxValue; oCells.each( function (){ var c = $(this), p = c.parent(); p[0].style.display = (c.text().toLowerCase().indexOf(sCurrent) - 1) ? : none; } ); } I get really good performance. The biggest hit comes after the first key press when the oCells code runs. You could probably cache that at an earlier time. I tried doing it at $(document).ready() but it seems like you move those items during the window.onload event--so it makes the cache obsolete. -Dan
[jQuery] Re: IDEA: Plugin Registering
I keep my plugins on http://jqueryjs.googlecode.com/svn/trunk/plugins/ the google repository for jQuery plugins. On 6/11/07, Glen Lipka [EMAIL PROTECTED] wrote: I just had an idea, and thought Id share. Imagine http://plugins.jquery.com Besides listing all the plugins with ratings and everything (the usual)... You could REGISTER your site as using a particular plugin. So when there is a new version, I would receive an email saying, Hey, you use this plugin and you might want to upgrade. It has the following enhancements. Right now, I can't keep track of all the plugins I've used and what version they are. What is the status of the enhanced plugin site anyway? Glen -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: IDEA: Plugin Registering
It's a great idea. Could also allow for a dynamic listing of sites using jQuery. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Monday, June 11, 2007 4:11 PM To: jquery-en@googlegroups.com Subject: [jQuery] IDEA: Plugin Registering I just had an idea, and thought Id share. Imagine http://plugins.jquery.com Besides listing all the plugins with ratings and everything (the usual)... You could REGISTER your site as using a particular plugin. So when there is a new version, I would receive an email saying, Hey, you use this plugin and you might want to upgrade. It has the following enhancements. Right now, I can't keep track of all the plugins I've used and what version they are. What is the status of the enhanced plugin site anyway? Glen
[jQuery] Re: IDEA: Plugin Registering
an idea would be to place an innocuous tag in our pages, thus making it searchable by google and others span class='display:none'Powered by jQuery/span On 6/11/07, Andy Matthews [EMAIL PROTECTED] wrote: It's a great idea. Could also allow for a dynamic listing of sites using jQuery. -- *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glen Lipka *Sent:* Monday, June 11, 2007 4:11 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] IDEA: Plugin Registering I just had an idea, and thought Id share. Imagine http://plugins.jquery.com Besides listing all the plugins with ratings and everything (the usual)... You could REGISTER your site as using a particular plugin. So when there is a new version, I would receive an email saying, Hey, you use this plugin and you might want to upgrade. It has the following enhancements. Right now, I can't keep track of all the plugins I've used and what version they are. What is the status of the enhanced plugin site anyway? Glen -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Validate RC2 Preview: Remember The Milk Signup
Glen Lipka wrote: Exciting! Here would be my (humble) suggestions: 1. Required fields. As a general rule, you should have a * asterisk to the left or right of the input field in a straight vertical line to indicate required. Bold is ok, but it's not quite enough to let the user know. 2. When the user clicks submit, it puts all these words on the right in red. Its sort of overwhelming. Highlighting the input field is more important than red to the right. Red to the right makes more sense as Inline errors. Like email or password format. Gonna work on that, though with a different example. 3. It still could use something at the top. Like You missed X field(s). They have been highlighted below. This implies you should scroll to the top of the form when submit with this kind of error. Think of a long form, where the user clicks submit and missed the very first field. It would be offscreen otherwise. That is something the error container should be good for. 4. When doing it right, the checkbox is a nice touch, but I would make it a little more subtle. Additionally, use Swiss Design techniques. This means everything lines up. So all the checks line up vertically. I konw the Swiss army knife, but hadn't heard of Swiss Design. Its mostly a CSS/layout issue, but nonetheless important. 5. As a general rule, I usually make form fields taller. Users have terrible fine motor skills. A big box is easier to input. Check out the username and password fields in Wordpress. http://www.commadot.com/wp-admin Yeah, those are hard to miss. 6. Onblur of the password field. it's usually good practice to erase the field once you have a mismatch. It's near impossible to try to fix it with the stars there. Maybe that could be an option in the setup? like errorClearInput: false; or whatever. I don't like that clearing for other fields, but I agree that its good for password fields. Thats the behaviour most users should be used to anyway (eg. OS login, PIN numbers) 7. Looking at the setup. I like the {0} to represent the number, but what if the number is 1. Then it would say, Enter at least 1 characters. Singular vs. Plural. It's a nitpick to be sure, but it's good grammar. if you could say minLength: String.format(Enter at least {0} character{s}) or whatever...something to say greater than 1 gets this otherwise, default. It's not critical, but its a nice to have. Tricky, but not impossible. I see what I can do about it. I recently just launched a form that I tried, but couldn't use the validation plugin.. Check out the form. I actually have some issues with it, but its ok. http://app.marketo.com/signup/signup/code/standard http://app.marketo.com/signup/signup/code/standard Gonna take that as the base for the next example to work on. Notice the tooltip on the password. I used hoverIntent. Cool plugin. That would be a kickass addition to your validator. Like have a hint declaration which would insert a questionmark with hover attached. And if hoverIntent exists, then it could use that instead? I really have to check how to build a nice tooltip plugin on top of hoverIntent. Anyway, I hope this helps out some. :) Thanks again, Glen! -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: textNodes Plugin 0.1
Ⓙⓐⓚⓔ schrieb: a set of plugins to work with textNodes inside the dom. textNodes() replace() split() span() acronyms() more! get it here: http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/ see it here: http://cigar.dynalias.org/plugins/textNodes/textNodes.html great idea, i ever wondered if there are more like this e.g. to maipulate array etc. micha
[jQuery] Re: Jquery presentation today
On Monday, June 11, 2007 11:38 AM Shelane Enos said: I'm giving a presentation today on jquery to our new development group. (my boss is now in charge of this group, previously under someone else here) is there any update on when 1.1.3 might be released? How close are we? Just was hoping I could say something about it. :-) Say this, jQuery 1.1.3 is currently being tested and will be available sometime in the future. How's that? :P
[jQuery] Re: textNodes Plugin 0.1
Michael Stuhr wrote: Ⓙⓐⓚⓔ schrieb: a set of plugins to work with textNodes inside the dom. textNodes() replace() split() span() acronyms() more! get it here: http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/ see it here: http://cigar.dynalias.org/plugins/textNodes/textNodes.html Interesting stuff Jake. I'm missing some examples that are easier to grasp (while quickly scanning over the page). I didn't get yet what those are actually good for, though it feels like there is a lot. Maybe an interactive demo would help: Offer a textbox where a user can enter scripts to run and select or manipulate stuff on the page, with hints about which stuff to try out. And/or checkboxes to turn plugin options on/off. Pointing users to page source doesn't help much when you don't have any idea what to look for. great idea, i ever wondered if there are more like this e.g. to maipulate array etc. Have you checked these? http://dev.jquery.com/browser/trunk/plugins/methods/ -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Noob here, please help
But (to my knowledge) I am using the same stylesheets as the example... yes? no? I thought I pretty much stripped it down to the bare minimum and the style settings. On Jun 11, 4:44 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Terry, It is a styling issue, the LI have a float on them and the DIV does not. (this is only happening in IE) Ben On 6/11/07, Terry B [EMAIL PROTECTED] wrote: Ok, so here is the page: http://www.tcbader.com/conf/ Why us my content to the right and not below the tabs like the example page here: http://www.tcbader.com/conf/%5Fjs/jquery%2Dtabs/ What am I missing? Hope this makes it to the list... -- Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com- Hide quoted text - - Show quoted text -
[jQuery] Re: textNodes Plugin 0.1
it's release 0.1 ... more sample and code to follow. If we had a dev list, I would have posted there first. it started with fudging textNodes into a jQuery... it was messy, but worked... I needed some more tools, so I cleaned it all up... and wrote the plugin. the acronym method is especially cute. On 6/11/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Michael Stuhr wrote: Ⓙⓐⓚⓔ schrieb: a set of plugins to work with textNodes inside the dom. textNodes() replace() split() span() acronyms() more! get it here: http://jqueryjs.googlecode.com/svn/trunk/plugins/textNodes/ see it here: http://cigar.dynalias.org/plugins/textNodes/textNodes.html Interesting stuff Jake. I'm missing some examples that are easier to grasp (while quickly scanning over the page). I didn't get yet what those are actually good for, though it feels like there is a lot. Maybe an interactive demo would help: Offer a textbox where a user can enter scripts to run and select or manipulate stuff on the page, with hints about which stuff to try out. And/or checkboxes to turn plugin options on/off. Pointing users to page source doesn't help much when you don't have any idea what to look for. great idea, i ever wondered if there are more like this e.g. to maipulate array etc. Have you checked these? http://dev.jquery.com/browser/trunk/plugins/methods/ -- Jörn Zaefferer http://bassistance.de -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
[jQuery] Re: Jquery similar to twinhelix's supernote js
I have a mockup with working menus now: http://70.133.227.118/version1Bsubs.htm (temp link) Sorry for not mentioning originally it was to be in the main navigation. Hover in the main menu over schools, service/support, job opps to see pretty much the functionality I'm after. This is supernote code for these menu's. Innerfades doing a little news fade in the div just under the header, and will also provide a slideshow. Any ideas of supernote could benefit from jquery, it's working great and was easy for a hack monkey like me to get working. ty On Jun 11, 9:32 am, [EMAIL PROTECTED] wrote: Thanks sozzi, might be what I'm looking for, I just want the div to show on hover and hide when the original link or opening div is not hovered. Is it possible with the jqModal plugin? Also I might want the hover resulting div to popover the exisiting hyperlink/menu items on it's own dhtml layer. Any examples of something like that. Having to X-out to close a menu type item is cumbersome almost immediately. I am talking about a sites main menu navigation system in a left hand column. thanks. On Jun 10, 4:55 pm, sozzi [EMAIL PROTECTED] wrote: From our description you are not exactly looking for a tool-tip solution, more a sticky note solution. Have a look at:http://dev.iceburg.net/jquery/jqModal/ jqModal example 3c should be doing what you are looking for. Have a nice weekend. On Jun 8, 3:11 pm, [EMAIL PROTECTED] wrote: Still not really a clickable solution is it? The sticky version where you have to X out and close it is not good at all for a menu solution. Maybe I'm stuck with twinHelix supernote. Didn't get a chance to work on it. have to wait till monday.
[jQuery] :contains - a bit more specific?
I have some layers, each of this layers has a span tag with a username. Now, I want to append some code to each layer that has a span which contains 'test'. The code I tried is: $(div.commentfooter[span:contains('test')]).append('class'); But that also appends 'class' to layers that have a span tag containing 'testman' or 'tester'. What do I need to change to only select those layers that have a span tag that contains the word 'test' and only this word? $(div.commentfooter[span:is('test')]).append('class'); doesn't work. :-( ---dominik
[jQuery] Re: Validate RC2 Preview: Remember The Milk Signup
http://en.wikipedia.org/wiki/International_Typographic_Style Doesn't say much about it, but that is probably appropriate. :) Basically it means designing with an invisible grid that everything lines up to. Glen On 6/11/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Glen Lipka wrote: Exciting! Here would be my (humble) suggestions: 1. Required fields. As a general rule, you should have a * asterisk to the left or right of the input field in a straight vertical line to indicate required. Bold is ok, but it's not quite enough to let the user know. 2. When the user clicks submit, it puts all these words on the right in red. Its sort of overwhelming. Highlighting the input field is more important than red to the right. Red to the right makes more sense as Inline errors. Like email or password format. Gonna work on that, though with a different example. 3. It still could use something at the top. Like You missed X field(s). They have been highlighted below. This implies you should scroll to the top of the form when submit with this kind of error. Think of a long form, where the user clicks submit and missed the very first field. It would be offscreen otherwise. That is something the error container should be good for. 4. When doing it right, the checkbox is a nice touch, but I would make it a little more subtle. Additionally, use Swiss Design techniques. This means everything lines up. So all the checks line up vertically. I konw the Swiss army knife, but hadn't heard of Swiss Design. Its mostly a CSS/layout issue, but nonetheless important. 5. As a general rule, I usually make form fields taller. Users have terrible fine motor skills. A big box is easier to input. Check out the username and password fields in Wordpress. http://www.commadot.com/wp-admin Yeah, those are hard to miss. 6. Onblur of the password field. it's usually good practice to erase the field once you have a mismatch. It's near impossible to try to fix it with the stars there. Maybe that could be an option in the setup? like errorClearInput: false; or whatever. I don't like that clearing for other fields, but I agree that its good for password fields. Thats the behaviour most users should be used to anyway (eg. OS login, PIN numbers) 7. Looking at the setup. I like the {0} to represent the number, but what if the number is 1. Then it would say, Enter at least 1 characters. Singular vs. Plural. It's a nitpick to be sure, but it's good grammar. if you could say minLength: String.format(Enter at least {0} character{s}) or whatever...something to say greater than 1 gets this otherwise, default. It's not critical, but its a nice to have. Tricky, but not impossible. I see what I can do about it. I recently just launched a form that I tried, but couldn't use the validation plugin.. Check out the form. I actually have some issues with it, but its ok. http://app.marketo.com/signup/signup/code/standard http://app.marketo.com/signup/signup/code/standard Gonna take that as the base for the next example to work on. Notice the tooltip on the password. I used hoverIntent. Cool plugin. That would be a kickass addition to your validator. Like have a hint declaration which would insert a questionmark with hover attached. And if hoverIntent exists, then it could use that instead? I really have to check how to build a nice tooltip plugin on top of hoverIntent. Anyway, I hope this helps out some. :) Thanks again, Glen! -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: Another Superfish release already? I'm calling it v1.2b
On 12/06/2007, at 3:13 AM, Jörn Zaefferer wrote: Thats cool, but not yet what I was looking for. I though of submenus that don't switch back at all until something else is hovered. That won't work without JS, but I find that acceptable. -- Jörn Zaefferer Hi Jörn, I had a feeling that is what you meant - and actually, that is really easy to do. In fact, it was possible to get that behaviour even before I did this extra stuff, simply by setting the mouseout delay to 999. Then the menus never close until another is hovered. I'll put together a demo of that when I get chance. Joel Birch.
[jQuery] Re: Macrumors running live udpates of WWDC
I'm *really* excited to be able to run Safari on Windows, but has anyone used this beta? I've never seen anything render so slowly. It's entirely unusable on my XP box. Mike get Safari 3.0 for Windows (or os x) ! http://www.apple.com/safari/download/
[jQuery] Re: Macrumors running live udpates of WWDC
Works fine on my XP (the one that sits in the corner of my office), though I haven¹t used it extensively. I can¹t believe that they would bother, personally. But what is nice is that is applies smooth font so pages look like they do on the Mac :-) On 6/11/07 3:51 PM, Mike Alsup [EMAIL PROTECTED] wrote: I'm *really* excited to be able to run Safari on Windows, but has anyone used this beta? I've never seen anything render so slowly. It's entirely unusable on my XP box. Mike get Safari 3.0 for Windows (or os x) ! http://www.apple.com/safari/download/
[jQuery] Re: Macrumors running live udpates of WWDC
Mike Alsup wrote on 6/11/2007 3:51 PM: I'm *really* excited to be able to run Safari on Windows, but has anyone used this beta? I've never seen anything render so slowly. It's entirely unusable on my XP box. You should wait to test anything other than your own site with it until the security bugs are patched: - David Maynor said... Yup, we are up to 6 bugs so far. 4 DoS and 2 remote execution. Not bad for an afternoon of idle fuzzing. from: http://erratasec.blogspot.com/2007/06/nce.html - - Bil
[jQuery] find is finding what?
Hi, I have the following: var stack = $('#mydiv') var last = stack.find('.card:last-child'); It doesn't make sense to me, b/c even if stack has no children, last is being assigned to some object irregardless of the '.card' filter. To work around I had to do this next: if (last.is('.card')) { return last; } else { return null; }; What am I misunderstanding? Thanks, T.
[jQuery] Re: :contains - a bit more specific?
You could always use a filter function (untested): $('div.commentfooter span').filter(function() { return $(this).html() == 'test'; }).append('class'); But you may find it easier to give the spans in question a class so you can select them by class instead. SGML type markups seem to generally prefer selection/manipulation by markup instead of by content. --Erik On 6/11/07, MrNase [EMAIL PROTECTED] wrote: I have some layers, each of this layers has a span tag with a username. Now, I want to append some code to each layer that has a span which contains 'test'. The code I tried is: $(div.commentfooter[span:contains('test')]).append('class'); But that also appends 'class' to layers that have a span tag containing 'testman' or 'tester'. What do I need to change to only select those layers that have a span tag that contains the word 'test' and only this word? $(div.commentfooter[span:is('test')]).append('class'); doesn't work. :-( ---dominik
[jQuery] Re: find is finding what?
jQuery always returns a jQuery object, regardless of whether it finds anything or not. To see if anything has been selected, use last.length or last.size() being greater than 0. This is by design so chaining won't break if nothing is selected: $('.someSelector').addClass('highlighted'); Will add the class to the selected stuff, if anything is selected. Otherwise, it doesn't do anything. --Erik On 6/11/07, Trans [EMAIL PROTECTED] wrote: Hi, I have the following: var stack = $('#mydiv') var last = stack.find('.card:last-child'); It doesn't make sense to me, b/c even if stack has no children, last is being assigned to some object irregardless of the '.card' filter. To work around I had to do this next: if (last.is('.card')) { return last; } else { return null; }; What am I misunderstanding? Thanks, T.
[jQuery] Autcomplete function help
I need to make some things when a value isnt given back in the autocomplete, i mean, when the input loses the focus (blur), to make certain tasks, but does not exist a function in the class for it, where I can implement a species callback, maybe a onNoneFoundValue option? onItemSelect and onFindValue dont work thx sebastián -- Estoy usando la versión gratuita de SPAMfighter para usuarios privados. Ha eliminado 2624 correos spam hasta la fecha. Los usuarios de pago no tienen este mensaje en sus correos. Obtenga SPAMfighter gratis aquí: http://www.spamfighter.com/les
[jQuery] Re: Macrumors running live udpates of WWDC
Sounds like you haven't switched yet. Some of us know the PC in the corner scenario well :) Seriously, I got a Mac because I needed it to test code on, and it's now my only computer. I'm not a mac user, I'm still a diehard PC user, but my brand of hardware has changed (same Intel processor though :) ). This Mac is the best PC I've ever used. Windows boots so much faster on Parallels than it ever did on PC hardware (like 15 seconds from launching parallels to surfing the web in XP). Even going from powered off to XP is faster than booting XP on my PC. My excuse was always one of cost, but I did the math, and it really isn't much more expensive anymore. And it certainly isn't more expensive if you factor in the increase in productivity and the time that I've saved from not fighting with windows so much anymore. Ok, /rant. Back to work. --Erik On 6/11/07, Chris W. Parker [EMAIL PROTECTED] wrote: On Monday, June 11, 2007 3:58 PM Shelane Enos said: Works fine on my XP (the one that sits in the corner of my office), though I haven't used it extensively. Oh *that* computer? The one in the corner of your office? For minute there I thought you were talking about a different computer...
[jQuery] Re: Macrumors running live udpates of WWDC
I AM a Mac user and have been for more that 15 years now. My PC is the machine that sits in the corner b/c I only use it when I have to, and that¹s for testing web apps only. It¹s a laptop, so it doesn¹t have to get in my way. I just VNC to it from my Mac when I test. :-) On 6/11/07 5:17 PM, Erik Beeson [EMAIL PROTECTED] wrote: Sounds like you haven't switched yet. Some of us know the PC in the corner scenario well :) Seriously, I got a Mac because I needed it to test code on, and it's now my only computer. I'm not a mac user, I'm still a diehard PC user, but my brand of hardware has changed (same Intel processor though :) ). This Mac is the best PC I've ever used. Windows boots so much faster on Parallels than it ever did on PC hardware (like 15 seconds from launching parallels to surfing the web in XP). Even going from powered off to XP is faster than booting XP on my PC. My excuse was always one of cost, but I did the math, and it really isn't much more expensive anymore. And it certainly isn't more expensive if you factor in the increase in productivity and the time that I've saved from not fighting with windows so much anymore. Ok, /rant. Back to work. --Erik On 6/11/07, Chris W. Parker [EMAIL PROTECTED] wrote: On Monday, June 11, 2007 3:58 PM Shelane Enos said: Works fine on my XP (the one that sits in the corner of my office), though I haven't used it extensively. Oh *that* computer? The one in the corner of your office? For minute there I thought you were talking about a different computer...
[jQuery] Re: Validate() and TinyMCE problem
Keep in mind I don't using TinyMCE, I use FCKEditor, but the principle should be the same... Basically, I write a small plugin that is responsible for 1. Creating an instance of the editor 2. Retrieving the HTML content from the editor and 'preparing' it for form submission For example... $.FCK.Start(); // creates the editors $.FCK.Update(); // updates the editors At the moment, all my form submissions go through one function that will always call the $.FCK.Update() method, but this could be integrated with other plugins - in their configuration For example... if (options.FCKEditor) $.FCK.Update(); My implementation is very specific to my needs, but I can send you the code and help you work on a more generic solution if you like. Just let me know... On Jun 7, 1:36 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Diego A. wrote: I don't use TinyMCE but I have a similar problem with FCKEditor and Codepress (both JS based rich-text editors). Usually, these RT editors update the contents of the field/textarea element just before the form is submitted, which probably happens after your validation. I work around it by manually updating the value of the field/textarea before I call the validation/submit the form. Could you describe in more detail how you do that? As this issue is quite likely to occur for others, I'd like to write examples showing how to integrate validation with those editors. -- Jörn Zaefferer http://bassistance.de
[jQuery] Re: LiteBox in jQuery
Ok, now I get it! Thanks guys ;-) On May 31, 6:35 pm, Rhapidophyllum [EMAIL PROTECTED] wrote: One more thing--almost forgot. Since photos can of course take a while to download, it's good to preload them. I'm not sure if this is correct, but I think Lightbox 2 preloads 1 image, but Thickbox doesn't preload any. On May 31, 2007, at 11:53 AM, Rhapidophyllum wrote: The other difference is that Thickbox resizes images to fit the screen + buffer size. While this is good in many situations, it often isn't desirable for displaying photos, where you typically want users to see the original photo quality. Lightbox 2 has the animated size transitions, and displays photos full size. So having something like Litebox which could be more suited to photo galleries than Thickbox is a good thing to have. On May 31, 2007, at 10:47 AM, Karl Swedberg wrote: On May 31, 2007, at 6:44 AM, Diego A. wrote: As far as as can see, the jQuery Thickbox does everything the others do. I use it here: http://www.london-dry-cleaners.com/Laundry/ What am I missing? The default thickbox implementation doesn't have animated sizing of the images. They just pop up there with no transition from one to the next. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com