[jQuery] OT: Detecting memory leaks in Firefox
Anyone know of any good tools for debugging memory leaks in Firefox? I have installed the Leak Monitor extension, but it does not seem to work. Plus when it did (Firefox 1.5), the constant popups proved irritating. I want to find out what is causing leaks (both in the browser and web pages), rather than that they are occurring. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface highlight alternative?
Currently the highlight effect in Interface doesn't work well with IE... I've submitted a bug but in the meantime - does anyone know of any alternatives? I'm getting ready to release a site and need to come up with a fix or alternative for this before I can wrap it up. I'm just using it to highlight errors after a form submission. Thanks! Jim _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Calling all CF'ers... et al...
What you described is basically what I do, Rick--not because Jorn's plugin didn't work but because many of my form fields are validated against each other, and database interaction is required to make that decision. (e.g., the validity of field Y depends on the value already entered in field X.) Below is the validate function I call onBlur from each input. It first sets the field's status icon to a loading spinny, then requests validation from a CFM file, passing the value of the current field as
[jQuery] looking for sortable plugin that serialized on mouse release
hey i saw many sortables around including protoype, its seems that the interface plugin is the most simple , but i dont have a clue how can i serialize the data after the user release the dragged content, and also, how can i send it to the server for proccessing the data anyone can see this code? <script type="text/javascript"> $(document).ready( function () { $('ul').Sortable( { accept : 'sortableitem', activeclass : 'sortableactive', hoverclass : 'sortablehover', helperclass : 'sorthelper', opacity:
[jQuery] editInPlace link trigger
I am using Dave Hauenstein's editInPlace plugin at http://davehauenstein.com/blog/archives/28, which is triggered by $("#element>").editInPlace({. I was wondering wherether it would be possible to trigger this plugin by having a link or button next to the text that was to be edited that triggered the edit function instead of clicking the actual text (or having the ability to do both)? Does anyone have any ideas on how this coul be done? Thanks, Rob -- View this message in context: http://www.nabble.com/editInPlace-link-trigger-tf3395144.html#a9451913
[jQuery] jQuery BlockUI Plugin IE crashes
Hi, jQuery BlockUI Plugin, IE crashes every time. I am using jquery 1.1.2 + form plugin Any ideas? Cheers, -- Kush Murod, Web applications developer Sensory Networks [E] kmurod@sensorynetworks.com [W] www.sensorynetworks.com [T] +61 2 8302 2745 [F] +61 2 9475 0316 [A] Level 6, 140 William Street East Sydney 2011 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] rollodex ui
<!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=796412123-14032007><FONT face=Arial size=2>hello!</FONT></SPAN></DIV> <DIV><SPAN class=796412123-14032007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=796412123-14032007><FONT face=Arial size=2>i need to display a list of contacts in an online addressbook which
[jQuery] on resize in jquery?
with jQuery, how do I fire off a function or two whenever a window is resized? I'm trying to adapt a more traditional javascript, and in this case I've got it attached to the body tag: <body onResize="doSomething;"> hoping to graduate from jQKindergarten soon :-) -- View this message in context: http://www.nabble.com/on-resize-in-jquery--tf3404986.html#a9483981 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Blurry font on fadeIn
<div>See code below:</div> <div>in IE7, when I do this, the font is all blurry. If I use fadeIn(), it looks blurry until the very end and then fixes itself.</div> <div>Firefox looks right the whole time. Am I doing somthing wrong?</div> <div> Glen</div> <div> </div> <div> <font face="courier new,monospace" color="#660000"><div class="mktReadOnly" style="font: bold 24px 'trebuchet ms'" > This is the Name </div> <div class="mktEditable" style="display:none;"> <input type="text" value="This is
[jQuery] [validation plugin] addError help!
I can't add and show an error message programmatically, seems to me that addErrors function doesn’t exist in validation plugin 1.0 Beta 1 But I found this in the docs : var validator = $("#myform").validate(); validator.addErrors({"firstname": "I know that your firstname is Pete, Pete!"}); validator.showErrors(); It seems a validator.showErrors({'id': 'the error'}); doesn't provide the right information. Anybody can help? Regards, Phil _______________________________________________ jQuery mailing
[jQuery] Swapping css of non-adjacent link tags
Hello folks, I'm seeking some help in changing the (in this case) background colour of links once they've been clicked. I have an application that contains many (50-100) links on a page. Clicking on any one brings specific content into a neighbouring div. What I want to do is to change the background colour of the most recently clicked link so that a user can see at a glance where they are in the list. This has two parts - the changing of the background colour of the current link to the highlight
[jQuery] How can this be modifed to accept other types of input?
Hi, all... How can this code be modified to accept others types of input besides "text"? I need to be able to include input from selects, radio, and checkboxes...
[jQuery] Do I really need to do an 'eval' in JQuery?
I want to hide the all table rows that have a specific value for the custom 'grp' attibute. This code works: $('table.grouped tr.group').click(function() { var attrName = $(this).attr("grp"); eval("$(this).siblings('[@grp=" + attrName + "]').toggle()"); return false; }) Basically, I get the 'grp' property value of the row that is clicked. Then I toggle all siblings that have the same value for the grp attribute. Question: Is there a way to do this without using the eval method? More information:
[jQuery] Need help with filter, please.
Hi folks, I've tried to use the filter function in the past, but have never been successful. Usually, I just figure out another better way to do what I wanted (meaning that filter was probably the wrong choice to begin with), but now I've got a case where I think filter would work fine, but I'm still struggling with a couple of things. 1. do I need to use filter(expression) or filter(filter)? 2. what should my expression or filter look like? Okay, so here's the situation I find myself in: I've got
[jQuery] Edit in place -- update two div
Hi I am using Mika Tuupola's edit in place script (http://www.appelsiini.net/~tuupola/javascript/jEditable/) . It workes fine..but I have some trouble in extending it. Actually I want to update two divs when user is done with editing. But I am not sure how I can do that with jeditable.. here is my basic jquery code that I am using for edit in place. $(".seditable").click(function(){ var uri = $(this).attr('url'); $(this).editable(uri, { 'indicator' : " img/images/spinner.gif ", 'type' : 'text', 'event':
[jQuery] Input tags (off topic, sorry)
<div style="width: 400px; border: 1px solid red;"> <input type="text" style="width: 100%;" /> <textarea style="width: 100%"></textarea> <select style="width: 100%;"> <option style="">Something</option> </select> <div></div></div> <div> </div> <div>The padding, margins and borders built into the textarea and input tags make them go past the red border.</div> <div>So I cant line up the three fields.</div> <div> </div> <div>Is there any way to fix this?</div> <div> </div> <div>Sorry for the off topic.
[jQuery] Creating a visible link to show and unhide content.
I'm currently trying to create a spoiler hiding addon for a forum using jQuery. I basically want to have all Ps, DIVs and SPANs with a class of .spoiler inside of #Comments .CommentBody to autohide the text and provide a clickable "Spoiler: click to show" that, when clicked, shows the hidden text and changes to "Spoiler: click to hide". The following entered into the comments: Some text here about a wonderful <span class="spoiler">spoiler that will ruin some people's day</span>. And then some
[jQuery] serialize form
I am attempting to use the .serialize function to post a form via Ajax. The form is very large and has just about every type of form element possible. I was not clear on the semantics to select all form elements in a particular form and all the examples I found were for input[type@text]. The use case is an autosave for the form. I looked at the form plugin and it seemed to want to take control of the form submit. In my use case I want to save the form in the background and let the user continue to
[jQuery] Who's moderating the jQuery mailing list signup?
Ooops...fat fingers. Should be a . Not a comma. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Kelvin Luck Sent: Wednesday, March 14, 2007 9:16 AM To: jQuery Discussion. Subject: Re: [jQuery] Who's moderating the jQuery mailing list signup? Andy Matthews
[jQuery] Discussion list signup errors
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=146475217-14032007><FONT face=Arial size=2>My coworker still can't sign up successfully. So he decided to try another email account. When he clicked the subscribe button he received an error (at the top of the page).</FONT></SPAN></DIV> <DIV><SPAN class=146475217-14032007><FONT
[jQuery] Selecting only one level in DOM and no deeper
Use the descendant selector. Div ul li Vs Div ul > li The > says only the first instance of that object. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Dan Eastwell Sent: Wednesday, March 14, 2007 10:01 AM To: jQuery Discussion. Subject: [jQuery] Selecting only one level in DOM and no deeper I have a function function closeSubModules(subModules){ for(var i=0; i < subModules.length; i++){ theElement = subModules[i]; $(theElement).hide();
[jQuery] Scope a variable to a plugin
Bit of a simple question this I'm sure but how do I scope a variable to a plugin I'm creating and not expose it beyond my plugin? I do want the variable to be accessible to all the methods in my plugin though. Thanks Tom _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Navigation on Chelsea FC website
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=iso-8859-1> <STYLE></STYLE> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" name="Compose message area"> <DIV>Take a look at <A title=http://www.chelseafc.com/
[jQuery] Re Serialize Form
Ok Mike. Thanks for the help. As I stated in my last email, the use case is an autosave function for a very large form. I have a setTimeout call that runs a saveForm function. The form elements should be serialized and submitted via ajax. The calback function pops up a little window that notifies the user that the form has been autosaved. The user interface continues to show the form. When the user has completed working with the form and presses the submit button, the form fully submits and the screen
[jQuery] ANNOUNCE: The treemap plugin
> Renato Formato schrieb:
[jQuery] How to bind a hover event?
Hi all, Somehow I can't figure out how to bind a hover event to an element. At the moment I am using the following workaround: $(this).bind('mouseover', functionA); $(this).bind('mouseout', functionB); But that's not that elegant imho. So, does someone know a better solution? Thanks, daniel -- Daniel Hofstetter http://cakebaker.42dh.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ANNOUNCE: The treemap plugin
Hi all, I wrote a jQuery plugin to show treemaps (http://en.wikipedia.org/wiki/Treemap) easily thanks to jQuery. A treemap is a nice way to visually show data with rectangles and colors. Let me know what do you think about it, how can I enhance it, add new features and so on. Link: http://www.jquery.info/spip.php?article40 Please, be kind with my English, and, if it's wrong, tell me how to fix it ;) Ciao Renato _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] jQuery newbies?
Hi folks, the infamous ppk wrote in his blog: "I've learnt one other trick for distinguishing newbies and pros: ask them the difference between |this| and |self|. Usually people who just claim to be excellent scripters don't know the answer, while real pros do." So obviously I am not an excellent scripter, because I don't have any idea on the difference between those two. And I prefer discussing iton this instead of crawling through the ECMA spec. Anyone? -- Jörn Zaefferer http://bassistance.de _______________________________________________
[jQuery] display message below / above div that include FORM
hey. i have a div that inside contains FORM elements im trying to suppress that window and put a div that will be below it with message. i tried this: <span id='statusmsg'>fgfdgf<BR>sdfdsfdsfdf<BR></span> $(function(){ $('#FormContainer1').block(); $("#statusmsg").below("#FormContainer1", {adjustRight: offset, adjustDown: 0}) $('#FormContainer1').fadeTo("550", 0.2); offset = ($('#statusmsg').width() - $('#MyForm1').width()) / 2; $('#unblockButton').click(function() { $('#FormContainer1').unblock();
[jQuery] How to bind a hover event?
Can't you just use the hover function? $(this).hover(functionA,functionB); - David Dexter -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Daniel Hofstetter Sent: Wednesday, March 14, 2007 7:37 AM To: discuss@jquery.com Subject: [jQuery] How to bind a hover event? Hi all, Somehow I can't figure out how to bind a hover event to an element. At the moment I am using the following workaround: $(this).bind('mouseover', functionA); $(this).bind('mouseout',
[jQuery] Selecting only one level in DOM and no deeper
I have a function function closeSubModules(subModules){ for(var i=0; i < subModules.length; i++){ theElement = subModules[i]; $(theElement).hide(); } } one of the subModules[i] I've passed this function in an array is "#faq li ul" and hides all the sub-modules e.g. <div id="faq"> <ul> <li> <ul> <!-- hide this --> .... </ul> </li> </ul> I've another function that toggles the hidden submodules onclick of another element on the page. If the submodule has a list inside
[jQuery] Who's moderating the jQuery mailing list signup?
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=707011014-14032007><FONT face=Arial color=#0000ff size=2>That's what I thought...maybe he signed up for the wrong list? Just to be on the safe side, can someone post the correct signup page for the discuss@ list?</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader
[jQuery] ANNOUNCE: The Accessible jQuery News Slider by Brian Reindel
Brian Reindel has come up with a nifty little slider. He goes to great lengths to make this accessible which is very cool. http://blog.reindel.com/2007/03/12/the-accessible-jquery-news-slider/ Offer up some feedback. Rey... -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] BlockUI
<!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.2800.1589" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Forgive my quite obviuos newness to this world.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I'm using BlockUI for a couple different uses on an intranet site I manage. I'm having an
[jQuery] Who's moderating the jQuery mailing list signup?
<!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.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=548073013-14032007><FONT face=Arial size=2>A co-worker is trying to sign up for discuss@ and he was informed that the signup was moderated. Can someone take a look through the list and check for jquery,dev@cutterscrossing.com? Please and thank you.</FONT></SPAN></DIV> <DIV> </DIV>
[jQuery] looking for overlay loading window script
hey. i tried blockui and serval scripts, they are great, the problem that i want to able to do somthing like on user click on submit its open window like blockui has with "loading..." then its checks the json parameters that given back and if status is 0 then close the modal window and open new one (or just change the text inside) to "you have errrors : [errors] , please fix them! " finnally if everything is ok then write on the window "submit done" and then on click redirect it to a page... or somthing
[jQuery] Append bug?
I'm not having any luck with the following 2 commands - is this a bug or something I'm missing? I've tried with <colgroup /> as well. $("#myTable").append("<colgroup></colgroup>"); $("<colgroup></colgroup>").appendTo("#myTable"); -- View this message in context: http://www.nabble.com/Append-bug--tf3400052.html#a9468060 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] finding y position
I want to find the position of the top of a div (distance from top of window), so I can calculate and set the height of another div. How can I get that? I'm a little confused as to how to use offset, which returns values for both x and y. Thanks! -- View this message in context: http://www.nabble.com/finding-y-position-tf3399556.html#a9466593 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ajax and IE
-------------------------------- host page: function load(src, dest, params) { $.ajax({type: "POST", url: src, datatype: "html", data: params, success: function(pg) { $("#" + dest).html(pg).fadeIn("slow"); } }); } (this loads the page fine into the dest div in both IE and FF however...) -------------------------------- guest page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " <a href="http://www.w3.org/TR/html4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>">
[jQuery] NEWS: jQuery-Powered FlickrCash on Ajaxian
Hey guys, Jesse Skinner's FlickrCash site got some nice press over at Ajaxian: http://ajaxian.com/archives/flickrcash-view-lots-of-flickr-images Be sure to check out the site and show a fellow jQuery user some love. Great work Jesse! Rey... -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) rey@iambright.com http://www.iambright.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page