[jQuery] Testsuite 2.0
Good news everyone! Just finished a heavy refactoring on the jQuery testsuite. It features a quite heavy change on writing and running tests: Inline tests are history, all tests can now be placed inside their own files or within script tags. The jQuery src directory contains now additonal files ending with "Test.js", that contain all tests for the jQuery core. The two plugins that currently have their own testsuite in the repository, form and methods, were updated, too. Why this change? It is now
[jQuery] drag draggable to drop into tab
hi all, I'm trying to implement something like www.netvibes.com does: 1. tabbed interface (done with Klaus Hartl's tabs plugin) 2. multiple sortable modules in each tab (done with interface plugin's sortable) 3. drag a module to drop into another tab (no clue yet) here is the things I want to accomplish for the last one: 1. just like netvibes, use drag a module to another tab, the tab hightlights itself, user drops the module, module added to that tab, use stays in the current tab 2. user drags a
[jQuery] safari TR height always shows 0.
Hi, Safari seems to be the only browser that returns 0 for the height of a TR. Is this a known problem? any work around? <script type="text/javascript" src="jquery-latest.js"></script> <script> $(document).ready(function() { $("#debug").html($("#tr1").height()); }); </script> </head> <body> <div id="debug"></div> <table><tr id=tr1><td>asdf</td></tr></table> thanks, -joe _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] (reposted) finding a div in an iframe that hasn't got jQuery enabled
Hello jQuery folk, Not sure what the question etiquette is here so I'll just lumber into my question. Hope I'm not breaking any rules (have searched but couldn't find the info I need):-) Here's what I'm trying to do: I have one page that I host. The page has jQuery loaded. The page calls another page I do not control into an iFrame. The page that is getting called does not have jQuery. I need to change the "display" style attribute of a div (id="left_nav") in the called page to "none". Is this possible
[jQuery] Interface DnD tree
Has anyone already got this tree to dynamically load data (i.e. a subpart from the tree) from the server upon folder expansion? Barry _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Sortables error - Interface Plugin
<span style="font-weight: bold;">Problem:</span> When you drag something slowly and not put all sortable thing on "target" area, this thing (like list item) "pull out" and its appended on helper div created on body, see build function. <span style="font-weight: bold;">Solution </span>(Lines 119-130): //helpos = jQuery.iUtil.getPos(jQuery.iSort.helper.get(0)); if (cur && jQuery.iSort.inFrontOf != cur) { jQuery.iSort.inFrontOf = cur; jQuery(cur).before(jQuery.iSort.helper.get(0));
[jQuery] jQuery Donate
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>On Nov 18, 2006, at 1:05 PM, Rey Bango wrote Re: [jQuery] Firebug 1.0 coming soon:</DIV><BLOCKQUOTE type="cite"><DIV style="">Absolutely! Firebug is an awesome tool and IMO well worth spending some </DIV><DIV style="">cash on. Not sure if I'd do it for FoxyTunes but Firebug is a definite </DIV><DIV style="">yes. :)</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>Since we're
[jQuery] Firebug 1.0 coming soon
On Thursday, November 16, 2006 3:11 PM Franck Marcia <> said:
[jQuery] form plugin: preprocessing params before submitting
Hi, i'm using the excellent form plugin but I have a problem. I would like to preprocess the params of the form before submitting them but the "before" function does not allow this kind of manipulation. It allows only to abort the submit. I propose that the value returned by the "before" function, if not false, overwrites the params. I know this change can brake the API of the plugin. Is it possible to preprocess the params without changing the API? Renato _______________________________________________
[jQuery] Firebug 1.0 coming soon
My experience with open source tells me that, most likely, had it been open sourced, it'd stil be stuck at 0.3b. Considering how much I rely on Firebug, I have no qualms paying for it. -----Original Message----- From: Sam Collett <sam.collett@gmail.com> Sent: Sat, November 18, 2006 3:38 am To: jQuery Discussion. <discuss@jquery.com> Subject: Re: [jQuery] Firebug 1.0 coming soon
[jQuery] AJAX module: overrideMimeType
Hi folks, I'm still on my quest to get all bugs in jQuery's AJAX module fixed. Now I'm stuck with this bug report: http://jquery.com/dev/bugs/bug/266/ Does it make sense to implement it as proposed? Or should we add another option that lets you specify the mimeType exactly? Your opinions please! -- Jörn Zaefferer http://bassistance.de -- "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! _______________________________________________
[jQuery] Newbee question
i have a simple question i have this sample html: <h3>Headline 2</h3> <p class="text" >My text...... <a href='blog/comments/2' name='comment'>show comments</a> my js is like this: $('a[@name=comment]').oneclick(function(){ var href=$(this).href(); $(this).parent().append(load(href)); $(this).html("hide comments"); $(this).click(showhideComments); }); i just want to load my comments behind the a Tag in the tag but it just shows the the new site could anyone help me? _______________________________________________
[jQuery] Progress Bar
What's the best way to have a progress bar that can fill up between 0 and 100%. Keep in mind that both the bar itself and the fill probably need to be images.<br clear="all"> -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] use of stopPropagation
Hi all, i need to use this function, because i had a div in which i want to add a mouseover event. This works fine with $('#most_searched').mouseover(function(){$('#most_searched .wid_control').fadeIn('slow');}); But this div (#most_searched) has a lot of divs internally that make the fade in occurs when i don't want. But i can't make stopPropagation works for me here. Where i have to put this sentence to work? Thanks, and sorry for my english Guillermo _______________________________________________
[jQuery] name attribute gets removed from inputs in IE7
> I've tried it on several machines in IE 6 as well as 7 and it is > still an issue. Can anyone replicate this with their copies of IE? > > Filed it as a bug otherwise I may have to resort to doing things > the old fashioned way document.write(<form name='...' > action='...'><input..... > http://jquery.com/dev/bugs/bug/408/ It happens for me in IE as well. Notice that this fails the same way in IE, with no jQuery in sight: var e = document.createElement("input"); e.type = "hidden"; e.name = "testing";
[jQuery] Formless (or hopeless) programming model
I'd actually love to hear some opinions on this from some of the more l33t coders on this list. I've built apps that are formless and I've built apps that reference an inordinate amount of hidden form fields... which is best? Why? This is probably more of a general JavaScript Coding Practices conversation then a jQuery one, but still, it's kind of interesting. -ALEX -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Stefan Holmberg Sent: Friday,
[jQuery] AJAX module: overrideMimeType
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of "Jörn Zaefferer" Subject: [jQuery] AJAX module: overrideMimeType Now I'm stuck with this bug report: http://jquery.com/dev/bugs/bug/266/ Does it make sense to implement it as proposed? Or should we add another option that lets you specify the mimeType exactly? Your opinions please! -- Jörn Zaefferer ----- I'd vote for the ability to force the mimeType if at all possible. I can think of one project where the mimeType
[jQuery] name attribute gets removed from inputs in IE7
Test case: $( function() { var action = $("<input type=hidden>").attr( { "name": "action", "value": "delete" }); alert(action[0].name); // name seems to be added fine alert($("<form>").append(action).html()); // where has name gone? } ) The first alert shows that name has been set, but when I get the html it is not there. Happens in 1.0.3 (and did in 1.0.2) _______________________________________________ jQuery mailing
[jQuery] Formless (or hopeless) programming model
This might be a little too generic to actually be a posted here, but since I am using JQuery (just got started) in a pretty advanced project right now, I post it here to you, been lurking around here for a short while and seems like you are all very knowledgable. Formless state. I would like my app to have just that. I.e not a (multiselect) listbox but rather a div where I spit out selections http://www.nabble.com/file/4208/Cropper%20Capture%5B13%5D.png and a simple href (Ändra, swedish for change)
[jQuery] width bug with hide and show
My styles are in a stylesheet, I just wrote this example to be as simple as possible. Since I wrote my initial letter I recognized that the problem exists in Firefox2 only. IE works fine. Nandi -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Brandon Aaron Sent: Friday, November 17, 2006 3:26 PM To: jQuery Discussion. Subject: Re: [jQuery] width bug with hide and show The problem here is the inline style which is considered bad practice.
[jQuery] jQuery 1.1 by the end of Nov
I agree - speed is probably my main concern, not a few Kb file size. Regards, Matthew > -----Original Message----- > From: discuss-bounces@jquery.com > [mailto:discuss-bounces@jquery.com] On Behalf Of Brandon Aaron > Sent: Friday, 17 November 2006 8:24 a.m. > To: jQuery Discussion. > Subject: Re: [jQuery] jQuery 1.1 by the end of Nov > > On 11/16/06, Dave Methvin <dave.methvin@gmail.com>
[jQuery] Tabs plugin - div resize problem in Firefox
I've recently started to use JQuery and have been trying to implement the Tabs plug-in on a PHP based site of ours and I can get it working perfectly in IE 6. Unfortunately in Firefox (1.5.0.8), when I click on a tab with additional content it slides down and overflows the div tag, rather than extend the div as it does in IE. Has anyone experienced this behaviour in Firefox and if so can you point me to what I might do to address the behaviour? I've tried changing many of the settings in the tabs.css
[jQuery] width bug with hide and show
Of course. Thanks. :) -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Brandon Aaron Sent: Friday, November 17, 2006 4:18 PM To: jQuery Discussion. Subject: Re: [jQuery] width bug with hide and show
[jQuery] width bug with hide and show
It works for me correctly. I use 1.0.3 version of jQuery. Nandi -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Brandon Aaron Sent: Friday, November 17, 2006 3:52 PM To: jQuery Discussion. Subject: Re: [jQuery] width bug with hide and show Do you know the revision number you are using? I believe the latest revision should fix this issue. I've recreated the simple test case you provided with the latest revision of jQuery here: http://brandon.jquery.com/testing/kolman/
[jQuery] width bug with hide and show
<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=iso-8859-2"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] Formless (or hopeless) programming model
> My real question is: since I am pretty new on the JS/Ajax
[jQuery] Share plugin settings between functions - best approach? OO?
Hi all, I was wondering what's the best approach to share settings between to jQuery functions? The scenario is this: I want to add a bookmarkable: true|false option to the Tabs plugin to be able to switch off the changing hash in the URL. No problem for the tabs function alone: jQuery.tabs = function({ /* options object literal */ }) Unfortunately I have the other function triggerTab, that needs to know of that setting as well. What is the best approach? Some ideas I had: * Attach every options
[jQuery] Make Thickbox loop?
I would really like to have thickbox loop though all the images with the next/prev buttons, so hitting next from the last image will bring up the first image for example, and the buttons are never disabled. This way you can never get stuck at the beginning or end. I'm surprised I haven't found any other posts about this. Has anyone tried to implement this modification? Adam -- View this message in context: http://www.nabble.com/Make-Thickbox-loop--tf2643760.html#a7380169 Sent from the JQuery mailing
[jQuery] jQuery Methods, a new plugin?
Hi guys, I recently had the wish for extended functions on arrays, hashs and objects like Prototype provides with extending the Array() object. I often used features like without() and truncate(). I am really thinking of rewriting/porting a lot of stuff for jQuery and call it "jQuery Methods", but I have still thoughts going on about the right implementation. My myself, I personally don't really enjoy extending javascripts internal array object, because you can't use things like (for n in somearray){}
[jQuery] API docs draft 2
Hi folks, it's update time, take a look for yourself: http://fuzz.bassistance.de/api-draft/cat.xml The position:fixed hack for IE is implemented, but still a little fuzzy. Good thing: The complete API is bookmarkable across browsers. So far it's tested on FF 1.5, Opera 9, IE 6. Things that are not in there because they don't quite run as they should: Including the history plugin caused the page to eat my processor, not nice. I was unable to get the quicksearch plugin working on the navigation. Klaus:
[jQuery] API docs draft 2
> I have fixed history support for IE in the history plugin. Maybe it's
[jQuery] [Help] How to perform same functions on different tags.
<!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.2964" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=055454707-17112006><FONT size=2>Hi,</FONT></SPAN></DIV> <DIV><SPAN class=055454707-17112006><FONT size=2>suppose to implement the effect as:</FONT></SPAN></DIV> <DIV><SPAN class=055454707-17112006><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=055454707-17112006><FONT
[jQuery] input field focus help!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=095485206-17112006><FONT face=Arial color=#0000ff size=2>Thanks Erik for the input, got the culprit...when thickbox is used, the modal/dialog box link clicked doesn't fire-up the onload event which is the reason why focus() doesn't work... c",)</FONT></SPAN></DIV> <DIV><SPAN
[jQuery] [Beginner. Help] Javascript not function in the loaded content by AJAX
thanks, all :) now, I apply eval($("div#append_area script").html()); after: $("div#append_area").append(data); it works. I have thought to use: $("div#append_area"). load('/ajax_input',$("#input_form").fastSerialize(), function(data) // do stuff on laod }); But the loaded content by ajax seems like restricted to div#append_area, so I used .post() method. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of jyl@mod3.net Sent: Friday, November
[jQuery] [Beginner. Help] Javascript not function in the loaded content by AJAX
<!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.2964" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><FONT face=宋体 color=#0000ff size=2></FONT> </DIV> <DIV></DIV> <DIV><SPAN class=656543702-17112006><FONT size=2>Urgent!</FONT></SPAN></DIV> <DIV><SPAN class=656543702-17112006><FONT size=2>I am new to jQuery.</FONT></SPAN></DIV> <DIV><SPAN class=656543702-17112006><FONT
[jQuery] expression question
So easy when you know how :) Now I have... $("span.singleEventTitle").click(function() { $(this).next().show("slow"); //$(this).find("~ div:visible").hide("slow"); //$(this).find("~ div:hidden").show("slow"); return false; }); The commented out bits were kind of working, except they expanded *all* siblings. I like this new version better. But now I need to know how to *hide* them again with a second click. This seems an obvious thing, and I've seen examples of it being done using ID's, but I don't
[jQuery] expression question
Hi everyone, (Yes, I'm a newbie to jQuery) I have the following in my page... $(document).ready(function() { $("div.singleEvent").hide(); $("span.singleEventTitle").click(function() { $("div:hidden").slideDown("slow"); return false; }); }); Now this works to hide all the "singleEvent" div, but what I want is to show (slideDown) the previously hidden body of an event when somebody clicks on the still visible event title. But I'm just not getting the expression
[jQuery] input field focus help!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=814012000-17112006><FONT face=Arial color=#0000ff size=2>Thanks Glen for the reply, but doesn't work also...below are some attempts btw...</FONT></SPAN></DIV> <DIV><SPAN class=814012000-17112006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN
[jQuery] input field focus help!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=611004723-16112006><FONT face=Arial color=#0000ff size=2>Thanks Erik for the input but it doesn't work... c",)</FONT></SPAN></DIV> <DIV><SPAN class=611004723-16112006></SPAN> </DIV> <BLOCKQUOTE> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original
[jQuery] input field focus help!
i've downloaded thickbox and tried the login demo, the dialog box work as expected however but when i tried to set an autofocus on the username field, it doesn't work. below is a snippet of the code: default.php has the clickable: <a href="login.php?height=200&width=300" class="thickbox" title="Please Login">Click Login</a> login.php is the form with code below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
Next Page