[jQuery] load won't post params
Hi all, I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to url. How should I use the params now? I've checked through firebug and usually (jQuery 1.0.4) it shows the post variables but now it doesn't (so no params sent). Is this intentionally a feature? or I need to use another ajax method instead of load (which i hope not.. because this means a lot of recoding :))? thanks [g] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Very long input text value and focus
Hello, I don't know how to do that in JS or in JQuery, here is the problem: Imagine 2 or 3 text fields of a form. A long value text is displayed in each field. The text is too long and when I put a focus on a field I did not see the cursor. How can I automatically display the end of the text when I focus it? Hoping is clear... thanks in advance -- Roberto ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
John Resig wrote: jQuery 1.1 has just been released, ... This is really a great thing. I am looking onto jQuery architecture, development and possibilities with great interest and admiration. John Resig wrote: ..., along with an overhaul of the site design, ... Some remarks to the site layout in IE 6.0 (with Window System Fonts set to Large): - in View-Text Size-Smallest it looks propably as designed: http://www.nabble.com/file/5639/jQuerySmallest.jpg (however, with last two links on right side overlapped with bottom grey part) - in View-Text Size-Medium the right upper pane with significant jQuery features in unreadable: http://www.nabble.com/file/5640/jQueryMedium.jpg which looks quite as sabotage against new jQuery. Comparing not only speed results with Jack Slocum, but also his site layout and functionality (based on his yui-ext) with that of jQuery (based on jQuery), I would like to stress how external layout is important for instant opinion about library quality... With regards, Krzysztof -- View this message in context: http://www.nabble.com/jQuery-1.1%2C-Site%2C-Docs%2C-Surprise-tf3012331.html#a8368874 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Update to 1.1 question
Hi, thanks for 1.1, great I have the funktion changed to work in 1.1: $('textarea').each(function(i) { $(this).attr({ id: txtarea_'+i+' }) . and so on How i must given the dynamic i append to the ID? All what i do give me back i and not the the number! -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Update to 1.1 question
On 1/15/07, Olaf Bosch [EMAIL PROTECTED] wrote: Hi, thanks for 1.1, great I have the funktion changed to work in 1.1: $('textarea').each(function(i) { $(this).attr({ id: txtarea_'+i+' }) . and so on How i must given the dynamic i append to the ID? All what i do give me back i and not the the number! This is not associated with 1.1 version, you could: $('textarea').each(function(i) { $(this).attr('id', txtarea_+i) } You donot must pass {} to attr. -- I like python! UliPad The Python Editor: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] datePicker
I've only recently discovered jQuery, and I'm quite impressed. I'm going to be porting some code for an application that was developed without a js framework (I'm going to be using it in the next version of my CMS project http://lucidcms.net ). For the most part, I' think this is going to be pretty painless and jQuery will give me a lot of new possibilities. But I'm having a hard time finding a suitable replacement for jscalendar ( http://www.dynarch.com/demos/jscalendar/ ). The datePicker plugin doesn't have the range of features available in jscalendar, and while I admire simplicity and light weight, there are things in jscalendar that I can not give up (inclusion of time element in addition to date is the most critical part). Are there any other date/time selectors out there in the jQuery universe, I've scoured several forums and followed Google search results several pages deep, all to no avail. The best I came up with was a plugin for Drupal that simply takes jscalendar and wraps it with jQuery (along with the Drupal jstools API). If there is nothing out there already, I may have to abandon the conversion effort, as I just don't have the time right now for a doing something as complicated as jscalendar myself. Thanks in advance for any leads you may have. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Update to 1.1 question
limodou schrieb: This is not associated with 1.1 version, you could: $('textarea').each(function(i) { $(this).attr('id', txtarea_+i) } Thanks works on perfect. I have to scroll on docs!!! ;) -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
Fantastic! I'm still pretty wet behind the ears here, but in just a few months of exploration with jQuery it's completely changed my approach to development. You all deserve an award, something with 'revolutionary' in the title :). Can't wait for the book! Dare I put my money on O'Reilly? Happy Birthday, Adam -- View this message in context: http://www.nabble.com/jQuery-1.1%2C-Site%2C-Docs%2C-Surprise-tf3012331.html#a8369313 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] [plugin] jdMenu - Finally Released!
Looks good, but any link in the menus opens two tabs for me (duplicates) in FF2. Adam -- View this message in context: http://www.nabble.com/-plugin--jdMenu---Finally-Released%21-tf2967558.html#a8369520 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] The $( exp, jQuery ) syntax is not working in 1.1
Love the new site. Don't mind the cleaned up API but I've got quite a lot of code that uses the $( expr, jQuery ) syntax and now it's not working. I haven't had time to wade through the code but check the following (with Firebug): spanOutside/span div spanInside/span /div console.log( $('span', $('div') ), $('span', $('div')[0] ) ); In jQuery 1.0.x they both (correctly) return [span], under 1.1 the first returns [span, span] while the second returns [span]. I believe this indicates that $() is not detecting the jQuery object as a context. Karl Rudd ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Very long input text value and focus
Hi Roberto, I'm a bit in a hurry without much time for testing this but you can try to get and then again set the selection. Just use my plugin to accomplish this: http://laboratorium.0xab.cd/jquery/fieldselection/0.2.3-test/ If this doesn't work, try it like this: Get the selection range, store it, position the cursor to the end and then re-set the stored range. Alex Roberto Ortelli wrote: Hello, I don't know how to do that in JS or in JQuery, here is the problem: Imagine 2 or 3 text fields of a form. A long value text is displayed in each field. The text is too long and when I put a focus on a field I did not see the cursor. How can I automatically display the end of the text when I focus it? Hoping is clear... thanks in advance -- Roberto ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Update for jQuery 1.1 compatibility?
I know 0.1.5 was supposed to make jCarousel compatible with jQuery 1.1a, but I just tried it with 1.1 and the prev/next links aren't showing up. Is there another update in the works? Adam -- View this message in context: http://www.nabble.com/Update-for-jQuery-1.1-compatibility--tf3014033.html#a8369956 Sent from the jCarousel mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface 1.1
Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] New Plugin: jQuery Image Strip
Matt Stith schrieb: It looks pretty cool, but its not very jQuery-like, he used inline javascript for the onchange of the field. E. He also uses inline styles and incorrect HTML. To me not the kind of a best-practice example again. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
Thanks Stefan and Paul, this is good news for interface users like me...cheers. cdelfino On 1/15/07, Stefan Petre [EMAIL PROTECTED] wrote: Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
Stefan Petre wrote: Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. Great! It's nice to see plugins updated this fast. One thing I spotted: the draggable demo has unnecessary scrollbars, which make it a bit hard to view the demo. Edwin Martin ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
John Resig wrrote: jQuery 1.1 has just been release, along with an overhaul of the site design, and the documentation; all tied together with a brand new surprise! Nice work! Two things: 1) On the documentation page, you'll find the word Licensing. Someone skimming the page might think you have to license jQuery to use it. I think you'll better use License or even better MIT/GLP Licensed or MIT and GLP Licensed or somethink like this. 2) Where is the new documentation XML-file? (It is there, isn't it?) One minor thing, from a design standpoint: The blue box seems a bit too large. The space between the first column and the blue box is very small. Certainly compared with the space between the blue box and the list below it. It looks a bit unbalanced. In general I'm very pleased with jQuery. Edwin Martin ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
I wrote: I think you'll better use License or even better MIT/GLP Licensed or MIT and GLP Licensed or somethink like this. Ofcourse I ment GPL instead of GLP. Edwin ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
Stefan Petre schreef: Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, great to see all those cool interface plugins you posted here are in the new release and i don't remember the sortables had so many options. :) and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. a few problems with the new site: When i opened the site in FF2 on windows i got the warning to stop the script because it wasn't responding. If you click on documentation you don't get directed to the docs page it only opens the extended menu. I noticed it because i clicked on one of the items and when i hit the back button i got back to the demo page. Maybe i'm too picky but all other menu items direct you to a page. Still very nice work on the interface plugin. -- David Duymelinck [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] The $( exp, jQuery ) syntax is not working in 1.1
On 1/15/07, Karl Rudd [EMAIL PROTECTED] wrote: Love the new site. Don't mind the cleaned up API but I've got quite a lot of code that uses the $( expr, jQuery ) syntax and now it's not working. I haven't had time to wade through the code but check the following (with Firebug): spanOutside/span div spanInside/span /div console.log( $('span', $('div') ), $('span', $('div')[0] ) ); In jQuery 1.0.x they both (correctly) return [span], under 1.1 the first returns [span, span] while the second returns [span]. I believe this indicates that $() is not detecting the jQuery object as a context. Karl Rudd Yeah, I also encountered this problem, so I had to use obj.find('aa') to replace $('aa', obj) -- I like python! UliPad The Python Editor: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery 1.1: trigger does not work for me
With jQuery 1.1, trigger does not execute a click event on a checkbox I have attached before... Is it just me? -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] variable scope in .post
Hi, I have some problems setting a global variable from within the success() function inside a .post. Here is a simplified version of what I have: function addedit() { var lk_id=0; $.ajax({url:'ajax/my_script.php', type:'POST', dataType:'html', data:'optype=add', success:function(data) { if (data!=null data!='') { //alert(lk_id); lk_id=parseInt(data); } } }); alert(lk_id); } My script returns a single number and I want lk_id to get that value in the success() function of the ajax call. The commented alert() in the success function can read the value of the outer lk_id (in this case 0), lk_id is set to the new value but the last alert() of the function returns 0 again. This function is called from a link with the onclick=addedit() attribute. I am using firefox 2 I suppose I could use the load() function to put the result in a hidden input, then read that input but it seems a little too complicated. Any help regarding this problem is appreciated -- Dan ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1: trigger does not work for me
Klaus Hartl schrieb: With jQuery 1.1, trigger does not execute a click event on a checkbox I have attached before... Is it just me? Hm, actually that's a problem of the new feature that click() will also trigger the click function for the checkbox. See here: http://stilbuero.de/demo/jquery/trigger.html The bound click handler gets called twice when using trigger, thus it seemed to me it wasn't firing at all (because in my case a cloned checkbox got checked and immediatly unchecked again). This can be handled by returning false in the handler function, but this is ugly because then I have to check the checkbox manually via JavaScript. Sigh, I didn't like that feature from the beginnning... -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Form plugin didn't submit the name and value of the submit button that was clicked
I've found a similar question here ( http://jquery.com/pipermail/discuss_jquery.com/2006-August/009469.html) . But it seems that it's still not resolved . -- http://codeplayer.blogspot.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Form plugin didn't submit the name and value of the submit button that was clicked
You need to use ajaxForm() for that functionality. ajaxSubmit() will not do it. Mike On 1/15/07, yi huang [EMAIL PROTECTED] wrote: I've found a similar question here (http://jquery.com/pipermail/discuss_jquery.com/2006-August/009469.html) . But it seems that it's still not resolved . -- http://codeplayer.blogspot.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1: trigger does not work for me
Klaus Hartl schrieb: Klaus Hartl schrieb: With jQuery 1.1, trigger does not execute a click event on a checkbox I have attached before... Is it just me? Hm, actually that's a problem of the new feature that click() will also trigger the click function for the checkbox. See here: http://stilbuero.de/demo/jquery/trigger.html The bound click handler gets called twice when using trigger, thus it seemed to me it wasn't firing at all (because in my case a cloned checkbox got checked and immediatly unchecked again). This can be handled by returning false in the handler function, but this is ugly because then I have to check the checkbox manually via JavaScript. Sigh, I didn't like that feature from the beginnning... Nope. The following doesn't work (Firefox 2): $('input').bind('click', function() { this.checked = !this.checked; alert('I have been clicked.'); return false; }); Maybe I don't get it. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Drupal 5.0 released!!! Hear ye..hear ye...
http://drupal.org/drupal-5.0 excerpt: JavaScript library: the jQuery JavaScript library has been included in Drupal 5. All existing JavaScript in Drupal core has been converted to use it. Cool... c,) cdelfino ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
Woohoo!!! The new site looks HOT! Well done team. This is one of those things that needed to be done to take jQuery's respect and appearance to the next level. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Sunday, January 14, 2007 8:46 PM To: jQuery Discussion. Subject: [jQuery] jQuery 1.1, Site, Docs, Surprise Hi Everyone - jQuery 1.1 has just been release, along with an overhaul of the site design, and the documentation; all tied together with a brand new surprise! The full details can be found here: http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ Enjoy - and be sure to thank the whole jQuery team that made this come together. --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
Awesome! I may have to look at using some of these new features in an upcoming project. :) Not sure if this was noticed or not, but the Fisheye menu [1] doesn't degrade gracefully if javascript is disabled (tested in FF 1.5). Basically all of the images overlay one another and the menu becomes unusable with javascript disabled. Just thought I'd point it out as that menu would be really cool to use sometime. Shane [1] http://interface.eyecon.ro/demos/fisheye.html On 1/14/07, John Resig [EMAIL PROTECTED] wrote: Hi Everyone - jQuery 1.1 has just been release, along with an overhaul of the site design, and the documentation; all tied together with a brand new surprise! The full details can be found here: http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ Enjoy - and be sure to thank the whole jQuery team that made this come together. --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- - Bender: Amy, you like cute things so I baked you a pony. - http://www.reefs.org - Where reefkeeping begins on the internet. http://www.advancedaquarist.com - High quality, free monthly publication for the reef keeping hobbyist. http://www.aquaristcourses.org - Distance learning courses for the marine aquarist. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
I like the new demo layout but it might be wise to put some initial content in the demo window, pointing people to the links below. Also, I got an error on the selectables demo. When I click serialise (XP and FF2) it gives me, Error: a.get(0) has no properties Source File: http://interface.eyecon.ro/interface/interface.js Line: 8 Great work as always, thank you! Miles On 1/15/07, Stefan Petre [EMAIL PROTECTED] wrote: Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Announce: jQuery's Birthday and v1.1
I think many have already heard about this but for those that haven't, I just wanted to let you know that jQuery officially turned 1 year old yesterday! Woohoo! To coincide with this, jQuery v1.1 has been officially released, the site has received an awesome facelift and the documentation is now easier than ever to use. In addition, Visual Jquery, the awesome visual jQuery documentation resource has been updated to reflect the changes in jQuery v1.1. Great work Yehuda!!! (http://www.visualjquery.com) You can read more here: http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ Again, congrats to John and the jQuery team for all of their hard work and contributions. I also want to thank the jQuery community for being so involved, committed, vocal about this great project. You guys put so much effort into guiding the project, creating plugins and talking about the virtues of jQuery. Without the community, the jQuery project wouldn't be as successful as it is. Thank you! Rey ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] New Plugin: jQuery Image Strip
As I mentioned to Matt, lets make sure to offer Joshua constructive criticism as well as a solution for improving the widget. I think it has a great look and feel to it so if there's some tweaking refactoring that needs to be done to make it more solid, then lets offer some guidance on it. Rey... Klaus Hartl wrote: Matt Stith schrieb: It looks pretty cool, but its not very jQuery-like, he used inline javascript for the onchange of the field. E. He also uses inline styles and incorrect HTML. To me not the kind of a best-practice example again. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] New Plugin: jQuery Image Strip
I think it's really well done. Don't let them get you down Joshua...great job. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 8:54 AM To: jQuery Discussion. Subject: Re: [jQuery] New Plugin: jQuery Image Strip As I mentioned to Matt, lets make sure to offer Joshua constructive criticism as well as a solution for improving the widget. I think it has a great look and feel to it so if there's some tweaking refactoring that needs to be done to make it more solid, then lets offer some guidance on it. Rey... Klaus Hartl wrote: Matt Stith schrieb: It looks pretty cool, but its not very jQuery-like, he used inline javascript for the onchange of the field. E. He also uses inline styles and incorrect HTML. To me not the kind of a best-practice example again. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Update for jQuery 1.1 compatibility?
Sorry, maybe I jumped the gun a bit. Some further research - I had .jcarousel-prev, .jcarousel-next { display:none; ... } in my CSS. Can't for the life of me remember why, but I think this was the the standard setup wasn't it? Removing this style solved the issue, but I don't know if there is any negative impact with different configs. Adam agent2026 wrote: I know 0.1.5 was supposed to make jCarousel compatible with jQuery 1.1a, but I just tried it with 1.1 and the prev/next links aren't showing up. Is there another update in the works? Adam -- View this message in context: http://www.nabble.com/Update-for-jQuery-1.1-compatibility--tf3014033.html#a8373172 Sent from the jCarousel mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] New Plugin: jQuery Image Strip
I think it's really well done. Don't let them get you down Joshua...great job. I agree. I think it looks quite nice. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Is trigger workable in Safari!?
I tried, but not work! Here is my code snip: jQuery(#hello).blur(function() { //... some form validation code }); jQuery(#form).submit(function() { jQuery(#hello).trigger(blur); ... }); -- Best regards, 沈志川 (Benx) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
My only problem with this likeable and graphically interesting site, is there's absolutely no fallback without javascript, not even an unenhanced version with the option, say, of getting external content via hyperlinks. Not even managing the worst crime of usability: 'you must have javascript enabled in order to view this page', just the 'progress bar' showing that something's being fetched, even when nothing's happening at all... Check this very well designed and using all facets of jquery http://www.politique2.fr ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] A little help with a 1.0 to 1.1 conversion
Hi all, Reading up on the new release, I'm interested in the new feature of being able to pass comma-separated lists of selectors to the .not filter. Can this be applied to values? For example, I would like to convert this: $([EMAIL PROTECTED]:not([EMAIL PROTECTED]/]):not([EMAIL PROTECTED]/]):not([EMAIL PROTECTED]/]):not(.thickbox)).bind(click, function(){ return !window.open(this.href); }); to something like this: $([EMAIL PROTECTED]).not(thissite.net/, thatsite.com/, theothersite.com, .thickbox).bind(click, function(){ return !window.open(this.href); }); or $([EMAIL PROTECTED]).not([EMAIL PROTECTED]/],[EMAIL PROTECTED] thatsite.com/], [EMAIL PROTECTED], .thickbox).bind(click, function(){ return !window.open(this.href); }); I can't get it to work (obviously, or I wouldn't be here), so I'm guessing it's not possible. Just thought I'd check. Adam -- View this message in context: http://www.nabble.com/A-little-help-with-a-1.0-to-1.1-conversion-tf3015403.html#a8373809 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ANNOUNCE: AjaxCFC for jQuery Updated to jQuery v1.1
AjaxCFC, arguably the most widely used Ajax/ColdFusion component library for the ColdFusion application server, has been updated to use jQuery v1.1, the latest release of the popular Ajax/JS library. Several updates have been done to logging, error trapping, security checks, constructor methods, and serialization capabilities. You can check out all of the details at Rob's site here: http://www.robgonda.com/blog/index.cfm/2007/1/15/AjaxCFC-for-jQuery-Alpha2-Release Rob, thank you for your continued support of the jQuery community and project. Rey... ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Hi, Rey... Question from a newbie... Let's say I want to use the Accordion function of the Eyecon Interface series in a site. Would I need to reference the entire Interface library, or are the various effects and functions separate files that I can pick and choose? Just trying to understand how to use jQuery specifically and third-party plug-ins specifically. Thanks, Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
I noticed, too, that some of the Technical Demos on the interface.eyecon site don't seem to be working properly. For example, the Imagebox... when I click on a photo, it simply opens up a new page with the image displayed. Doesn't seem to be working... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dynamic tables
Hi, Im using insertCell() and insertRow() to create a dynamic table then using .innerhtml to populate the cell - how can this be done using jquery? thanx -- ___ Timothy M Bowler BSc(Hons) MSc MIET | Senior Programmer Or Media Unit 5 Elm Court 156 -170 Bermondsey Street London SE1 3TQ T: 020 7939 9540 F: 020 7939 9541 ___ The information in this e-mail and any attachments is confidential and is intended solely for the addressee. The material may not be reproduced either in whole or in part without permission and may not be used or disclosed without permission. No copies of the entirety or part of the information set out in this email or any attachment may be made without our prior approval. Any views or opinions presented are solely those of the author and do not necessarily represent those of Or Multimedia Limited. If you are not the intended recipient of this email, please contact us at [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Hi Rick! You definitely don't need to include the whole Interface lib into your app. You can just use the files that contain the effects that you need. There may some dependencies from other Interface files and of course, jQuery, but you definitely don't need to use all the files. Rey... Rick Faircloth wrote: Hi, Rey... Question from a newbie... Let's say I want to use the Accordion function of the Eyecon Interface series in a site. Would I need to reference the entire Interface library, or are the various effects and functions separate files that I can pick and choose? Just trying to understand how to use jQuery specifically and third-party plug-ins specifically. Thanks, Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Thanks Rick. I know it just went up today and I'll make sure that Stefan and Paul know. Rey... Rick Faircloth wrote: I noticed, too, that some of the Technical Demos on the interface.eyecon site don't seem to be working properly. For example, the Imagebox... when I click on a photo, it simply opens up a new page with the image displayed. Doesn't seem to be working... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Speed of 1.0 code with compatibilty script?
Quick question regarding the compatibility script to allow 1.0 code to be used with the 1.1 release of jQuery: Does using the compatibility plugin reduce the speed increases realized with the 1.1 release? I couldn't seem to find out if this was the case or not in my searches of the release information. Thanks, Shane -- - Bender: Amy, you like cute things so I baked you a pony. - http://www.reefs.org - Where reefkeeping begins on the internet. http://www.advancedaquarist.com - High quality, free monthly publication for the reef keeping hobbyist. http://www.aquaristcourses.org - Distance learning courses for the marine aquarist. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Hi Rick, I have to wait for John to wake up and talk to him, then I will get back on this. Stefa Rick Faircloth wrote: I noticed, too, that some of the Technical Demos on the interface.eyecon site don't seem to be working properly. For example, the Imagebox... when I click on a photo, it simply opens up a new page with the image displayed. Doesn't seem to be working... Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Rick, you can always download interface zip file and there you'll have all the plugins in separate files, compressed and uncompressed. Then all you have to do is to include 'iutil.js' first and then what ever do you need. Stefan Rick Faircloth wrote: Hi, Rey... Question from a newbie... Let's say I want to use the "Accordion" function of the Eyecon Interface series in a site. Would I need to reference the entire Interface library, or are the various effects and functions separate files that I can pick and choose? Just trying to understand how to use jQuery specifically and third-party plug-ins specifically. Thanks, Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos S :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Speed of 1.0 code with compatibilty script?
Does using the compatibility plugin reduce the speed increases realized with the 1.1 release? I doubt anyone has benchmarked it to give a definitive answer, but you should still get most of the benefit of the faster 1.1 selectors with 1.0x code. In other words, don't worry about speed issues with the compat plugin. Just change your code to eliminate the need for the compat plugin when you get the chance. Also note that the compat plugin does not hide the change that element numbering starts from 1 now (per the CSS spec) rather than 0. If you are using selectors like :even/:odd or hard counts like :eq(2) those will have to be changed regardless. (This couldn't be easily wrapped because you might be using a plugin that assumed 0 but your own code assumed 1!) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Dynamic tables
Im using insertCell() and insertRow() to create a dynamic table then using .innerhtml to populate the cell - how can this be done using jquery? You can continue to call the DOM methods if you want: $(#mytable)[0].insertRow() Or you can just append the row: $(#mytable).append(trtdnew row/td/tr); ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .height(val) - what am I missing?
All Im trying to do is set the height of a div (jQuery 1.1), but no go. What am I missing? script type=text/javascript !-- $(#myDiv).height(600); -- /script div id=myDiv style=border:1px solid #f00/div Preparing to feel dumb, Adam -- View this message in context: http://www.nabble.com/.height%28val%29---what-am-I-missing--tf3015887.html#a8375281 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1, Site, Docs, Surprise
Great job, guys! My hat's off to all of the separate jQuery teams! This is such a tight and dedicated community of really bright folks, and this release with all of its improvements and surprises just further proves to me the strength and power of open source software and the open source community! What an exciting time to be alive! Kudos to all the jQuery teams. You guys rock! :o) Cheers, Chris John Resig wrote: Hi Everyone - jQuery 1.1 has just been release, along with an overhaul of the site design, and the documentation; all tied together with a brand new surprise! The full details can be found here: http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ Enjoy - and be sure to thank the whole jQuery team that made this come together. --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- http://www.cjordan.info ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Speed of 1.0 code with compatibilty script?
The compatibility plugin does not effect the speed of the code. If you're running jQuery 1.1 + Plugin, then it'll still be the same fast 1.1 code running. --John On 1/15/07, Shane Graber - jQuery [EMAIL PROTECTED] wrote: Quick question regarding the compatibility script to allow 1.0 code to be used with the 1.1 release of jQuery: Does using the compatibility plugin reduce the speed increases realized with the 1.1 release? I couldn't seem to find out if this was the case or not in my searches of the release information. Thanks, Shane -- - Bender: Amy, you like cute things so I baked you a pony. - http://www.reefs.org - Where reefkeeping begins on the internet. http://www.advancedaquarist.com - High quality, free monthly publication for the reef keeping hobbyist. http://www.aquaristcourses.org - Distance learning courses for the marine aquarist. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Great! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 11:31 AM To: jQuery Discussion. Subject: Re: [jQuery] beautiful jquery powered website to check ! Thanks Rick. I know it just went up today and I'll make sure that Stefan and Paul know. Rey... Rick Faircloth wrote: I noticed, too, that some of the Technical Demos on the interface.eyecon site don't seem to be working properly. For example, the Imagebox... when I click on a photo, it simply opens up a new page with the image displayed. Doesn't seem to be working... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .height(val) - what am I missing?
Hmm... I can't verify this. I popped open a test page and set the .height() and it worked just fine. Perhaps a more complete example is in order? --John On 1/15/07, agent2026 [EMAIL PROTECTED] wrote: All Im trying to do is set the height of a div (jQuery 1.1), but no go. What am I missing? script type=text/javascript !-- $(#myDiv).height(600); -- /script div id=myDiv style=border:1px solid #f00/div Preparing to feel dumb, Adam -- View this message in context: http://www.nabble.com/.height%28val%29---what-am-I-missing--tf3015887.html#a8375281 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Thanks, Rey... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 11:30 AM To: jQuery Discussion. Subject: Re: [jQuery] beautiful jquery powered website to check ! Hi Rick! You definitely don't need to include the whole Interface lib into your app. You can just use the files that contain the effects that you need. There may some dependencies from other Interface files and of course, jQuery, but you definitely don't need to use all the files. Rey... Rick Faircloth wrote: Hi, Rey... Question from a newbie... Let's say I want to use the Accordion function of the Eyecon Interface series in a site. Would I need to reference the entire Interface library, or are the various effects and functions separate files that I can pick and choose? Just trying to understand how to use jQuery specifically and third-party plug-ins specifically. Thanks, Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Trying to show/hide table row...
Is it possible to show and hide a table row as it is a div? I work mostly with tables / rows / cells rather than div's and I've had a hard time making the code work on tables rows. Before I get into the code, I just want to make sure there's nothing specific about TR's that make them impossible or more difficult to work with than DIV's when it comes to jQuery. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] beautiful jquery powered website to check !
Thanks for the info, Stefan nice apps you have there! Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Petre Sent: Monday, January 15, 2007 12:02 PM To: jQuery Discussion. Subject: Re: [jQuery] beautiful jquery powered website to check ! Rick, you can always download interface zip file and there you'll have all the plugins in separate files, compressed and uncompressed. Then all you have to do is to include 'iutil.js' first and then what ever do you need. Stefan Rick Faircloth wrote: Hi, Rey... Question from a newbie... Let's say I want to use the Accordion function of the Eyecon Interface series in a site. Would I need to reference the entire Interface library, or are the various effects and functions separate files that I can pick and choose? Just trying to understand how to use jQuery specifically and third-party plug-ins specifically. Thanks, Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Monday, January 15, 2007 10:03 AM To: jQuery Discussion. Cc: [EMAIL PROTECTED] Subject: Re: [jQuery] beautiful jquery powered website to check ! The newest release of Interface, which Stefan and Paul announced today, dramatically improves DnD performance. You can see a demo thats similar to what this new site is doing: http://interface.eyecon.ro/demos/sort.html http://interface.eyecon.ro/ Rey... Rafael Santos wrote: Well, it's not my type =) though it's made in jquery. And why the draggable plugin is slower than any other draggable effect of other libs like script.aculo.us http://script.aculo.us http://script.aculo.us? 2007/1/14, Allan Mullan (Skorpion) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery http://www.politique2.fr It is french ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com mailto:discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ http://jquery.com/discuss/ http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com http://www.rafael-santos.com http://www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] FaviconLinkMarker - last call
Hi all, Now I really do not know any more further. It does not want to work. Check out: http://olaf-bosch.de/bugs/jquery/links5.html here are the check of Favicon exist in a function, the check do to late (works), after the JQuery script!!! http://olaf-bosch.de/bugs/jquery/links6.html here are the check in the JQuery script, check set all to false default image was added -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Trying to show/hide table row...
Well ... i toggle the display property of tr though it seems to have i bug on firefox, because it doesn't get the colspan when it exist in a td child... but it works fine on IE... btw, i use the slideToggle effect. So if anyone knows a good way, please tell me too. 2007/1/15, Rick Faircloth [EMAIL PROTECTED]: Is it possible to show and hide a table row as it is a div? I work mostly with tables / rows / cells rather than div's and I've had a hard time making the code work on tables rows. Before I get into the code, I just want to make sure there's nothing specific about TR's that make them impossible or more difficult to work with than DIV's when it comes to jQuery. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Rafael Santos Sà :: webdeveloper www.rafael-santos.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1: trigger does not work for me
Unfortunately, different built-in trigger events behave differently. This may have been one that slipped through. Could you submit a bug report about this? http://jquery.com/dev/bugs/new/ --John On 1/15/07, Klaus Hartl [EMAIL PROTECTED] wrote: Klaus Hartl schrieb: Klaus Hartl schrieb: With jQuery 1.1, trigger does not execute a click event on a checkbox I have attached before... Is it just me? Hm, actually that's a problem of the new feature that click() will also trigger the click function for the checkbox. See here: http://stilbuero.de/demo/jquery/trigger.html The bound click handler gets called twice when using trigger, thus it seemed to me it wasn't firing at all (because in my case a cloned checkbox got checked and immediatly unchecked again). This can be handled by returning false in the handler function, but this is ugly because then I have to check the checkbox manually via JavaScript. Sigh, I didn't like that feature from the beginnning... Nope. The following doesn't work (Firefox 2): $('input').bind('click', function() { this.checked = !this.checked; alert('I have been clicked.'); return false; }); Maybe I don't get it. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Trying to show/hide table row...
There has been a lot of talk and tests of trying to get this to work properly. I created some tests to see if changing the display property would solve the problem but unfortunately some of the browsers just don't allow opacity changes on some of the other display properties. Right now the best solution is to wrap the table and perhaps a table row in a div and run the animation on it. Bug report: http://jquery.com/dev/bugs/bug/24/ -- Brandon Aaron On 1/15/07, Rick Faircloth [EMAIL PROTECTED] wrote: Is it possible to show and hide a table row as it is a div? I work mostly with tables / rows / cells rather than div's and I've had a hard time making the code work on tables rows. Before I get into the code, I just want to make sure there's nothing specific about TR's that make them impossible or more difficult to work with than DIV's when it comes to jQuery. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .height(val) - what am I missing?
On 15/01/07, John Resig [EMAIL PROTECTED] wrote: Hmm... I can't verify this. I popped open a test page and set the .height() and it worked just fine. Perhaps a more complete example is in order? --John On 1/15/07, agent2026 [EMAIL PROTECTED] wrote: All Im trying to do is set the height of a div (jQuery 1.1), but no go. What am I missing? script type=text/javascript !-- $(#myDiv).height(600); -- /script div id=myDiv style=border:1px solid #f00/div Preparing to feel dumb, Adam -- Looks like you are trying to set it before the DOM has loaded. Try: script type=text/javascript !-- $(function() { $(#myDiv).height(600); }); -- /script div id=myDiv style=border:1px solid #f00/div ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] datePicker
Zach Shelton schrieb: The best I came up with was a plugin for Drupal that simply takes jscalendar and wraps it with jQuery (along with the Drupal jstools API). If there is nothing out there already, I may have to abandon the conversion effort, as I just don't have the time right now for a doing something as complicated as jscalendar myself. To my knowledge there is no sophisticated calendar widget for jQuery available. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Petre Subject: [jQuery] Interface 1.1 Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro - Hey now, that is a large improvement. Thanks for the work guys. -ALEX ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] $.ajax call works with 1.04 but not with 1.1
Hi, Below ajax call works fine with jQuery 1.04 and returns sets multi-value to an input text field. But, when I try the same code with jQuery 1.1 it fails without any error (no error message, no result,... nothing happens). Not sure if I missed anything (regarding to upgrade changes), so any help is greatly appreciated. $.ajax({ type: 'GET', url: url, dataType:'xml', timeout: 1, async: true, success: function( xml ) { var result = []; $(viewentry/[EMAIL PROTECTED]' + columnNo + '], xml).each( function(i) { var $this = $(this); result[i] = $this.text(); }); var element = $(# + elementID); if ( element.attr(type) === null ) { element.html( result ); } else { element.val( result ); } }, error: function( xml ) { alert( Error ); } }); By the way, all the variable values (url, columnNo elementID) are the same for both jQuery libraries. Thanks, Sasha -- View this message in context: http://www.nabble.com/%24.ajax-call-works-with-1.04-but-not-with-1.1-tf3016254.html#a8376407 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] variable scope in .post
Dan Caragea schrieb: Hi, I have some problems setting a global variable from within the success() function inside a .post. Here is a simplified version of what I have: function addedit() { var lk_id=0; $.ajax({url:'ajax/my_script.php', type:'POST', dataType:'html', data:'optype=add', success:function(data) { if (data!=null data!='') { //alert(lk_id); lk_id=parseInt(data); } } }); alert(lk_id); } The problem is not the scope. $.ajax is asynchronous and therefore the methods returns, calls the alters and then some (undefined) time later the success callback is executed. While it is possible to use $.ajax for synchronous calls, I (and I guess everyone else on this list) recommend to work with the callbacks, putting your altert inside the success callback or calling another function from there. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] variable scope in .post
your code is close, but because ajax is ASYNCHRONOUS the var gets set after the alert is executed. normally you would do everything that deals with the lk_id inside the success function (or a function called from inside the success function) On 1/15/07, Dan Caragea [EMAIL PROTECTED] wrote: Hi, I have some problems setting a global variable from within the success() function inside a .post. Here is a simplified version of what I have: function addedit() { var lk_id=0; $.ajax({url:'ajax/my_script.php', type:'POST', dataType:'html', data:'optype=add', success:function(data) { if (data!=null data!='') { //alert(lk_id); lk_id=parseInt(data); } } }); alert(lk_id); } My script returns a single number and I want lk_id to get that value in the success() function of the ajax call. The commented alert() in the success function can read the value of the outer lk_id (in this case 0), lk_id is set to the new value but the last alert() of the function returns 0 again. This function is called from a link with the onclick=addedit() attribute. I am using firefox 2 I suppose I could use the load() function to put the result in a hidden input, then read that input but it seems a little too complicated. Any help regarding this problem is appreciated -- Dan ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] $.ajax call works with 1.04 but not with 1.1
Hi, Below ajax call works fine with jQuery 1.04 and returns sets multi-value to an input text field. But, when I try the same code with jQuery 1.1 it fails without any error (no error message, no result,... nothing happens). Not sure if I missed anything (regarding to upgrade changes), so any help is greatly appreciated. $.ajax({ type: 'GET', url: url, dataType:'xml', timeout: 1, async: true, success: function( xml ) { var result = []; $(viewentry/[EMAIL PROTECTED]' + columnNo + '], xml).each( function(i) { var $this = $(this); result[i] = $this.text(); }); var element = $(# + elementID); if ( element.attr(type) === null ) { element.html( result ); } else { element.val( result ); } }, error: function( xml ) { alert( Error ); } }); By the way, all the variable values (url, columnNo elementID) are the same for both jQuery libraries. Thanks, Sasha -- View this message in context: http://www.nabble.com/%24.ajax-call-works-with-1.04-but-not-with-1.1-tf3016256.html#a8376410 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] load won't post params
Guntur N. Sarwohadi schrieb: Hi all, I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to url. How should I use the params now? I've checked through firebug and usually (jQuery 1.0.4) it shows the post variables but now it doesn't (so no params sent). Is this intentionally a feature? or I need to use another ajax method instead of load (which i hope not.. because this means a lot of recoding :))? Can you give us an example page? That helps alot tracking down wheter the problem is within jQuery or your code. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Trying to show/hide table row...
It is possible to hide table rows, though I don't know about hiding them with animations. We hide them all the time and we just hide and show it - works fine. I haven't tried this since I switched to jquery (some of the old JS code is still there) but I don't think there'd be any problem here either. As I said though, I can't speak to any animations. Rick Faircloth wrote: Is it possible to show and hide a table row as it is a div? I work mostly with tables / rows / cells rather than div's and I've had a hard time making the code work on tables rows. Before I get into the code, I just want to make sure there's nothing specific about TR's that make them impossible or more difficult to work with than DIV's when it comes to jQuery. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Trying-to-show-hide-table-row...-tf3016032.html#a8377914 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] [plugin] jdMenu - Finally Released!
On 1/13/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Jonathan Sharp schrieb: I finally got around to finishing the pages and packaging the plugin last night. Enjoy! http://jdsharp.us/code/jQuery/plugins/jdMenu/ Great to see an update to this plugin! Have you considered or tried an event delegation approach? That is, assign the click handlers to the entire menu instead of each li, and use the event's target property then. You'd have less event handlers, though more code to figure what to do when the event is fired. And you can add and remove as many elements as you like, there would be no need to un- or rebind any event handlers. I'd be very interested in this approach. Is jQuery's even object that gets passed in standard or would I have to code around W3C/IE target vs. srcElement? I would assume that I'd just need to attach a top level event to my root UL. I'll see what I can refactor. I'm testing 1.1 with our application today and so far hasn't been any major changes. For 1.1 compability, I think the only thing you have to change is ancestors() to parents(). I've made these changes locally, works great with 1.1. Maybe we should move ancestorsUntil (or rather, parentsUntil) and next/prevUntil to it's own plugin. You could then provide both jdMenu-only package and a jdMenu-with-dependencies package. The bgiframe plugin is really easy to use, you just apply it to all elements that need the iframe. I'm looking at implementing this now. Of course it would be nice to customize the behaviour via options, but that was also mentioned before. And a hint that works from 1.1 on: The intialization code at the top depends on the $ alias. You can avoid that even without the custom alias pattern used for the plugin itself. As of 1.1, a reference to the jQuery function is passed as an argument to the document ready event. So you can rewrite this: $(function(){ $('ul.jd_menu').jdMenu(); $(document).bind('click', function() { $('ul.jd_menu ul:visible').jdMenuHide(); }); }); To this: jQuery(function($){ $('ul.jd_menu').jdMenu(); $(document).bind('click', function() { $('ul.jd_menu ul:visible').jdMenuHide(); }); }); And none of the code would depend any more on the $ alias being present. Also made this change locally. Cheers, -js ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Mac OS X Widgets?
Hey, who needs Java and Flash as long as we have JS and the canvas element. :-) http://mindshareprojects.com/canvas/weaving.html Fredi Ⓙⓐⓚⓔ wrote: Jobs said javascript YES! http://pogue.blogs.nytimes.com/2007/01/13/ultimate-iphone-faqs-list-part-2/ On 1/11/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: they aren't even committing to javascript on the phone... hard to believe they wont! On 1/9/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: Today has been a big day for the mac, and the iphone is about 6 months away. It runs Safari and a mini version of OS X. And it supports widgets! Widgets can be written in javascript, and can run un-encumbered by the normal ajax cross host security restriction! So to get back on target... Has anyone written any jquery widgets? -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Mac-OS-X-Widgets--tf2949832.html#a8378013 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] FaviconLinkMarker - last call
Olaf Bosch schreef: Hi all, Now I really do not know any more further. It does not want to work. Check out: http://olaf-bosch.de/bugs/jquery/links5.html here are the check of Favicon exist in a function, the check do to late (works), after the JQuery script!!! http://olaf-bosch.de/bugs/jquery/links6.html here are the check in the JQuery script, check set all to false default image was added i looked at the page and i saw -moz attributes where are they coming from? is saw them in firebug on FF2 and the dom add-on in IE7. -moz-background-inline-policy looks suspicious to me. I also have tried all the things that maybe could work but none of them did. When i downloaded the page and opened it on my computer i get 2 favicons in IE7 in the first two cases. Maybe that could be a hint for the no show of the favicon? I put the image check function outside the plugin and i got both the onerror and onload function. i hope you can learn from my mistakes David ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
very cool! glad to see an update, but I get a number of errors in linux on mozilla.. Draggables are very very slow.. in fact, they dont' drag.. they just sort of appear wherever I mouseup. The imagebox keeps blinking on and off.. every time it opens, it displays, and then closes adn displays again, and again, and again.. other than that, it's pretty cool! :) On 1/15/07, Alex Cook [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Petre Subject: [jQuery] Interface 1.1 Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro - Hey now, that is a large improvement. Thanks for the work guys. -ALEX ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- jason schleifer ah-ni-may-tor | weirdo http://jonhandhisdog.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Speed of 1.0 code with compatibilty script?
I've finished changing my code to reflect the API changes. However, I depend on Thickbox for images and I haven't seen an announcement stating that Thickbox has updated its code to reflect the 1.1 API. Anyone know if Thickbox has done this or that it is in the works? Shane On 1/15/07, Dave Methvin [EMAIL PROTECTED] wrote: snip Just change your code to eliminate the need for the compat plugin when you get the chance. snip ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- - Bender: Amy, you like cute things so I baked you a pony. - http://www.reefs.org - Where reefkeeping begins on the internet. http://www.advancedaquarist.com - High quality, free monthly publication for the reef keeping hobbyist. http://www.aquaristcourses.org - Distance learning courses for the marine aquarist. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] datePicker
This is actually on my todo list as I know I will need it eventually. However, I have no for sure time line on when I would have something ready. -- Brandon Aaron On 1/15/07, Zach Shelton [EMAIL PROTECTED] wrote: I've only recently discovered jQuery, and I'm quite impressed. I'm going to be porting some code for an application that was developed without a js framework (I'm going to be using it in the next version of my CMS project http://lucidcms.net ). For the most part, I' think this is going to be pretty painless and jQuery will give me a lot of new possibilities. But I'm having a hard time finding a suitable replacement for jscalendar ( http://www.dynarch.com/demos/jscalendar/ ). The datePicker plugin doesn't have the range of features available in jscalendar, and while I admire simplicity and light weight, there are things in jscalendar that I can not give up (inclusion of time element in addition to date is the most critical part). Are there any other date/time selectors out there in the jQuery universe, I've scoured several forums and followed Google search results several pages deep, all to no avail. The best I came up with was a plugin for Drupal that simply takes jscalendar and wraps it with jQuery (along with the Drupal jstools API). If there is nothing out there already, I may have to abandon the conversion effort, as I just don't have the time right now for a doing something as complicated as jscalendar myself. Thanks in advance for any leads you may have. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Loading Flash on First Load in Session and Image After
A friend of mine is designing a site and wants to show a Flash header on the first load of a page within a site during a visitor's session but then show an image on successive page loads in that session. Here's how I did it w/jQuery and the Flash and Cookie plugins: http://iamzed.com/jquery/flashonetime.html First page load in the session should show Flash. Reload the page and it should show an image. Clear your session cookies or close your browser and then reload/go back to the page and you'll see the Flash again. This degrades gracefully by displaying only an image if JS is disabled. That's a demo page and the link at the bottom is to a blog post w/a bit more detail. Hopefully someone finds this useful. I'm a noob at jQuery so any suggestions for improvement are always appreciated. -- Chris Scott Adaptive Hosting Solutions, Inc. | Blogzerk - blog hosting http://www.adaptivehostingsolutions.com/ | http://www.blogzerk.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Trying to show/hide table row...
I would like for a space to open between two rows and for the js row to appear between the two... perhaps slide down and slide up. Is that what you do? Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Thomas Sent: Monday, January 15, 2007 2:43 PM To: discuss@jquery.com Subject: Re: [jQuery] Trying to show/hide table row... It is possible to hide table rows, though I don't know about hiding them with animations. We hide them all the time and we just hide and show it - works fine. I haven't tried this since I switched to jquery (some of the old JS code is still there) but I don't think there'd be any problem here either. As I said though, I can't speak to any animations. Rick Faircloth wrote: Is it possible to show and hide a table row as it is a div? I work mostly with tables / rows / cells rather than div's and I've had a hard time making the code work on tables rows. Before I get into the code, I just want to make sure there's nothing specific about TR's that make them impossible or more difficult to work with than DIV's when it comes to jQuery. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Trying-to-show-hide-table-row...-tf3016032.html#a83779 14 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] FaviconLinkMarker - last call
David schrieb: i looked at the page and i saw -moz attributes where are they coming from? is saw them in firebug on FF2 and the dom add-on in IE7. -moz-background-inline-policy looks suspicious to me. I also have tried all the things that maybe could work but none of them did. No -moz-what-ever come never from me, i see this not in Dominspector in IE and not in FF. What i see in Firebug, i must say it cane a Bug or what ever. Or also default or what. I can make Screenshot [1]. When i downloaded the page and opened it on my computer i get 2 favicons in IE7 in the first two cases. Maybe that could be a hint for the no show of the favicon? No, google have a Favicon the 2 two other Links/Pages have no Favicon. You see TWO!!!??? I put the image check function outside the plugin and i got both the onerror and onload function. Yes, its work, is tested also from me. In link [2] is so. But do not in Context. i hope you can learn from my mistakes Hmmm ;) Thanks. [1] http://olaf-bosch.de/bugs/jquery/links.jpg [2] http://olaf-bosch.de/bugs/jquery/links5.html -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Interface 1.1
Hello Stefan, Thanks for the great news. The interface plugin makes jQuery valuable. I've noticed this bugs however: 'Resizables' from the demo doesn't work for me in IE7. 'Slider' - the lower slider doesn't work (IE7 again). Monday, January 15, 2007, 1:25:03 PM, you wrote: Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new news section as well as the updated changelog!. http://interface.eyecon.ro ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Best regards, Stoyan ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] OT: Interesting Website Creation tool
http://ajaxian.com/archives/weebly-online-website-creation-tool-using-ajax ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] what's the difference between document.getElementById('id') and $('#id') ?
ok, I got it. To access the element I need to access $('#id')[0] What confused me here is that I wasn't really clear what the jquery object actually is. I have looked through the various intro and tutorial material a few times, and managed to get the library to do some useful things, but I missed this. Is there anywhere where this is explained? thanks Daniel On 1/15/07, Daniel McBrearty [EMAIL PROTECTED] wrote: sorry ... not the smartest question. of course, one returns the element, one returns the jquery object. What I needed was $('#id').attr( { autocomplete : off } ); I still have a problem to set the focus though. There is no error shown for $('#id').focus(); but the focus is not set ... On 1/15/07, Daniel McBrearty [EMAIL PROTECTED] wrote: I'm changing some old js I had to use jQuery. I used to have a function like this (to select a certain text input on a form and automatically focus on it) ... : window.onload = function() { self.focus(); document.getElementById(userresponse).setAttribute(autocomplete,off); document.getElementById(userresponse).focus(); } which worked fine ... then I replace it with this: $(function () { self.focus(); $(#userresponse).setAttribute(autocomplete,off); $(#userresponse).focus(); }); which fails to select the text box. why not? I thought these were equivalent excpet the jQuery version loads sooner? thanks Daniel -- Daniel McBrearty email : danielmcbrearty at gmail.com www.engoi.com : the multi - language vocab trainer BTW : 0873928131 -- Daniel McBrearty email : danielmcbrearty at gmail.com www.engoi.com : the multi - language vocab trainer BTW : 0873928131 -- Daniel McBrearty email : danielmcbrearty at gmail.com www.engoi.com : the multi - language vocab trainer BTW : 0873928131 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] what's the difference between document.getElementById('id') and $('#id') ?
sorry ... not the smartest question. of course, one returns the element, one returns the jquery object. What I needed was $('#id').attr( { autocomplete : off } ); I still have a problem to set the focus though. There is no error shown for $('#id').focus(); but the focus is not set ... On 1/15/07, Daniel McBrearty [EMAIL PROTECTED] wrote: I'm changing some old js I had to use jQuery. I used to have a function like this (to select a certain text input on a form and automatically focus on it) ... : window.onload = function() { self.focus(); document.getElementById(userresponse).setAttribute(autocomplete,off); document.getElementById(userresponse).focus(); } which worked fine ... then I replace it with this: $(function () { self.focus(); $(#userresponse).setAttribute(autocomplete,off); $(#userresponse).focus(); }); which fails to select the text box. why not? I thought these were equivalent excpet the jQuery version loads sooner? thanks Daniel -- Daniel McBrearty email : danielmcbrearty at gmail.com www.engoi.com : the multi - language vocab trainer BTW : 0873928131 -- Daniel McBrearty email : danielmcbrearty at gmail.com www.engoi.com : the multi - language vocab trainer BTW : 0873928131 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] digg.com about jquery 1.1
Hello folks, there are quite some comments about jQuery 1.1 on digg.com, in particular, some stuff about Prototype/jQuery and mootools/jQuery. For anyone who wants to participate on the discussion there: http://digg.com/programming/jQuery_1_1_Released Regards -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery 1.1: trigger does not work for me
John Resig schrieb: Unfortunately, different built-in trigger events behave differently. This may have been one that slipped through. Could you submit a bug report about this? http://jquery.com/dev/bugs/new/ http://jquery.com/dev/bugs/bug/815/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery and SourceForge.net
I just noticed while browsing sourceforge.net that they are using jQuery and Thickbox. Yet another big site using the greatest js library out there... Congrats on 1.1 and keep up the good work! Laurent ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .css, jQuery1.1
Hello folks, I'm having difficulty understanding how .css is supposed to work. The following line of code correctly styles the font color of the json data within #tree as blue: $(#tree).highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color: blue}); However, attempting to also style the font size or text alignment throws an error. $(#tree).highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color: blue, font-size: 1.2em, text-align: left}); Yet, the structure I'm using is as per the 1.1 API (as far as I can see), so obviously there is something else I'm missing here. Can anyone help please? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] .css, jQuery1.1
The problem is that JavaScript keywords/variables cannot contain a '-' in them. You have two options: .css({color: blue, fontSize: 1.2em, textAlign: left}); or: .css({color: blue, font-size: 1.2em, text-align: left}); --John On 1/15/07, Bruce MacKay [EMAIL PROTECTED] wrote: Hello folks, I'm having difficulty understanding how .css is supposed to work. The following line of code correctly styles the font color of the json data within #tree as blue: $(#tree).highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color: blue}); However, attempting to also style the font size or text alignment throws an error. $(#tree).highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color: blue, font-size: 1.2em, text-align: left}); Yet, the structure I'm using is as per the 1.1 API (as far as I can see), so obviously there is something else I'm missing here. Can anyone help please? Thanks, Bruce ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery addClass problems
Hi folks, This problem probably stems from my lack of CSS knowledge, but I'm sure there's someone here who can help me. I'm trying to use .add/removeClass() to highlight and unhighlight cells in a calendar when hovered and change their color entirely when they're clicked, etc. I had this working great, but now need to add further functionality, and decided that I should use jQuery to to the highlighting by swapping classes in and out. It works, but not exactly as I expected. It's swapping out the text color, but not the background color. I'm puzzled. Is there some reason I could be seeing these sorts of results? I've got a css file set up with classes like this: td.Weekday{ color: #ThisOrderBoardNormalTextColor#; background-color: #ThisOrderBoardOddRowColor#; } td.WeekdayHover{ background-color: #ThisOrderBoardOddRowHighlightColor#; } td.WeekdayClicked{ color: white; background-color: blue; } ...etc. I hope someone can help me. :o) Chris -- http://www.cjordan.info ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Is trigger workable in Safari!?
沈志川 (Benx) schrieb: I tried, but not work! Here is my code snip: jQuery(#hello).blur(function() { //... some form validation code }); jQuery(#form).submit(function() { jQuery(#hello).trigger(blur); ... }); As a workaround, you could refactor your code a bit: function validateHello() { //... some form validation code } jQuery(#hello).blur(validateHello); jQuery(#form).submit(function() { validateHello(); ... }); -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] variable scope in .post
Man, that was easy! Thanks for help, it works like a charm now. Dan Ⓙⓐⓚⓔ wrote: your code is close, but because ajax is ASYNCHRONOUS the var gets set after the alert is executed. normally you would do everything that deals with the lk_id inside the success function (or a function called from inside the success function) On 1/15/07, Dan Caragea [EMAIL PROTECTED] wrote: Hi, I have some problems setting a global variable from within the success() function inside a .post. Here is a simplified version of what I have: function addedit() { var lk_id=0; $.ajax({url:'ajax/my_script.php', type:'POST', dataType:'html', data:'optype=add', success:function(data) { if (data!=null data!='') { //alert(lk_id); lk_id=parseInt(data); } } }); alert(lk_id); } My script returns a single number and I want lk_id to get that value in the success() function of the ajax call. The commented alert() in the success function can read the value of the outer lk_id (in this case 0), lk_id is set to the new value but the last alert() of the function returns 0 again. This function is called from a link with the onclick=addedit() attribute. I am using firefox 2 I suppose I could use the load() function to put the result in a hidden input, then read that input but it seems a little too complicated. Any help regarding this problem is appreciated -- Dan ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] A little help with a 1.0 to 1.1 conversion
agent2026 schrieb: Hi all, Reading up on the new release, I'm interested in the new feature of being able to pass comma-separated lists of selectors to the .not filter. Can this be applied to values? In that case, a custom filter would be a good choice. Something like this: $([EMAIL PROTECTED]:not(.thickbox)).filter(function() { return !/thissite.net|othersites.org|moresites/.test(this.href); }).doIt(); You could omit the filtering in the selector and put it all into the filter funciton. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] what's the difference betweendocument.getElementById('id') and $('#id') ?
$(function () { self.focus(); $(#userresponse).setAttribute(autocomplete,off); $(#userresponse).focus(); }); I would do this: $(function () { self.focus(); $(#userresponse).attr(autocomplete,off)[0].focus(); }); There isn't a setAttribute method on a jQuery object, and I assume you want the DOM focus() method on #userresponse. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] self.attr(innerHTML, res.responseText) - IE 7 failing
hi everybody, just found out about jQuery 2 weeks ago, started to integrate it in a website of mine (heart.coffeeandrecords.com) about 2 days ago, and absolutely learned to love it!! it's the best and slimmest javascript library with the most elegant way of getting things done that i've seen in a long time!! today i switched to jQuery 1.1 and suddenly a lot of things don't seem to work like they did before any longer, even after checking the compat mode and rewriting the stuff that needed to be rewritten. Issue 1: self.attr(innerHTML) doesn't work in IE 7, self.html (value) does, so that was any easy fix Issue 2: $(#el).load doesn't support post params any longer Issue 3: i can't found the svn repository is there already a work around for that? really appreciate the help as i absolutely love that library keep up the grand work!! best regards lukas ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Preloading images in jcarousel
Hi there, Firstly, thanks very much for jcarousel. I have an issue with using it - there's currently 103 images to load and this amount will grow over time. The problem I'm having is that I always need to display the 3 most recent images upon hitting the page - in this case, the start items need to be image 101, image 102 and image 103. I can do this no problem but the initial scroll to images 101-103 shows empty spaces since image 1 to 100 are loading sequentially in the background. Ideally, I'd like to make this dynamic ie, loading 3 images at a time rather than the current long list of images 1-103 (either within the page or using an external .txt file). So, can this be done by calling a page on the server to return the 3 required images (either the next 3 or previous 3) or is there a way to preload the images either using a dynamic method (3 at a time) or the whole 103? Hope that makes sense. Thanks, djl -- View this message in context: http://www.nabble.com/Preloading-images-in-jcarousel-tf3006465.html#a8355819 Sent from the jCarousel mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Trying to show/hide table row...
Yes, but it just appears, we haven't yet experimented with applying effects. We have always done this using plain old javascript, like: TO SHOW: document.getElementById('trShow').style.display = 'block'; TO HIDE: document.getElementById('trShow').style.display = 'none'; Could probably use jquery though to do it too: $('#trShow').css('display', 'none'); // hide $('#trShow').css('display', 'block'); // show You can probably simply apply hide() or show() to the items too. Not sure though about effects as I haven't tried it yet. Rick Faircloth wrote: I would like for a space to open between two rows and for the js row to appear between the two... perhaps slide down and slide up. Is that what you do? Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Thomas Sent: Monday, January 15, 2007 2:43 PM To: discuss@jquery.com Subject: Re: [jQuery] Trying to show/hide table row... It is possible to hide table rows, though I don't know about hiding them with animations. We hide them all the time and we just hide and show it - works fine. I haven't tried this since I switched to jquery (some of the old JS code is still there) but I don't think there'd be any problem here either. As I said though, I can't speak to any animations. Rick Faircloth wrote: Is it possible to show and hide a table row as it is a div? I work mostly with tables / rows / cells rather than div's and I've had a hard time making the code work on tables rows. Before I get into the code, I just want to make sure there's nothing specific about TR's that make them impossible or more difficult to work with than DIV's when it comes to jQuery. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Trying-to-show-hide-table-row...-tf3016032.html#a83779 14 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Trying-to-show-hide-table-row...-tf3016032.html#a8381059 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jquery1.1 and modalContent problem
Hello, I try to upgrade my little project from jquery 1.04 to jquery 1.1 . (naturally with jquery.compat-1.0). And with modalContent I get the following error: $(#modalContent).top is not a function (line 83). I think this is a jquery.compat error. Isn't it? -- Ámon Tamás http://linkfelho.amon.hu ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jQuery addClass problems
Christopher Jordan schrieb: It's swapping out the text color, but not the background color. I'm puzzled. Is there some reason I could be seeing these sorts of results? Is this online, cane i see this? Have you so in the CSS? #tableID td{ background:#ccc; } this cane not overwritte with your td.Weekday{ then must be #tableID td.Weekday{ . you have not this in CSS!? background-color: #ThisOrderBoardOddRowColor#; sorry :) -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] self.attr(innerHTML, res.responseText) - IE 7 failing
Hi Lucas, Issue 2: $(#el).load doesn't support post params any longer This is a bug and will be fixed. You can fix it in your own copy by editing this line in the load function: if ( jQuery.isFunction( params.constructor ) ) { Change it to this: if ( jQuery.isFunction( params ) ) { Issue 3: i can't found the svn repository I think svn is temporarily down due to high server traffic. Mike ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/