[jQuery] Note: IE6 Microsoft Patch fixes Leaks on Windows XP
This might be of interest to jQuery authors: On June 12th, Microsoft released security update MS07-033. http://support.microsoft.com/kb/933566/ Included in this update is the following: General distribution release (GDR) fixes A memory leak occurs in Internet Explorer 6 when you view a Web page that uses JScript scripting on a Windows XP-based computer (KB929874) http://support.microsoft.com/kb/929874/
[jQuery] Superfish menu plugin v1.2.3 ...with explanation
Hi everyone, I've been debugging the Superfish menu plugin all day. Back when jQuery 1.1.3 was released, I had to change Superfish to make the submenus show due to the way jQuery would no longer animate objects that were hidden by being positioned off-screen - they needed to be explicitly hidden. This made Superfish a touch less elegant than it was originally, but not too bad. Then jQuery 1.1.4 came out and just today Richard Worth alerted me to the fact that the keyboard accessibility feature was
[jQuery] jQuery beginer in search of magic...
Hi everybody... Let me introduce myself, i'm a web designer and i'm learning javascript to extend my set of skills. i developed the javascript image gallery on my web site: http://kosmonot.bl1nd.com i work on a mac and on mac browser it work almost all right. I do have an issue when you click to fast on the same button, then everything goes wild. On pc, well I'm afraid it does not work. I did all this gallery in plain old javascript, learning fron different sources, but let me tell you it's hard
[jQuery] What's wrong with my syntax?
I'm trying to use both afterFileAppend and afterFileRemove. I get an syntax error in javascript: "Missing } after property list afterFileAppend:function(element,value,master){" Here's my code: $.MultiFile({ afterFileRemove:function(){ $("#galleryEdits").jScrollPane({showArrows:true,scrollbarWidth:15, scrollbarMargin:0, arrowSize: 16}); } afterFileAppend:function(element,value,master){ //alert('File selected:\n'+value + ' ' + element.id + ' ' + master);
[jQuery] Fading element opacity problem using Interface FX!!!
I'm using Interface Elements jQuery plugin to have some extended animation functions that I need, some are working, ie: $ (this).animate({ color: '#ff0000' }, 200);, some are not. I don't have full javascript interface.js file included, only the ifx.js. However, I tried to include ifx.js + easing.js and also interface.js without any other interface js file cause this one has everything. However, none of them worked with the following code: $('div#cpblock').animate({opacity: "hide"}, 3000); The element
[jQuery] Get File Count?
Hi there. Great plug-in. Thanks! Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ? That would be really useful for managing other scripts that may react based on the number of files being uploaded. For example, I display a warning if 2 or more files are being uploaded. -- View this message in context: http://www.nabble.com/Get-File-Count--tf4344574s15494.html#a12377291 Sent from the jQuery Multiple File Upload mailing list archive at Nabble.com.
[jQuery] How optimize $(this).children("span").children("a").html("it works");
Hello, I'm trying to optimize this selector: $(this).children("span").children("a").html("it works"); Because I think that these 2 .children are not "light" javascript My HTML: <div id="container"> <span> <a href="#">My link</a> </span> </div> I try something like $(this > "span > a").html("it works"); But it doesn't work. I'm sure that it's a dummy question but i doesn't find by myself... thanks for your help.
[jQuery] Toggling the html of an element
Hi all, I am toggling an element using A tags, I would like the A tag to display "Show" or "Hide" depending on the state. my proble is, I cannot get this to work properly: my code: <script type="text/javascript"> $(document).ready(function(){ $('#toggleTwo').click(function(){ $('#rubricTwo').toggle(function(){ $(this).html = "hide";} ,function(){$(this).html = "show";} );// end toggle return false; }); }); // end document.ready </script> # ====== HTML <a href="" id="toggleTwo">hide</a> <div id="rubricTwo">
[jQuery] SITE SUBMISSION: scarlet.be
<!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.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=437270418-27082007><FONT face=Arial size=2>just found out my ISP is using jquery on its main website: <A href="http://www.scarlet.be/fr/">http://www.scarlet.be/fr/</A></FONT></SPAN></DIV> <DIV><SPAN class=437270418-27082007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN
[jQuery] Text node selector?
I'm just starting to dig into jQuery, and was wondering whether anyone would have an idea how to implement a selector that would return text nodes. For example, something like "#text", which is Mozilla's name for text nodes[1], or "text()", which is an xpath selector[2] (realizing of course that the former would overlap lookups by node ID). This would allow folks to do something like $("#text").wrap("<span></ span>"), to wrap all text nodes in a span. I understand that allowing users to select text
[jQuery] xml and xlst and ajax
hi everyone! first, im apologyze for my bad english, because my mother language is spanish :), but i try to improve my english :) im newbie on jquery and i have a lot of questions about ajax. i wanna use ajax with xml documents and xslt to format the content of the xml documents. see this picture to understand http://upload.wikimedia.org/wikipedia/commons/e/e6/XSLT_en.svg i have an application that serves xml documents and a xml document in the client side processed with xslt i wanna make a petition
[jQuery] Not Blowing My Own Horn jQuery Super GUI Example
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
[jQuery] pnGFix Plugin with Jquery 1.1.4
Hi all, has anyone gotten the pngFix plugin to work with Jquery 1.1.4? Thanks
[jQuery] How do you test if an object exists?
I'm getting weird bugs when using setTimeouts and/or setIntervals after I hit the back button in Firefox to come back to the page. I need to do a check at the top of any setTimeout to make sure that the object I need still exists. But I dont know how :(
[jQuery] Problem with validate plugin in IE6?
I dont know why but with validate code my js dont run anything =/ even though a simple alert I´m trying with IE6, FF works fine! Is somebody with the same problem?? $(document).ready( function() { $("#validando").hide(); $("#Responder").bind('click', function(){ var old_title = document.title; document.title = "Validando..."; mostraMSG("validando"); $("#envia_quest").validate({ errorClass: "error_valida", errorElement:
[jQuery] Click event not working...
<!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.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=083514415-28082007><FONT face=Arial size=2>Does anyone have any idea why the click event on my blog isn't working in IE7?</FONT></SPAN></DIV> <DIV><SPAN class=083514415-28082007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=083514415-28082007><FONT face=Arial
[jQuery] [NEWS] YUI Compressor 2 out now - Now with CSS Compression
http://www.julienlecomte.net/blog/2007/08/27/yui-compressor-version-20-now-available/ "Version 2.0 of the YUI Compressor is out, fixing several bugs and implementing a few enhancements suggested by the community, including integrating Isaac Schlueter's regular expression based CSS minifier. Therefore, the YUI Compressor is now able to compress both JavaScript and CSS files." Just keeps getting better and better! -- Tane Piper http://digitalspaghetti.me.uk This email is: [ x ] blogable [ ] ask first
[jQuery] [UPDATE] jqGalView (yet another image gallery)
After taking a good bit of advice, I made changes to the jqGalView plugin and I think I have it at a very good place now. Special thanks to those that gave great feedback, I took what you had to say and think I have a winner now. This community breads greatness :) <a href="http://benjaminsterling.com/2007/08/24/jquery-jqgalview-photo-gallery">http://benjaminsterling.com/2007/08/24/jquery-jqgalview-photo-gallery</a><br clear="all"> By all means, please let me know if there is anything that can make
[jQuery] cluetip positioning
Is there a way for me to set the position of the tooltip manually, say for instance i want this tooltip to dipslay near the top and in the middle so matter where the tooltip link is? -- View this message in context: http://www.nabble.com/cluetip-positioning-tf4342335s15494.html#a12369913 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] trouble with textarea values
Hi, I am trying to do the following: I have a textarea on a page. I want to preserve the text that has been previously entered in the text box. My solution has been to do the following: function commentHistory() { var originalText = $j("#act_progress").text(); $j("#act_progress").parent().append("<p /><b>History</b><p /><div id='originalText'><pre style='font-size:10pt;font-family: verdana, arial, helvetica, serif'>"+originalText+"</pre></div>"); $j("#act_progress").text(""); } The above
[jQuery] validation plugin : conflict with formsess because of "{"
Hi I'm having an issue with the validation plugin. It conflicts with a smarty-based php class named formsess. It does not allow signs such as "{" in form tags. Sounds like hell to go modify formsess, so I hope to find a way to change that in the validation plugin. Could it be possible to replace class="{required: true}" with class="[required: true]" ? thanks -Olivier
[jQuery] Effect - Slide Up/Down
Hi, I try to apply effect on a very basic example, But I can't have it working. Can anyone help me with this ? Thank you !! <!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" xml:lang="en" lang="en"> <head> <script type="text/javascript" src="js/jquery-1.1.3.1.pack.js"></script> <style type="text/css">#level2 {background-color:#DFEBFF;}</style> <script type="text/javascript"> $(document).ready(function(){
[jQuery] Help serializing form to array
Hi. What is the voodoo to build an array for a JSON submit from a bunch of form fields? Okay, I'm building the form dynamically from the fields in a mysql DB, with input/@id set to the field name. The following naive approach doesn't work, but will give you an idea of how I'm grabbing what I want to do. It definitely doesn't like the $.merge( parms, {this.id : this.value }) The error is "missing : after property id"... $("form#additem").submit(function(){ var parms = { cmd:"ADD" }; $("form#additem//input[@type=text]").each(function(){
[jQuery] Recursive setting of names in jquery
Hello there, I've been loving jQuery so far - so efficient, and a great piece of code to work with. I was wondering if it is possible to use jQuery in a loop where I need to set a row of values in. For example if there was a set of input boxes named totalA - totalE. To change the first, I would use: $("input[@name='totalA']").val("the value I want to put on this form"); But is there a way I can make @name a variable, or a combination of strings? @name='total' + currentLetter Does not work like I
[jQuery] Vertical Tabs example....
Does anyone have any CSS examples of any vertical, right-aligned tabs using Klaus' Tabs plug-in? -Dan
[jQuery] Why isn't there top() and left() methods in the dimension plugin ?
Okay, I'm doing a lot of jQuery today so please pardon me if I'm sending too much emails here. I'm annoyed with the (otherwise great) dimension plugin because there is no direct way to get the top and left position of an element. So all over my code I have things such as : $errorBoxOffset = {}; element.offset({scroll: false}, $errorBoxOffset); $left = $errorBoxOffset.left; $top = $errorBoxOffset.top; Have I missed something in the dimension doc ? Do you think
[jQuery] jQuery Interface Highlight Bug?
I am using the jQuery Interface plugin in a project and I am trying to get the Highlight effect to work, but I am having a problem in Internet Explorer (specifically IE6). When I use Highlight: if (response == 'success') jQuery('#products').Highlight(2000, '#FFC'); In Firefox this works fine, but in IE, since the element does not have a specified background color, after the animation is finished, the color snaps to #FFC (the animation is correct when it fades from #FFF to #FFC). I can combat this
[jQuery] jquery accordion
Hi people, it took me a while to figure out, how to get an accordion interface running. Now I started to use it nearby everywhere. I really love that kind of navigation. But now I headed into some troubles. I implemented the accordion by use of div layers. I did find a demo somewhere on how to do that. The accordion works finde when I load the page. I can click the first menu element, the accordion opens, but after i clicked another one which appears a little later, because inbetween are a couple
[jQuery] Sortable List Problems (Interface plugin)
Hi All, I'm trying to create asortable list of categories. The file that generates the list will be loaded into a div using $ ('#content').load('cateList.php'). The sortable works fine the first time the file is loaded, however, if I move to a different set of content in the same div (called in the same way) and then back again, when I try to sort the elements again they are removed from the <ul> and placed at the end of the code. Therefore being displayed in a somewhat bizarre location... :o) I'm
[jQuery] Problem with change()
I wrote a function that check text fields in a form using change, it works for the most part. But if say they go to the email field and the remember function of the browser pops up and they click that instead of typing it, the change method doesn't detect it. There a way to deal with this?
[jQuery] slideDown causes Java applets to reload on Firefox
I have a page with a slideDown menu. It also contains a number of Java applets. This causes a problem on Firefox 2.0.0.6. If a Java applet is running and I click the link to slide down the menu the applet reloads. It doesn't do it on slideUp, and neither slideDown nor slideUp provokes any applet reloading on IE6, IE7, or Opera. There's no reloading on any browser I've tested if I use fadeIn instead of slideDown. So my temporary fix is to browser-detect and fadeIn for Mozilla and slideDown for everything
[jQuery] OT CSS skins
<!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.16525" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=812065212-27082007><FONT face=Arial size=2>if anyone is interested, Stu Nicholls, one of the most creative css hackers, has just released a set of themes: <A href="http://www.cssplay.co.uk/menus/pro_horizontal">http://www.cssplay.co.uk/menus/pro_horizontal</A></FONT></SPAN></DIV>
[jQuery] divert click to an anchor
<html><head> <script language=javascript src="jquery-1.1.3.1.js"></script> <script language=javascript> $(document).ready(function(){ $("div.test").click(function(){ alert('div.test clicked'); $("a").click(); }); }); </script></head><body> <a href="http://google.com"> google </a> <div class='test'>click</div> </body></html> I have a situation where if anyone clicks anywhere within the div, I want the anchor to be fired - in this case, navigate to google.com. Why doesn't the above code work? thanks
[jQuery] JQuery .load() issue, (user error)
Yes, I know this is my fault. Where though, I'm clueless. If someone can help me recover from my fumble, I'd appreciate it. I have a div that resembles the following: <div id="showPhotos"> <script type="text/javascript"> $('#showPhotos').load('get_photos', {vehicle_id: <?=$this->uri-
[jQuery] document.ready fires too late in IE
Hi, I'm using jQuery's document.ready in a page with some external iframes (ads). In IE 6 & 7 document.ready fires when all iframes are loaded ,while on other browser the event starts after loading of the parent site is finished. Is this a known issue, any hint how to avoid this behavior in IE? Best regards aj
[jQuery] Any plugins like googiespell?
Hi All, Anyone know if there's a jquery plugin along the lines of: http://orangoo.com/labs/GoogieSpell/ ? TIA, Jack
[jQuery] A Quick Thank You to the jQuery UI team
Guys, I know you guys have been busting your tails on getting everything ready for jQuery UI and I wanted to tell you how thankful and appreciative I am for all of the hard work you've done to date. Getting a complete UI library developed is no easy task. I'm proud to be associated with such talented and committed developers. Keep up the great work. Rey...
[jQuery] document.location in 1.1.4
Hi all, I've been using $.ajax in jQuery 1.1.3 to make Ajax requests, and was using document.location to set the url to send the request to, like so: $.ajax({ url: document.location, data: data, dataType: 'json', type: 'post', success: function(response_data) { // do something... } }); This method of setting the url worked fine for me under 1.1.3, even though I assume it is technically incorrect, because document.location returns a location object rather than a string. Upon updating to jQuery 1.1.4,
[jQuery] jquery error on Mac Safari 2 only (maybe 3)
site in question: www.nypost.com (scroll down to "most emailed/most popular" on bottom right or "classififeds search" on VERY bottom right) For some reason we keep getting this error: Value undefined (result of expression elm.toSource) is not object. Thoughts? Alex
[jQuery] general JS Q: when to use the delete operator?
Since there are some pretty learned JS people reading this I thought I might get some good advice on a general question I have had for a long time. It applies to jQuery in that it applies to almost all JS development I do; which all uses jQ these days. Is there value in using the delete operator? If you are not familiar with it here is the white paper version: http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Operators:Special_Operators:delete_Operator There its use is defined as:
Next Page