[jQuery] release: treeview plugin 1.1
Hi folks, in case you are looking for a leighweight and unobtrusive solution to transform unordered lists into trees, eg. for navigation menus, this plugin may be the right choice for you: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ The position-issues that existed in the first release are now solved, thanks a lot to Anton Backer on that matter. Let me know if you find any other issues (that are not mentioned on the plugin page) or any features you'd like to see implemented. Regards
[jQuery] blockUI and CPU intensive form processing
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="3">Basically, I have some CPU intensive form validation that takes about 3 seconds to complete. I would like blockUI to start before the form processing and stop after the form processing. However, the blockUI message doesn't ever show up. When I comment out $.unblockUI(), the blockUI message
[jQuery] Easiest way to add elements on the fly?
Hi, If, after the document has fully loaded, I want to append a DIV to the end of another DIV with id = "todoList", what is the easiest way to do that? The HTML code that I want to append is below ... <div class="sidebarToDo" width="100%" id="dToDo3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td><input type="checkbox" name="completed"></td> <td class="sidebarText"><input type="text" size="10" name="newItem" id="newItem"></td> <td align="right"><a class="editTDItem" href='#'><img
[jQuery] Applyng classes to table rows?
I'm stumped on how to do this with jQuery. I have a table like this: <table> <tr class="row" id="blah-one"> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr class="row" id="blah-two"> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> I need to convert it to: <table> <tr class="row" id="blah-one"> <td> </td> </tr> <tr class="row blah-one"> <td> </td> </tr> <tr class="row blah-one"> <td> </td> </tr> <tr class="row" id="blah-two"> <td> </td> </tr> <tr class="row blah-two">
[jQuery] Loop Checkbox Action Question
So far I have this: $(document).ready(function(){ if ($("input[@name='checkbox']").is(":checked")){ $("div.sub2").hide("slow"); } else if ($("input[@name='checkbox']").not(":checked")){ $("div.sub2").show("slow"); } }); I'm trying to get this to loop through every time someone checks or unchecks a checkbox. With the above code it only uses it once when page loads. How would I make it loop? I thought maybe AjaxStart or using $.post might work, but I'm
[jQuery] Introduction and Masked Input Plugin
Very slick plugin, I will for sure use this on my next application. An enhancement might be to provide a elegant way of handling non fixed length numbers, such as currency inputs. So I guess its not so much masking, but pattern matching. $("#amount").maskedinput("999,999.99"); Nice job! --- mrcarxpert <josh@digitalbush.com> wrote: > > So I'm reading that FF, Opera, and Safari support the > DOMCharacterDataModified event. I'll try to look into this further to > produce something to handle pastes.
[jQuery] dimensions and IE offset problem
I am seeing some behavior in IE that I don't understand and that I don't see in Firefox. The offset is being shifted by the margins of the body. If I explicitly set the body to have no margin, it lines up, if I just leave the default, it is shifted. I can demonstrate it with: <html> <head> <script src="jquery.js"></script> <script src="dimensions.js"></script> <script> $(document).ready(function() { var offset = {}; var options = {} $("#bar").offset(options, offset); $("#movetest").css(offset);
[jQuery] Set selected option
Hi, does anyone know how I can set the selected option in an option list? I got several dropdowns to select a date and would like to preselect the current date using JS (cannot use a server side language atm). I know how to find out the date, but how could I (easily) select the corresponding option? Greets, Arne http://www.arnekolja.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] accordion table, instead of an accordion list/menu?
I'm trying to figure out how to build a table that allows the user to toggle groups of rows, much like the accordion menus made with Jörn's accordion plugin, while keeping reasonably semantically correct markup in the table. My best guess on the markup is posted here: http://www.monkeypuzzle.net/testfiles/jquery/Accordion_table/ briefly, it's something like: <table> <thead> <tr> <th>heading</> <th>heading</> </tr> </thead> <tbody> <tr class="accordion"> <th colspan="2" class="collapse_group">Grouping
[jQuery] Komod API catalog
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=218210715-21022007><FONT face=Arial size=2>Hello!</FONT></SPAN></DIV> <DIV><SPAN class=218210715-21022007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=218210715-21022007><FONT face=Arial size=2>the excellent (and free) Komodo Edit 4 software offers the
[jQuery] jQuery and Jack Slocum's Ext
Sam, If you are going to use rich components like those found in Ext, does this matter? I am looking at porting large parts of rich client application functionality to the Web and if a user has scripting disabled, the application will not work anyway. Mark D. Lincoln Mark D. Lincoln, Director of Research & Development Eye On Solutions, LLC (866) 253-9366x101 www.eyeonsolutions.com -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Sam Collett
[jQuery] CORE BUG: NAME attribute masquerades as ID in $('#id') selector IE6/7
While implementing Interface Sliders, I learned that under IE6/7 jQuery 1.1.1's ID selector ($('#uniqueID')) will return either an element with ID of "uniqueID" or an element with a NAME of "uniqueID" -- whichever comes first. Firefox in unaffected, returning ONLY the element with ID of "uniqueID" (if found) -- the expected behavior. This looks to be a reported; http://dev.jquery.com/ticket/951 although the ticket incorrectly limits the scope to anchor tags. Here is an example using <input>; ---
[jQuery] New jQMaps and jQPanView plugins
Hi, I write some plugins for jQuery that I would want to share with everybody. Sorry, I have no time for comment the code. I make a simple sample pages with notepad ;) jQMaps plugin: http://www.sevir.org/projects/storage/jqmaps/index.html Hotspots, maximize info window, custom icons,... jQPanView: http://www.sevir.org/projects/storage/jpanview/index.html inspired in Pan View Plugin of Christian Bach (thanks for your sample, Christian) These plugins are developed for help me in my projects but never
[jQuery] How to get the ID of the parent node?
> -------Original Message------- > From: Sam Collett <sam.collett@gmail.com> > Subject: Re: [jQuery] How to get the ID of the parent node? > Sent: Feb 21 '07 17:19 > > On 21/02/07, Sam Collett <sam.collett@gmail.com> wrote: > > On 21/02/07, dalvarado@remanresource.com <dalvarado@remanresource.com> wrote: > > > > > > > -------Original Message------- > > > > From: Chris Ovenden <chris.ovenden@gmail.com> > > > > Subject: Re: [jQuery] How to get the ID of the parent node? > > > > Sent: Feb 21 '07 16:04
[jQuery] Setting a cookie through Jquery
There is a cookie plugin by Klaus (http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/) Or you can get it from svn: (svn://jquery.com/plugins) Ryan Rose Lead Developer Digiwize, Inc. 256 Woodmont Dr. Coventry, CT 06238 e: ryan@digiwize.com p: 860.742.8252 http://www.digiwize.com -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Gaston Garcia Sent: Wednesday, February 21, 2007 12:07 PM To: jQuery Discussion. Subject: [jQuery] Setting
[jQuery] Setting a cookie through Jquery
Hi is there a way to set cookies with Jquery? Let's say someone submits a form, I use jquery to process the form through ajax and sends it to php... is there a way to create a cookie with jquery? Maybe in the ajax call I can send the data to PHP and set it through PHP? Anyways, just wanted to know if I can do it directly with jquery. thanks everyone, G. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Jquery to set cookies?
Hi is there a way to set cookies with Jquery? Let's say someone submits a form, I use jquery to process the form through ajax and sends it to php... is there a way to create a cookie with jquery? Maybe in the ajax call I can send the data to PHP and set it through PHP? Anyways, just wanted to know if I can do it directly with jquery. thanks everyone, G. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to get the ID of the parent node?
> -------Original Message------- > From: Chris Ovenden <chris.ovenden@gmail.com> > Subject: Re: [jQuery] How to get the ID of the parent node? > Sent: Feb 21 '07 16:04 > > On 2/21/07, SAM COLLETT <[LINK: mailto:sam.collett@gmail.com] > sam.collett@gmail.com> wrote: On 21/02/07, [LINK: > mailto:dalvarado@remanresource.com] dalvarado@remanresource.com <[LINK: > mailto:dalvarado@remanresource.com] dalvarado@remanresource.com>
[jQuery] jCarousel wrapping
Does anyone know if there is a way to get jCarousel to wrap without 'zooming' from the last to the first item? I would rather just have the first item slide in just as each of the other items have. That way it's more of a seamless loop. Any ideas or suggestions? - Jim _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] animation in interface ie7 bug
I've struggled for about three hours with a strange ie7 bug. It's a simple animation (of a div with a height of 6em), looking like this .animate({height: ghostHeight}, 250, function() { ... }); and it works fine everywhere except ie7 that says "invalid argument". If i take away the interface (running on 1.2) it works. It seems to somehow complain that height isn't initialized correctly or something, because any other attribute will do (like width), and if I add this $(self).height($(self).height());
[jQuery] How to get the ID of the parent node?
Hi, Following up from a question I asked yesterday, I wanted to get the closest parent DIV given an arbitrary nested element. But when I request the ".id" of that element, i repeatedly get an "undefined" message, even though this call, "$(this).parent("div.sidebarToDo")" yields an object. $('#todoList a.deleteTDItem').each(function(index) { var divId = $(this).parent("div.sidebarToDo").id; alert(divId); // alwasy gives 'undefined' $(this).click = function() { $('#' + divId).remove(); }; }); This
[jQuery] Hide and show inside JTabs
Hi all I'm using JTabs with a big form for improve usability. Works like a charm. Inside this form I'll want to show/hide input fields when user checks/unchecks a radio button. But I have a problem. Using this sample script works fine outside JTabs: Jquery code: <script type="text/javascript"> $(document).ready(function(){ $("#show_property__pat_co").hide();//hides the DIV $("input[@name='property__pat_co_yes_no']").click(function(){ if ($("input[@name='property__pat_co_yes_no'][@checked]").val()
[jQuery] Select elements without specific children
Hi all, I want to select all line items without child a tags with a class of 'on'. I can select the line items with the a tags: $('li.expandable[a.on]'); But when I try :not I come up empty: $('li.expandable:not(li.expandable[a.on])'); What am I doing wrong? Adam -- View this message in context: http://www.nabble.com/Select-elements-without-specific-children-tf3260789.html#a9062578 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing
[jQuery] Site using jQuery
<div>It's live finally.</div> <div><a href="http://www.intuit.com">http://www.intuit.com</a></div> <div> </div> <div>Very jQuery.</div> <div> </div> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Problem to add an jQuey- command to a loop
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; CHARSET=iso-8859-1"> <META content="MSHTML 6.00.2900.2180" name=GENERATOR> <STYLE type=text/css> <!-- p.Normal, div.Normal { font-family: "Arial"; font-size: 10pt; margin: 0cm; } //--> </STYLE> </HEAD> <BODY> <DIV class=Normal> </DIV></BODY></HTML>_______________________________________________ jQuery mailing list
[jQuery] History Plugin API
Hi All I have searched Google and my archives of this list, and can't find an API for the history plugin. Is there one, somewhere? Thanks! Chris<br clear="all"> -- Chris Ovenden <a href="http://thepeer.blogspot.com"> http://thepeer.blogspot.com</a> "Imagine all the people / Sharing all the world" _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jCarousel with many (100+) items
Hi, I'm using jCarousel (great plugin btw) in an app where it will be potentially be displaying 100+ items. Each item is a li with a div, some text and an image inside. From my experiments so far it scales OK to somewhere between 20 and 50 items and then becomes a bit "clunky". I've tried using the loadItemHandler and this helps initially, but the items are added on each scroll and never removed so it still becomes clunky after a while... Is it possible to have a situation where only the visible
jQuery and Jack Slocum's Ext
Hi Everyone - Today, we're proud to announce that the jQuery Project and Jack Slocum's Ext Project, have partnered to integrate the amazingly lightweight and powerful jQuery framework with Ext's awesome UI library. This collaboration will greatly enhance the capabilities of both projects and expand the functionality available to developers using the jQuery JavaScript Library and the Ext UI component suite. Specifically, the upcoming Ext 1.0 release will be able to run, natively, on the jQuery JavaScript
[jQuery] ANNOUNCEMENT: jQuery & Ext Partner to Deliver Integrated JavaScript & UI, Features
Today, we’re proud to announce that the jQuery Project and Jack Slocum’s Ext Project, have partnered to integrate the amazingly lightweight and powerful jQuery framework with Ext’s awesome UI library. This collaboration will greatly enhance the capabilities of both projects and expand the functionality available to developers using the jQuery JavaScript Library and the Ext UI component suite. Specifically, the upcoming Ext 1.0 release will be able to run, natively, on the jQuery JavaScript Library.
[jQuery] Flash video chunkyness and strange rendering on Mac Firefox using thickbox?
<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> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
jQuery is OpenAjax Compliant
This is a repost from here: http://jquery.com/blog/2007/02/21/jquery-is-openajax-compliant/ Hi Everyone - A new initiative has been forming, over the recent months, in an attempt to standardize the different Ajax and JavaScript codebases that exist. A number of corporate entities have come together to draft the new OpenAjax standard (including IBM, Adobe, Opera, and Mozilla). http://www.openajax.org/ Today we're announcing a new plugin that you can use to make jQuery OpenAjax compliant. By doing
[jQuery] Getting parent nodes
Hi, If I have a "this.id" reference to an element in my DOM, how would i get its parent node? More challenging, how would I get the first DIV node that the element is in? That is, it may be nested within an arbitrary number of table cells, but there is a DIV lurking at the top ... <div id="outer"> <div id="inner"> <table> <tr><td> <table> <tr><td><!-- here's the element --> In the example here, I would like to get a reference to the DIV with ID = "inner". Thanks, you guys are the best, - Dave _______________________________________________
[jQuery] easy way to get checkbox state from within a DIV
> -------Original Message-------
[jQuery] jqModal: closeClass and href?
Hi there, I am using jqModal now for a nice intro overlay on the frontpage of a customer and want to have a link within the jqModal overlay that opens a sub page. Of course I can simply put a link into it, but when I click this then it opens the page while the overlay still stays in the foreground. I took a look at the README and it mentioned the closeClass, which is per default set to jqmClose. I assigned this class to the link and it closes the overlay, but doesn't call the link any more *lol*
[jQuery] jqModal and AJAX
Hello, I'm trying to find the problem in my implementation of jqModal in my web app. I've set up an html only (static) test page that shows the problem i'm facing: if you look at: <a href="http://dev.trickos.com/mrp/test/jqmodal-test.htm"> http://dev.trickos.com/mrp/test/jqmodal-test.htm</a> The trigger for the jqModal window is the Edit link. If called alone from the list page (list.htm), the jqModal window appears without errors, however when called from inside the tabs page, an error "h has no
[jQuery] automatic presentation
Hi all, i would develop a Plugin for slides presentation. The slides self works fine. Now i have try a PAUSE/PLAY/NEXT/BACK funktion insert, now my problems began. See you a way to go to do this? Here are the DEMO: http://olaf-bosch.de/bugs/jquery/presenter/ All Code is in HTML, comments also. Other problems are the Navi, the second replace of the Link Play/Pause works not. And i try the default Timeout overwrite with a part of the ID from the DIV, no idea to do this from my :( -- Viele Grüße, Olaf
[jQuery] easy way to get checkbox state from within a DIV
Hi, I'm sure there's a shorthand way to do this. I'm trying to get the checked state of a checkbox, the only one, within a particular DIV. I would prefer not to use the ID of the checkbox but some more generic way of referring to the only checkbox within the DIV, id=dToDo1. I am fine to use the ID of the DIV in the shorthand expression. Here's how the HTML looks: <div class="sidebarToDo" width="100%" id="dToDo1"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td><input
[jQuery] Select "orphan" text.
Hi all, this time I need to know the way to select text that is not inside a tag. That is, in $("orphan1 <span> in span </span> orphan2 in p orphan3") i would need to get a jQuery object like this : ["orphan1", "orphan2", "orphan3"]. I've been trying with functions like .filter(String) or .not("HTMLElement"), but none of them seem to work. Any ideas? Thanks in advance. Abel. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Smooth Scrolling for same-page links
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">ok, now that the smooth scrolling has Klaus's blessing :) ... I thought I'd share some code I wrote to make it happen for all same-page links. It takes into account the difference in the way the various browsers treat href.<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style:
[jQuery] form.js, IE6 failure
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">A question regarding Mike Alsup's excellent form plugin:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm loading my contact form via </DIV><DIV style="margin-top:
Next Page