[jQuery] New tutorial site for jQuery
"15 Days of jQuery" http://15daysofjquery.com Goal is to introduce jQuery to coders of all skill levels (but especially javascript coders that feel that other libraries are a little over their head). The first time I came across the jQuery library I thought to myself - who needs yet another javascript library? But a second look opened my eyes to its versatility and how easy it makes DOM scripting and AJAX. I hope the tutorial helps spread the word about this great tool. I consider it the Swiss Army
[jQuery] Weird problem
When I do slideDown, I get extra space at the bottom of my div. I'm using slideDown in conjunction with the rounded corners, so the extra space goes <span style="font-weight: bold;">below</span> the rounded corners, which looks terrible. Any suggestions?<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] .ready
On my Firefox the ready-event fired too early. This code seems better: http://www.brothercake.com/site/resources/scripts/domready/ Maybe you can integrate it into jquery? Emile. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Speed
Does it make sense for IE to render a rounded corner substantially slower than Firefox. IE takes several seconds to render a bunch of corners (15 or so), while Firefox seems to do it instantly.<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] Select all checkboxes?
<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:"Trebuchet MS"; panose-1:2 11 6 3 2 2 2 2 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] Speed
<!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.2873" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><FONT face="Times New Roman"><FONT color=#000000><FONT size=3><SPAN class=953351521-07062006>> </SPAN>Does it make sense for IE to render a rounded corner substantially</FONT></FONT></FONT></FONT></DIV> <DIV dir=ltr align=left><FONT
[jQuery] Classes
> function User( name ) {
[jQuery] Wrap
I'm looking for a way to use "wrap" to wrap around the TEXT inside an element. Say I have <p class="hello">Hello I want to be able to do something that'll give me <p class="hello"><span>Hello</span> Ideas?<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] innerHTML (attribute or function)
hi there, i don't know if i'm wrong, but innerHTML isn't an Attribute but rather a funktion?! So the function $().html() should look like that: html: function(h) { return h === null && this.size() ? this.get(0).innerHTML : this.get(0).innerHTML = h; }, instead of: html: function(h) { return h === null && this.size() ? this.get(0).innerHTML : this.set( "innerHTML", h ); }, _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Classes
In many cases, creating a class or class-like object at all is overkill. There are often simpler ways to solve problems using closures and functional programming. You will see a lot of this in jQuery and code that uses jQuery. Here is how I would port the Prototype code. It doesn't use a class at all, but barring any bugs, I'm pretty sure it does exactly the same thing with one exception - it inserts both the BR and A elements using the DOM instead of using innerHTML for the BR tag. It's about half
[jQuery] Performance of selecting elements
Hi everyone, I have a question regarding the performance of jQuery when selecting elements. This originated from some simple benchmarks that I wrote to gauge performance vs. Prototype. For example, I tested the following loops, the first with jQuery and the second with Prototype. for (var i=0; i<100; i++) { $('#contest').css('color','red'); } // jQuery for (var i=0; i<100; i++) { e = $('contest'); e.style.color='red'; } // Prototype The jQuery version took significantly longer than the prototype
[jQuery] Classes
Hiya, I'm pretty new to jQuery, but I like what I've seen so far. I would like to switch to jQ, but I can't figure out a good way to do classes without prototype. Perhaps it is recommended to use prototype along with jQ. (For the purpose of learning) how would you code this using jquery (and preferably not prototype). _____________ User = Class.create(); User.prototype = { initialize: function(name){ this.username = name; document.write('<div id="msg">Welcome '+this.username+'!</div>'); this.e =
[jQuery] fadeIn
fadeIn doesn't seem to work in IE. Is this known?<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] Getting jQuery to Work?
What am I doing wrong- I have the .js file referenced and the sample code in the following document <a href="http://gelstoncafe.com/javascript/">http://gelstoncafe.com/javascript/</a> I get nothing - no errors no effects? What in the world am I doing so wrong? Thanks, Tobias _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] json plugin..
> I've been playing with the json plugin for jquery (
Moderation Queue
Hi everyone, I just cleaned out the moderation queue for jQuery - unfortunately I hadn't done it in about a month, so there was a lot there to sort through. I'll try not let it fall behind like this again. --John
[jQuery] I can't see Gilles's messages?
Sorry to bother the whole list about this, but I've noticed something strange: I have seen a number of replies to messages from Gilles, but I have not been receiving his messages themselves. The last message I saw from Gilles directly was on May 3. Just wondering if anyone else has run into this, or if it's just me. I thought it might be my sometimes over-eager spam filters, but Gilles's messages aren't showing up in my spam folders either. A mystery... :-) -Mike _______________________________________________
[jQuery] slideDown flicker with DOCTYPE (SOLVED)
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>I found these alternative jquery fx functions. The BlindDown does not flicker like slideDown does with my DOCTYPE.</DIV><DIV> </DIV><DIV><A href="http://www.eyecon.ro/interface/" target=blank>http://www.eyecon.ro/interface/</A><BR><BR>Thanks,<BR><BR>Matt </DIV><DIV><DIV><BR></DIV><FONT color=#990099>-----discuss-bounces@jquery.com wrote: -----<BR><BR></FONT><BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
[jQuery] fix: name="id" bug
Hi, The current solution didn't fix the bug for all queries and all browsers. I found this way to solve it with IE (6 and 7b2) for queries like $('#myform'): replace: '#': "a.getAttribute('id') == m[2]", with: '#': "a.attributes['id'].nodeValue == m[2]", on line 414 (from current http://jquery.com/src/dev/sane/) It works with FF 1.5 too. I don't know for Safari, Opera and other browsers but you can use this test page: http://fmarcia.info/jquery/nameandid/test.html For queries like $("form[@id='myform']"),
[jQuery] slideDown flicker with DOCTYPE
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Yeah, I wish I could but that breaks all of the Lotus systems (e.g. email).<BR><DIV><BR>Thanks,<BR><BR>Matt <DIV><BR></DIV><FONT color=#990099>-----discuss-bounces@jquery.com wrote: -----<BR><BR></FONT><BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">To: "'jQuery Discussion.'" <discuss@jquery.com><BR>From: "Ariel Popper" <ariel.popper@zadiggle.com><BR>Sent
[jQuery] slideDown flicker with DOCTYPE
This may be of some help to you. http://www.bofrede.com/en/articles/tips-doctype-fix -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Matthew Bidwell Sent: Tuesday, June 06, 2006 12:23 PM To: phillip.oldham@kilo75.com; jQuery Discussion. Cc: discuss-bounces@jquery.com; discuss@jquery.com Subject: Re: [jQuery] slideDown flicker with DOCTYPE Sorry, yes the problem is limited to IE. The lack of a .dtd in the doctype causes IE to go into quirks
[jQuery] slideDown flicker with DOCTYPE
Sorry, yes the problem is limited to IE. The lack of a .dtd in the doctype causes IE to go into quirks mode. I was hoping someone might know what quirks mode was doing differently to see if there is a CSS solution to the flashing. Thanks, Matt Phillip B Oldham <phillip.oldham@k ilo75.com> To Sent by: discuss@jquery.com discuss-bounces@j cc query.com Subject Re: [jQuery] slideDown flicker with 06/06/2006 12:03 DOCTYPE PM Please respond to phillip.oldham@ki lo75.com; Please respond to "jQuery Discussion."
[jQuery] slideDown flicker with DOCTYPE
I've looked at it in IE and FF, and it only happens in IE, so I'm guessing its something to do with quirks mode. Sorry I can't be any further help. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] slideDown flicker with DOCTYPE
The slideDown function is flashing if I use it on a page with a doctype of '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'. Unfortunately the site is on a Domino server which does not let me change the doctype. Does anyone have any ideas of how I might be able to fix this? Here is a test page. It is pretty minimal effect on this page, but the flicker is much more pronounced on my prototype page. http://www.softscout.com/jquery/slide-down-test.html Thanks, Matt _______________________________________________
[jQuery] bug: IE requires at least one character from .load
(Do we have a bug tracking mechanism? I just want to be sure we're not loosing track of things as we're starting to repeat bug reports and work-around threads lately. Not seeing one, and pre-Trac, I propose we at least include "bug:" or "workaround:" or "fix:" in the subjects.) Passing back a single <script> block from the server-side in response to a load() with nothing else works in FF, not in IE. In IE you need to pass back a single character before the <script> block. The examples below are simply
[jQuery] Onion Drop Shadow bug
Hi all, I use : <a href="http://jquery.com/test/zomg.html">Onion Drop Shadow</a> With a lot of code, the shade is not applied any more on pictures. Code generates with a loop foreach() in PHP. doesn't work... But, if I copy/paste the page source, and create an HTML page, its ok ! Strange... :( I have the same bug with a lot of script based on jQuery... Someone have an idea ? Thank you, Florian _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] form serialization
Does JQuery support form serialization on its own? I see some references to .serialize() in the archives. Are you guys using prototype to get that? Thanks, Jason _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Calling JQuery after the fact
How would you use JQuery on elements that are loaded dynamically once the page has finished loading? For example, when you load something with AJAX, anything that JQuery would take effect on would not appear. Is there a way to use the callback function (or any other method) to have JQuery go through document ready again? Alternatively, is this the best way to go about things? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] window.undefined (RE: === vs == in /src/dev)
>> Browsers treat the window object as part of the global scope
[jQuery] === vs == in /src/dev
> Ok everyone, I just pushed a bunch of === and !== related fixes live.
[jQuery] window.undefined (RE: === vs == in /src/dev)
> > The Jlint mods definitely bite my tail, this returns an
[jQuery] JSLint considered harmful (RE: IE fails on $.eval)
> I'm still a Subversion newbie, how do you revert portions of
[jQuery] window.undefined (RE: === vs == in /src/dev)
> Even better, the missing "undefined" is merely a property of the window
[jQuery] === vs == in /src/dev
> The Jlint mods definitely bite my tail, this returns an object instead
[jQuery] working with forms
Just starting to play with JQuery, and making sense of what's documented on the main site, but getting a little lost trying to work with forms and form data (specifically, accessing the current values of specific elements). Any links, documentation, and/or examples appreciated. Also, is the mailing list archived anywhere else, i.e., maybe someplace that is searchable? Thanks! Jason _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Script stop during loading...
Hi all, I have a strange bug. My main.php generates : 1.... <div id="31" class="alpha-shadow"> <div id="Thumb-31" class="hoverThumb"> <a href="tags.php?id=31">Tags</a> </div> <img src="img/31.jpg"> </div> ...64 (and more...) In a $(document).ready(), i load : $("div.hoverThumb").hide(); $("div.alpha-shadow").hover(function(){ $("#Thumb-"+this.id).toggle(); },function(){ $("#Thumb-"+this.id).toggle();
[jQuery] === vs == in /src/dev
The Jlint mods definitely bite my tail, this returns an object instead of the text contents of #somediv. stuff = $('#somediv').html(); Is there anything so wrong with this simpler construct ? html: function(h) { return h ? this.set( "innerHTML", h ) : this.get(0).innerHTML ; }, It's slightly more efficient as it saves calling size(). --markc _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] help trying to add $tabs to dotnetnuke environment
http://schwingsoft.04.websecurestores.com/default.aspx?tabid=54 I have setup the tabs script on this page and im trying to put it into the cms environment. So far no luck yet. I guess this has to do with how the dnn system adds a lot of extra content to the code I have defined. I had 5 links and 5 tabs each with content to see how it would work. no luck so far tryying to put each content in ots own contentmodule with skin to match the tabs plugin. But before I drop the full code into one tabplugin
[jQuery] ** How to unsubscribe?
Thanks for the help! .. Terry >From: DaveG <jquery@solidgone.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] ** How to unsubscribe? >Date: Sun, 04 Jun 2006 19:55:00 -0400 > >General information about the mailing list is at: > > http://jquery.com/mailman/listinfo/discuss_jquery.com > >If you ever want to unsubscribe or change your options (eg, switch to >or from digest mode, change your password, etc.), visit your >subscription
[jQuery] tool: pileUp
Hi all, In some situations, it's useful to wait for the end of an xhr before submitting the next one. Here is a function which implements this behaviour. You can use it instead of $.post to guarantee the order of responses. $.pileUp = function(url, data, ret, type) { function ret2(xml) { ret(xml); $.pileUp.heap.shift(); if ($.pileUp.heap.length) { $.pileUp.heap[0](); } } $.pileUp.heap.push(function(){$.post(url, data, ret2, type);}); if
Next Page