[jQuery] New plugin: Autocompleter
Beautiful. Not only is the code well formatted, but it works like a charm. Thanks for your hard work on this Dylan! Can't wait to see it working in IE like it does in FF. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Dylan Verheul Sent: Monday, July 31, 2006 11:40 AM
[jQuery] New plugin: Autocompleter
Beautiful. Once I knew what I could type it worked like a charm. Here's some feedback: 1) If I type something that's not on the list, for example: "web design", the icon just spins and spins, but never alerts me that there's nothing found OR stops spinning. At least it needs to stop spinning and show nothing. 2) I'd like the option for the list to appear directly below the text field if possible. 3) I assume that the styles for the drop down list are seperate from the js code? 4) My biggest request
[jQuery] New plugin: Autocompleter
Is there a hint as to what data is available? I'm not sure what to type. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Dylan Verheul Sent: Monday, July 31, 2006 10:47 AM To: jQuery Discussion. Subject: Re: [jQuery] New plugin: Autocompleter OK, demo is up at http://www.dyve.net/jquery/?autocomplete
[jQuery] New plugin: Autocompleter
Awesome. Looking forward to helping you get this knocked out. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Dylan Verheul Sent: Monday, July 31, 2006 8:43 AM To: jQuery Discussion. Subject: Re: [jQuery] New plugin: Autocompleter I'll put up a demo of the current state
[jQuery] New plugin: Autocompleter
I'll second Sam's request. I have an autocomplete that I'd like to use and Google Suggest's presentation is exactly what I want. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Sam Collett Sent: Monday, July 31, 2006 4:28 AM To: jQuery Discussion. Subject: Re: [jQuery]
[jQuery] Official plugins
Hi all, great library, good job. Is there any plan to have a label called "jquery validate" for the plugins. The reason is that when I browsed a lot of JQuery plugins on the web I noticed : - the JQuery plugin rules were not always applied - in some cases and even for well known plugin, it didn't work well because, probably, of the lack of tests This is one of the problems of Prototype, Rico and Effectsv2 who are working in their own corners. Thanks _______________________________________________
[jQuery] fx show() / hide() broken in latest SVN $Rev: 164 $
jQuery.macros.each.show overwrites fx show method then first jQuery object created. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] AjaxSubmit();
I was just trying to use ajaxSubmit in my code: $(document).ready(function() { $('#comment_add').ajaxSubmit(); }); However, this fires off the ajax request as soon as I enter the page. But when I look at the sampel here: http://be.twixt.us/jquery/formSubmission.php it does not happen.. I have the jquery-svn.js version, is there a difference here or am I doing it wrong? I tried attaching it to <form onsubmit="$('#comment_add').ajaxSubmit();return false;"> but that doesn't work either. Thanks _______________________________________________
[jQuery] Advanced FX Module
Here we go... Again... :) A one big piece of code. http://www.aloyzas.lt/javascript/jquery-dev/afx.js And some small test case: http://www.aloyzas.lt/javascript/afx-test.html There is small portion of comments. I really sorry that I can't write more because of my poor English knowledge (dictionary and gmail spellcheck is my best friends). If anybody can understand what I wrote and has better skills of English, please help me! :) I have tested it on WinXP SP2 - FF 1.5, IE 6.0 and Opera 9.0 I don't
[jQuery] javascript server response
Hi, Thanks for your help but yes, I know about json. I already told you that this is a requirement defined by the serverside to have it like <!-- .. --> so if you could please help me with that, thanks. It needs some kind of regex probably to parse it out.
[jQuery] javascript server response
Oh and also yeah i'm really just outputting javascript (jquery) on the serverside, not a PHP to js translation as in rjs.. sorry :) >From: "Aloyzas Rimeika" <neytema@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] javascript server response >Date: Sun, 30 Jul 2006 21:47:29 +0300 > >I don't understand why do something so complicated? >Isn't easier just to write simple javascript like this: > ><script type="text/javascript">
[jQuery] javascript server response
Yes like you said it works fine for SHORT variables, but for large amounts of text it's more difficult. Because of the SERVERSIDE problems involved. I have to escape all variables (add slashes) if i insert them in javascript immediately. This requires that I use echo to output the contents (PHP) instead of just writing it in the html.. It makes for messy serverside code. It's difficult to explain since I'm not english. Does anyone have a solution still? >From: "Aloyzas Rimeika" <neytema@gmail.com>
[jQuery] javascript server response
I'm trying to build something like rails RJS templates but a little different. I get the following server response ------------------------ <!-- var=comment --> varcontents goes here <!-- endvar --> <!-- var=blabla --> contents goes here <!-- endvar --> <script type="text/javascript"> $('#comments').innerHTML = comment; </script> ------------------------ The reason for the <!-- var --> thingies is that it's easier for the server to do it this way, else i'd have to load another file or start echoing
[jQuery] jQuery International
> > If you need help for Spanish translation let me know ;-).
[jQuery] inserted html recognized as DOM objects?
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi everyone,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I hope someone can help me out with a problem that has been vexing me, but one that I think should be easy to solve for someone with even a little experience with js/jquery.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have two DIVs, each with an ID. One has a link in it and the other doesn't.</DIV><DIV>When
[jQuery] Loading jquery after page load
Thanks for the help, works great :) Oh, and about that cookie, I just set that at the end of jquery.js so I know jquery will be loaded in cache if that cookie is present :)
[jQuery] slideDown and slideUp Display Issue in Firefox
This is referring to revision 165. I have a form and a link like so: -------------------------------------------------------------------------- <a href="">link</a> <form> .... </form> -------------------------------------------------------------------------- and the following javascript: -------------------------------------------------------------------------- $("form").hide(); $("a").toggle( function(){$("form").slideDown("fast");}, function(){$("form").slideUp("fast");} ); --------------------------------------------------------------------------
[jQuery] jQuery in aptana!
> > Anyone know of any eclipse plugins that allow transparent
[jQuery] jQuery in aptana!
Just checked out Aptana ( <a href="http://www.aptana.com">http://www.aptana.com</a> ), and i noticed that they have jquery included as one of the libraries you can start a project with! It includes Cody Lindley's demo page as the sample too! ( <font color="#810081"> </font><a href="http://codylindley.com/blogstuff/js/jquery/">http://codylindley.com/blogstuff/js/jquery/</a> ) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] nested comment in event.js
Hi, I just updated to the svn release 166 and there is a nested comment on 101 which is causing everything to fail in firefox. I removed the comments and it fixed it. Gordon. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] fadeout() and fadeIn() and other problems
Hi, I have been doing some work with jquery, and I am having a problem with fadeOut() and fadeIn(). I have a <select> inside a div that I am fading out, I am then changing the options in the select, and fading it back in. The problem is that when I am fading it back it isn't. Also I am using the jq-corners.js to give rounded corners which is working great in firefox, but nothing else. In both Opera, and IE6 they are being squashed to the left, and not using the full width. When I am loading the page
[jQuery] Loading jquery after page load
> Is it possible to only load jquery after all other elements
[jQuery] Altering <select> options
Hi, I have been developing a new set of pages for a client and using jQuery to handle the ajax and other processing. So far I think it is great, and can't wait for it to be included in Drupal. However I was wondering if there was a jquery way of altering the options from a select object. I have a field which retrieves a json object from the sever, and then I need to build up a select with the new data. Is there a simple method of doing this or do I need to do it the old fashion way? Thanks in advance.
[jQuery] Filter and not bug
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=421280019-29072006>> </SPAN>$(expr).not("#a, #b, #c") only removes elements matching #a from the </DIV> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><FONT><FONT face="Times New Roman"><FONT color=#000000><FONT size=3><SPAN class=421280019-29072006>>
[jQuery] Filter and not bug
$(expr).not("#a, #b, #c") only removes elements matching #a from the list of matched elements returned by $(expr).<br clear="all"> -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] toggle(); no longer works properly in SVN
> The following lines of code are messing up the toggle
[jQuery] Loading jquery after page load
Is it possible to only load jquery after all other elements on the page have loaded? I'm just using jquery to enhance my site which works perfectly fine without javascript, that's why it doesn't matter to me that jquery is available immediately. I've noticed that some browsers show a white page until all javascript files have been loaded (firefox) I'm thinking it should be done like this: $(document).ready(function() { var s = document.createElement('script'); s.src = 'http://www.example.com/jquery.js';
[jQuery] Packing jQ with Dean Edward's Packer
I've had no success at trying to run jQuery SVN source after packing it with Dean's packer. Sane code works just fine but Firebug says there's no $ function when running the packed javascript. Is there any trick that I should know? Thanks in advance! _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] No more faux columns
Hey guys, Together with John, I've worked out a way to eliminate faux columns via a very light plugin to jQuery. Unfortunately, it requires a couple of small modifications to the jQuery core that I assume John will be making in some future incremental release. The plugin (code mostly written by John with some modification by me) is as follows: $.fn.maxHeight = function(){ var m = 0; return this.each(function(){ if((h = parseInt($(this).css('height') > m) m = h; }).css("height",
[jQuery] jQuery.event.fix add some features
Can tease additions be made in jQuery core or these modifications can cause significant performance fall? I just don't want to use lines like "var elem = e.target || e.srcElement" in my events. jQuery.event.fix = function(event) { if ( event ) { event.preventDefault = function() { this.returnValue = false; }; event.stopPropagation = function() { this.cancelBubble = true; }; // <adds> event.target = event.srcElement; event.relatedTarget
[jQuery] Interface plugin not working with the newest version??
Hi, i can't get the drag and drop plugins work with the newest version of jquery. It always asks for this function function jQuery(a,c) { // Watch for when a jQuery object is passed in as an arg if ( a && a.jquery ) return a; // If the context is global, return a new object if ( window == this ) return new jQuery(a,c); // Find the matching elements and save them for later this.cur = jQuery.Select( a || jQuery.context || document, c
[jQuery] Working with elements relative to others
Hi, I've been trying to solve the following problem: <table> <tr> <td><a href="#">Hide next tr</a></td> </tr> <!-- hide start --> <tr> <td>...</td> </tr> <!-- hide stop --> <tr> <td>...</td> </tr> <tr> <td>...</td> </tr> </table> When I click the link, I want jQuery to hide the next <tr>-element (the first <tr>-element after the one containing the clicked link). To me, it sounds like a fairly simple task, but I just can't figure out how to accomplish it. Any ideas? Best regards, Søren Haagerup _______________________________________________
[jQuery] dateselector plugin issue in IE
hi kelvin, great job! 1) I've found one issue in ie 6 sp2: as you can see on the screenshot, the entrtyfield and the button from date2 is "on top" of the popup from date1. in firefox1.5 and mozilla 1.7 it is ok. i've also testest with the latest svn version - same effect. 2) I've a feature request. I need the datepicker in a couple of languages. so it would be nice f you provide an API to set the month/weekday literal and as well the navigation texts (close/next/prev) (Embedded image moved to file:
[jQuery] $(document).ready in AJAX
Is there a way to make script calls once the DOM elements created by an AJAX call are loaded? I'm using AJAX to load a bunch of HTML, plus some scripts, but I want to wait until the the DOM elements have been loaded before evalling the scripts. I've been hacking by using setTimeout before the eval, but that's a bad hack. Any ideas?<br clear="all"> -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] [BUG?] .hover
Hi everybody! i'm not sure if it's my missing knowledge or if it's a bug: i utilize .hover to change some css values, like this: $('E').hover(function(){ $('E').css("foo","bar"); }); onmouseout of the element with the :hover attached css values wont reset and i get a javascript error (ff 1.505 ppc, jquery svn 165): "g has no properties" jQuery.js (line 1813) "handleHover" jQuery.js (line 1813) "anonymous" jQuery.js (line 1383) same error in safari 2.0.4 (419.3) here is a
[jQuery] changeClass and more
Hi, is there something like changeClass(string)? Right now im using this: $('#tabhead' + intCounter).removeClass('tabNotSelected'); $('#tabhead' + intCounter).addClass('tabSelectedImportent'); There seems to be a toggleClass in the 1.0a version, but this isn't allways what you want... And, how would I do something like this: if(!document.getElementById(strFieldName)) ... This isn't working: if(!$('#' + strFieldName)) because it gets an object back... Michael _______________________________________________
[jQuery] PHPAds JS interfering with JQuery?
Does anybody have ideas as to why Javascript from PHPAds(sample below) could or would interfere with JQuery? I just dropped a set of zone scripts into a site I'm working on, and all of my JQuery(+ Thickbox) stuff has mysteriously stopped working. Neither Firefox nor IE are throwing errors or even warnings of any sort. The effects simply stop working, until I remove the PHPAds scripting. I'm trying to narrow it down to see if a specific instance of the code is doing it, but this has been inconclusive
[jQuery] hover() mouseout bug in rev 165
This code is not calling the mouseout function in firefox or IE according to my tests: $("li").hover( function(){$(this).addClass("active");}, function(){$(this).removeClass("active");} ); -- Best Regards, Nate Wienert _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] toggle(); no longer works properly in SVN
Referring to Rev 165: The following lines of code are messing up the toggle function in certain cases: toggle: function(){ var d = jQuery.css(this,"display"); $(this)[ !d || d == "none" ? "show" : "hide" ](); }, When toggle is used like this: $("#login_link").toggle( function(){$("#loginbox").slideDown("fast");}, function(){$("#loginbox").slideUp("fast");} ); The #login_link is being hidden right off the bat, and it seems theres no way to achieve the above
[jQuery] jquery conditions
I remember a discussion about jQuery $if and $else methods (jif and jelse before), and was wondering if that idea went anywhere. For me, it would be great to be able to do something like this: $('#poni').$if(this.size()).// …do stuff …or $('#poni').$if(window.ActiveXObject)// … _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page