[jQuery] $.tabs - plugin for accessible, unobtrusive tabs
Hi jQuerians, I started to write a little plugin today for easily creating an unobtrusive javascript tabs navigation, i.e. fully accessible with JS turned off... Here's a demo: http://stilbuero.de/demo/jquery/tabs.html I called the function $.tabs (better ideas anyone?). All you need to do is pass that function the id of an element, that holds the elements to be "tabified": $.tabs("container"); So far it relies on HTML that has to look like this: <div id="container"> <ul> <li><a href="#section-1">A
[jQuery] Bug: fadeOut in Opera 8.0 doesn't toggle
Hi there, another bug report: In Opera 8.x (tested 8.0 and 8.52), fadeOut does not work. I don't mean the effect itself - it's not supported - but it should degrade to toggling the element. fadeIn works fine. Here's a test: http://stilbuero.de/demo/jquery/fadeinout.html Regards, -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] removeClass not working correctly with recent versions of jQuery
Hi jQers, Can anyone confirm my observations that removeClass is not working correctly in recent (latest) version of jQuery? I have set up a test case to show the problem. The thing is, when I update an experiment I did a month ago to the newest version of jQuery, removeClass is not longer removing a class from a div when it is clicked. The test case provided is a stripped back version of my project and I have two otherwise identical versions for you to look at, the only difference between them being
[jQuery] How do I apply JQuery rules to html fragments applied using AJAX's load()?
jeresig@gmail.com said:
[jQuery] Forums?
John, I hope it's not too late to suggest this, but I'll put my two cents in for Drupal (http://drupal.org/). I've built several sites with it and have gotten to really like it, as have the people who I've built the sites for. What I think makes it interesting here is that it has pretty much all the features we're talking about - blog, forum, bug tracking, something like a wiki, etc. Not all those features are as good as dedicated software, but they all work together with a consistent interface.
[jQuery] Form.serialize equiv
What might be the simplest way to emulate prototypes From.serialize ? --markc _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Forums?
I concur with this. One other thing i would like to see is 1) a version control system (svn/cvs) and an 2) web interface to this (trac/collaboa) This would make bug tracking a lot easier - as well as sending in patches. Trac\'s wiki integration would make it easy for users to help out with documentation too. And finally, /src/dev/ is a bit hard to track changes in :) regards, Johan Bergström
[jQuery] Forums?
Sounds great John, In fact this is a similar approach to what Zend are doing with the Zend Framework. It is a mailing list - but you can see the mailing list archive with a forum-like interface here: http://www.zend.com/lists/fw-general/200604/maillist.html Regards, Matthew -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: Saturday, 22 April 2006 1:26 p.m. To: jQuery Discussion. Subject: Re: [jQuery] Forums? I've got an even
[jQuery] Forums?
The mailing list has been a great way for our small JQuery community to stay in touch, but I wonder if it's time for some other form of communication as we grow--and I know we'll grow. Right now the mailing list gets all the JQuery-related questions, and even some general web development questions. If we had a forum we could separate things out a bit. For example: - Help using JQuery - JQuery core bug reports - JQuery feature or plugin requests - JQuery plugin support - General web development help
[jQuery] Problem with processing the response from $post in IE
Then where is the logic and markup? Every error has id, the same id of the field wich contains the error. In case of no errors I return <ok></ok>. So in my case i check is there are errors or continue . _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] d21d( id )
> Regarding namespace pollution, by the way, some bits of
[jQuery] d21d( id )
Quick jQuery ideom question: Is there some jQuery:ish ideomatic shortcut for document.getElementById(), except (the about as unreadable) $('#some-id-here').get()[0]? The thought occurred to me on straightening out a few bugs I happened to cause when introducing jQuery on a site where $ was the convenience alias of choice for said method. -- / Johan Sundström, http://ecmanaut.blogspot.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Problem with processing the response from $post in IE
I have a form validation on server side. The server returns an XML with tags named 'error' for each error in part. The response I process it like this $('error', xml).each( function(elem) { $('#errorHolder').append(' ' + this.firstChild.nodeValue + ''); $('#errorHolder').css('visibility', 'visible'); } ); This works on IE if i have 'error' tags, but if I don't have those tags in my response IE gives the 'Object doesn't support this property or method'. My goal is when the form has errors are displayed,
[jQuery] browser sniff?
> I'm trying to shorten my browser sniffer (that just happens to be
[jQuery] browser sniff?
I'm trying to shorten my browser sniffer (that just happens to be required to adjust for miscalculations in opera and safari, and to lock out IE5.5 and below) to ...well, as short as possible. Has anyone tried anything jqueric (jqueryish?) to handle this? var ua=navigator.userAgent.toLowerCase(); var sf=(ua.indexOf('safari')!=-1);var ge=(ua.indexOf('gecko')!=-1); i=ua.indexOf('msie');var ie6up=(i!=-1&&(parseInt(ua.charAt(i+5)))>=6)? true:false; i=ua.indexOf('opera');var o7up=(i!=-1&&(parseInt(ua.charAt(i+6))>=7))?
[jQuery] $.css() on width or height
I've come across an issue getting the height or width of an element from $.css(). It has some special case handling that returns offsetHeight or offsetWidth since IE in particular likes to return "auto" for height and width if it hasn't been explicitly set. The problem is that offsetHeight includes padding and borders, but height does not. So I *think* $.css() needs to subtract out the element's padding and border to get the right result. Borders and padding are zero by default on all elements (that's
[jQuery] $().load and scope of this
Hello jQuerians, when using $().load together with an onready handler, like: $("#my-container").load("uri", function() { alert(this); }); "this" then refers to the window object. Is that by design or maybe a bug? I don't find that very intuitive and it's not like jQuery behaves in other cases (oncomplete for animations). Thanks for some information and a happy easter! -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New filter :alternate + IE leaking
It doesn't matter if the code inside the event handler references a DOM node, the closure itself already references it, whether the inner function actually uses it or not. $(...).each() holds references to each matching DOM node. This turns out to be a case that my $.closure() patch fixes. I didn't submit that patch for jQuery because we discovered there are some leaks it doesn't fix. But it does fix this one. Try this: http://mg.to/test/agachi/fix.alternate.htm and a copy of your original for comparison:
[jQuery] New filter :alternate + IE leaking
Hello, I have to say I'm addicted to jQuery. I wanted to try and enhance the alternate children selection for jQuery, i.e. for alternating row coloring for tables and not only. So instead of doing this: $('tr:nth-child(odd)').addClass('odd'); I wanted to do something general like: $('tr:alternate(3,1)').addClass('row1'); $('tr:alternate(3,2)').addClass('row2'); $('tr:alternate(3,3)').addClass('row3'); Where the first parameter for alternate is the total number of items in a group and the second one
[jQuery] Form Validation
--
[jQuery] Form Validation
Thank you. I have not done any SERIOUS form validation in a long time. I used to do it with asp on the server. Since it is a .asp application even more reason not to do it with Javascript? However, there are such great examples of javascript form V out there, so why not? i.e. http://codylindley.com/blogstuff/js/validation/ DAN -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Jack Shedd Sent: Friday, April 14, 2006 1:09 PM To: jQuery Discussion.
[jQuery] Usage
> Yes no your ok. But my understanding was that you HAD to use
[jQuery] Usage
Awesome! Done. IE prompted me to download by clicking the link in this email. I will change it on my other personal sites as well as provide the simple instructions on my reference blog. Thanks. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of John Resig Sent: Friday, April 14, 2006 2:42 PM To: jQuery Discussion. Subject: Re: [jQuery] Usage Hi Dan, Open the following page in your browser: http://jquery.com/src/latest.js Go to File > Save
[jQuery] Usage
Yes no your ok. But my understanding was that you HAD to use the remote copy so that you always had the latest version.. I could be wrong. Simple directions somewhere for getting a local copy? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Michael Geary Sent: Friday, April 14, 2006 2:06 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Usage
[jQuery] Form Validation
Lord! That is a beautiful form! I really like how the submit button is not available until the form is completed.
[jQuery] Form Validation
That is what I want to do. Based on your statement. How can I best do that? I have an IE6 .ASP page environment. Shall I use the AJAX portion of Jquery? I think I asked and Jquery is not a good choice for form validation? What is my other AJAX option? DAN -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Klaus Hartl Sent: Friday, April 14, 2006 2:06 PM To: jQuery Discussion. Subject: Re: [jQuery] Form Validation Why not using AJAX for client-side
[jQuery] Usage
> From: Michael Geary
[jQuery] Form Validation
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0"> <TITLE>Form Validation</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Is Jquery a good tool for form validation?</FONT> </P> <FONT SIZE=3><BR> <BR> *************************************************************************<BR> This communication, including
[jQuery] Form Validation
Oh I see. Sometimes if the the 0.9% of people who have jscript turned off.. they really don't want to USE the site they are on. But that said, in my case it is a controlled Intranet environment with ie6 jscript on. Thank you. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Jack Shedd Sent: Friday, April 14, 2006 1:38 PM To: jQuery Discussion. Subject: Re: [jQuery] Form Validation
[jQuery] Usage
> From: Acuff, Daniel (Comm Lines, PAC)
[jQuery] Usage
I see. For now I will call latest. I just get nervous about the 0.01% chance the jquery server goes AWOL. I seem to scour the web but there are just not enough newbie examples out there. A design/developer really needs a solid understanding of javascript programming for things. One thing jQuery may be able to help with is when a section of the form as been anchored down to the idea is they want the background color of that form section to become yellow'ish. This would be an example of traversing
[jQuery] Usage
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0"> <TITLE>Usage</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">I am with a VERY large corporation. (work-mode)</FONT> </P> <P><FONT SIZE=2 FACE="Arial">I want to find a javascript library that will allow my Intranet site to have a floating left navigation
[jQuery] Stumped on Tables
> From: Robb Irrgang
[jQuery] Stumped on Tables
> Anyone tired of me yet? Not me, I'd never heard of Taconite before and the SourceForge pages certainly are inviting. http://taconite.sourceforge.net/ But... Well... Just IMO of course... Here's the AJAX data sent by Taconite's Hello World example: 01 <%@page contentType="text/xml"%> 02 03 <taconite-root xml:space="preserve"> 04 05 <taconite-append-as-children contextNodeID="helloWorldContainer" parseInBrowser="true"> 06 07 <div style="font-weight:bold;color:orange;"> 08 Taconite says: Hello World!!!
[jQuery] Stumped on Tables
> I've tracked down my issue with using $.append() for table rows. > > First, jQuery is converting any string into a document node by > creating a div and setting it's HTML. This has a side-effect of > striping the first TR within the string in IE, and of striping > ALL table tags in Firefox. > > Does anyone have a better idea? Can you use Mike Geary's HTML functions instead? If you are using XMLHTTP, return a JSON object instead of HTML. Crockford.com has JSON code for just about any language you
[jQuery] Stumped on Tables
> Nice! I love that DOM plugin. Here's my version: http://methvin.com/jquery/jquery-dom.js I believe Mike later added the ability to initialize the style attributes as well, but that's not in here. Really, it was good that it was missing initially because I ended up switching to using classnames in my code and it was cleaner. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Stumped on Tables
Sweet. (And not just because it uses my code. <g>) That is exactly the kind of thing I wanted to suggest to suggest to Jack, I just didn't have a concrete example in mind. If he can do something like this it will be a whole lot better than any innerHTML hack. BTW, Jack, the code below looks like it uses an updated version of the DOM plugin - my original version required the {} as the first argument even if there were no attributes. I've been meaning to post an update with the patches you guys sent
[jQuery] Stumped on Tables
Jack, how much control do you have over what your server returns for these table row requests? If you're getting <TR>'s from the server and expecting to append those to a table, then you have a problem. element.appendChild('<tr>...</tr>') is an IE specific thing. For any other browser, you're going to have to parse that HTML one way or another. Here's a hack you could try if you can't change what ther server gives you. Something along these lines (using my DOM creation plugin, or you could write
[jQuery] Stumped on Tables
I've tracked down my issue with using $.append() for table rows. First, jQuery is converting any string into a document node by creating a div and setting it's HTML. This has a side-effect of striping the first TR within the string in IE, and of striping ALL table tags in Firefox. I have a work around in mind, but am having trouble coming up with the code. My idea was to first convert my string into a document fragment, traverse it, and append the row correctly to the table when a TBODY was found
[jQuery] "Goodbye Venkman, Hello FireBug"
The FireBug Debugger (testers wanted) http://www.joehewitt.com/blog/goodbye_venkman.php -- cu Sebastian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page