[jQuery] New Plug-in
I have a new taconite parser called jXs. Please come by a take a look. This one is much smaller then miniTaco and more extensible. The actual parser is only 23 lines of code. It has direct support of all of jQuerys basic DOM function like after and prepend, but can be extend through the use of method handlers to add support for more jQuery methods or plug-ins. The use of method handles could allow you to implement global effects per event type. Also the DOM builder has been removed and replace with
[jQuery] [PLUGIN] editInPlace
The following plugin allows you to do $(expression).editInPlace(url). It borrows some concepts from Day 10 of 15 Days of jQuery, but pluginises the whole thing, allows you to pass a URL, replaces the contents of the editables, rather than the editables themselves (preserving attributes), and is, in a lot of places, an entirely different approach. Additionally, the plugin automatically passes the value of the textarea, as well as the id of the item passed to editInPlace in the AJAX call as "value"
[jQuery] Slide behaviour
Hello all Since rev 153 the slideDown and slideUp behaviour has not worked for me, giving odd results. I've posted a simple example here: <a href="http://www.trendskitchens.co.nz/jquery/test.html">https://www.trendskitchens.co.nz/jquery/test.html </a> In Firefox the contents of the div do not slide up with the div, and in IE the slide fails altogether. Cheers, Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] PLUGIN: Clipregion (WAS: Can anyone write a Y! UI Carousel Component with jquery?)
I'd like to announce my second jQuery plugin. I've recreated the basic functionality of the Y! UI Carousel component originally written by Bill Scott (<a href="http://www.billwscott.com/carousel/">http://www.billwscott.com/carousel/ </a>). The purpose of this plugin is to stand as a foundation for later plugins such as a livegrid (I know there's already one out there) and a few other ideas I have. Please feel free to submit tickets and provide feedback. I tried to make the API for this function
[jQuery] Jquery used on new Technorati re-design
Looks like the new technorati design is using jquery! _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] window splitter
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] Adding to DOM Element Prototype?
--
[jQuery] Adding to DOM Element Prototype?
Hi, is it possible to do something like this? domelement.prototype.is = function(type) { return this.type.toLowerCase() == type.toLowerCase(); } If so, what is the correct object to add to its prototype? And then eg. if( $(#input5)[0].is('radio') ) { ... }? I know that there is a jQuery equivalent, but in the case where I have only one element, this might be "faster". Maybe noone would ever notice, but I'm still curious :-) -- Jörn _______________________________________________ jQuery mailing list
[jQuery] $(selector, context) changes in latest release?
Hi, I'm just trying to update my date picker plugin [1] to the latest version of jQuery (rev. 152) and am having some issues. From a quick check, they seem to be coming from a call to $(selector, context). I remember reading something on this list about an optional third parameter to the $ function being added in the new version but I can't find it now and I'm wondering if it could be related? Otherwise, here is the code that worked on rev. 88 and doesn't work on rev. 152: $.fn.findClosestParent
[jQuery] Rev 110 -> 152 Upgrade woes
> I ... noticed that something like this ... > > $("#submitbtn").each(function(){ > this.disabled = true; > this.value = "Searching ..."; > }); > ... stopped working. The term "stopped working" covers a lot of ground. Do you have a test case with just that code in it, or was it part of a very large page with other code? Is the page valid CSS and HTML? Does it fail in all browsers or just some? What does alert($("#submitbtn").length) return? Although that code should work, you should be able to use
[jQuery] css browser selector somethign for jquery?
Hi Just found this one http://rafael.adm.br/css_browser_selector/ on my dayly visits. Now this is a nice idea Would be great if we can make that part of jquery, what ya think?. Well back to the booknow Armand _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] bug or misuse in slideDown?
Hello, I use following js $(document).ready(function(){ $(".hfTitle").hover(function(){ $(".hfCatDescription",this.parentNode).slideDown("fast"); },function(){ $(".hfCatDescription",this.parentNode).slideUp("fast"); }); $(".hfCatDescription").hide(); }); to slideDown the following info under a link. <td colspan="5" class="hfTitle"> <a href="http://...">Produkt 'Steuer'</a> <div class="hfCatDescription">Das Produkt 'Steuer'</div> </td> If the effect is done several times, the whitespace under or in
[jQuery] Error when parsing AJAX-XML Document
hi, just started usind JQuery. I'm loading a xml-document which has: <documentroot> <artikel>...htmlcode...</artikel> <artikel>...htmlcode...</artikel> </documentroot> and im going through this with function draw(xml) { $("artikel",xml).each(function(i) { $("div.myparent").append(this.text); } ); } all HTML Code should be appended to the parent-Node. Because of further development i'm doing this with each. the function which has this code is called from two different places, the function itself is
[jQuery] jQuery and Greasemonkey
Thought I would pass on this tip to get jQuery running in GreaseMonkey so that you have it available on all pages. <a href="http://paulmwatson.com/journal/2006/07/23/jquery-and-greasemonkey/" title="http://paulmwatson.com/journal/2006/07/23/jquery-and-greasemonkey/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://paulmwatson.com/journal/2006/07/23/jquery-and-greasemonkey/ </a> cheers, Paul <a href="http://paulmwatson.com/" title="http://paulmwatson.com/" target="_blank"
[jQuery] Can anyone write a Y! UI Carousel Component withjquery?
> > Just found this. Looks like a good light weight alternative.
[jQuery] simple form validation
Ahoy, While working on my project I put together this form validation example to show how you can do browser validation & jquery validation together and make nice pretty forms w/ it. a few functions in the ready are like this: $("input[@class=validated]").blur(function() { $(this).validate(); }); $("#confirmpass").blur(function() { $(this).match({match: '#password', error: '#confirmpass_li'}); }); $("#password").keyup(function() { $(this).copyTo("#password_copy","value"); }); http://www.willjessup.com/sandbox/jquery/form_validator/form_validate.html
[jQuery] Ajax and callbacks
<html> <body> Hi folks, I'm much further down the slope then all of you, so apologies for the simple question, but I'm having problems finding out how to retrieve header data (not sure if that's the correct term) coming from my server after an AJAX call. From a variety of sources, my current code looks like this.... <tt>$.fn.ajaxSubmit = function(e) {this.submit(function(){ var params = {}; $(this) .find("input[@checked], input[@type='text'], input[@type='hidden'], input[@type='password'], option[@selected],
[jQuery] : Fom dsializ plgin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style type="text/css"> <!-- /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 theme administration centre. When you have finalised your style you could cut the final CSS code and place it in an external file, deleting this section to save bandwidth. */ /* General page style.
[jQuery] : Fom dsializ plgin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style type="text/css"> <!-- /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 theme administration centre. When you have finalised your style you could cut the final CSS code and place it in an external file, deleting this section to save bandwidth. */ /* General page style.
[jQuery] FYI jquery will soon be found in a book
HI I am working on a few chapters for an upcomingbook that discusses the skinning possibillities of an opensource asp.net portal framework. One of these chapters will be about enrichening skin and container designs with special tricks. For this I will use prototype moofx etc. But for most of the chapter I will be discussing how to achieve the desired result using jquery. Book should hit the stres around xmas Armand _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] firefox speed test
> Gecko is known to have a slow JavaScript engine. Opera's
[jQuery] firefox speed test
> > It's not even legal. Numbers don't have properties! So it could be
[jQuery] replacing strings
<html> <body> Hi folks, I'd appreciate some help in a problem I'm having in replacing a string within a jquery load. Specifically, I am loading a existing file into a div and I want to change the path of the images in that file. The code that I'm using is: <tt> $("div#qzfile").load("../textfiles/testfile.txt".replace(/images/g,"../images"')).show(); </tt>This is not working, but no errors are being thrown and I cannot find any explanation or example that can help me solve the problem. Your pointers
[jQuery] firefox speed test
> > Just hacking last night and saw some results on a speed
[jQuery] firefox speed test
Hello discuss, Just hacking last night and saw some results on a speed test you might be interested in: Results of Speed Tests on SpiderMonkey latest (Firefox) Testbed is at jorendorff.com > Articles > JavaScript IE6 was consistent across the board no diffrence ~1.5µs This was no anomoly. Notice on tests 2,3,&4 there is something going on?? Hope this helps you.. dot test #1 var _test2={}; %% _test2._value = 123; 0.967 µs dot test #2 var _test2={};_test2._value=0; %% _test2._value.mmm = 123; 27.788
[jQuery] Patch against R:155 for ready() not working in Safari
Apparently my SVN access doesn't let me fix the main files. :) Safari is being reported as mozilla, so I just reordered for the most specific case on down. I also put the window load binding in a else block, so that we're not calling ready twice. (Maybe I'm missing something subtle here.) Corey Index: event/event.js =================================================================== --- event/event.js (revision 155) +++ event/event.js (working copy) @@ -137,11 +137,23 @@ }
[jQuery] sending an array as param for ajax post metod
> How can i send an array as post parameter for a php
[jQuery] Rev 110 -> 152 Upgrade woes
<div>Perhaps I was doing things wrong initially, but to solve a problem with "parent" I upgraded the 30k 1.0a version to the 65k latest version and suddenly things stopped working. I quickly jumped back, but noticed that something like this ... </div> <div> </div> <div>$("#submitbtn").each(function(){ this.disabled = true; this.value = "Searching ..."; });</div> <div> </div> <div>... stopped working. I admit I havent had time to follow along with all the new bits, but am I instore for any more
[jQuery] Striped Tables and loaded content
I am a bit new to this jquery lark please bear with me I am loading content called #content this works fine but my striped tables when loaded into the content div are not striped and activated any suggestions? I am also using a method suggestion to enable compatibility with inferior explorer isInit =false; $(document).ready(init) $(window).load(init) function init() { if(isInit == false) { isInit == true; // striped tables $(".stripeMe tr").mouseover(function() {$(this).addClass("over");}).mouseout(function()
[jQuery] : v 110 -> 152 pgad wos
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style type="text/css"> <!-- /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 theme administration centre. When you have finalised your style you could cut the final CSS code and place it in an external file, deleting this section to save bandwidth. */ /* General page style.
Mailing List Turmoil
Hi Everyone - If you tried to send a message to the mailing list at any point during the past couple hours, it's very likely that it went off some place, never to return. If it's not in the archive list, then it probably wasn't kept (unfortunately): http://jquery.com/pipermail/discuss_jquery.com/2006-July/thread.html On the plus side, I'm getting close to having the forum up and running - hopefully I'll have some more details concerning that by this weekend. --John
[jQuery] Tip: jQuery chains
jQuery chains are one of the best features of jQuery, but did you know that the code doesn't have to be on the same line? For example take this chain (totally fictional, but I think it demonstrates the point): $("table").each(addToList).addClass("zebratable").find("tr").mouseover(highlight).mouseout(unhighlight).find("td:even").addClass("even").end().find("td a").click(showpopup).end().end().fadeIn(); Can be quite hard to decipher code like that. Thankfully there is a better way: $("table") // add
[jQuery] Test Post
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <style type="text/css"> <!-- /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2 theme administration centre. When you have finalised your style you could cut the final CSS code and place it in an external file, deleting this section to save bandwidth. */ /* General page style.
[jQuery] Document.ready
I'm having a weird problem with $(document).ready where it seems that some of the CSS loads after the $(document).ready. Specifically, I have a call to $("#navbar, #contentBox").equalizeColumns(); in my $(document).ready. $.equalizeColumns is defined as: jQuery.fn.equalizeColumns = function(){ var m = 0; return this.each(function(){ if((h = parseInt($(this).css('height'))) > m) m = h; }).css("height", m + "px"); }; in my $(document).ready. The height it returns in $(document).ready
[jQuery] Weird "IE" error, prevents page load
I tried this method and it didn't really help all that much. So I reconfigured a few chunks of code to avoid having to use the onload functionality. Works great now. <!----------------//------ 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 Dean Edwards Sent: Friday, July 21, 2006 2:27 PM To: matthewd@dbc.co.nz;
[jQuery] Weird "IE" error, prevents page load
I am extremely interested in any thoughts here as I have been getting this same error at random in IE for quite a while. I have presumed it was an issue with $(document).ready and thus hoped it would be fixed by version 1 of jQuery... but maybe that will not be the case. Otherwise I was looking at replacing $(document).ready with window.onload to see if that fixed the problem... again, that may not fix it. Please let me know what you discover Andy. Regards, Matthew
[jQuery] odd behavior of jquery - PATCH for BUG
> ...whats the reason for not giving back a jquery object
[jQuery] Weird "IE" error, prevents page load
Interesting... I've got one function inside a $(document).onload function. But another one is changed as a result of that one. Wonder if it's the second one that's causing the error. Thanks for the input Dave. I'll check into that. <!----------------//------ 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
[jQuery] Weird "IE" error, prevents page load
> Internet Explorer cannot open the Internet site ... > Operation aborted. http://www.google.com/search?q=internet+explorer+Operation+aborted Finds this page: http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerProgramm ingBugs That says: "You have to wait until onload in order to do document.body.appendChild which is a bug in Internet Explorer's implementation." "It seems that IE doesn't like when somebody is trying to modify content of "document.body" by adding new elements (previous
[jQuery] Weird "IE" error, prevents page load
I've got a page which intermittently (but more often than not) presents an IE error: ---- Internet Explorer cannot open the Internet site XXXXXXXXXXXXXXXXXX. Operation aborted. ---- It's preventing me from showing the client as it's erroring. I've tried commenting out parts of the code but it continues to occur. The page uses AJAX to display various portions of the page onload and, in some cases onclick. This error seemed to start after I added in this functionality. Those are the portions I'm trying
Next Page