[jQuery] Timer statement
I am using grow efect, but a I need to call another function just after of determined seconds. Is it possivel I do it with JQuery ? For example: $('#containerMenu').Grow(200); $('#listaMenu').css( {display: "block"} ); // I need to that statement to be executed after 300 ms $('#teste').css( {display: "block"} ); <br clear="all"> -- []'s Harlley R. Oliveira <a href="http://www.syssolution.com.br">www.syssolution.com.br</a> ------------------------------------------- ~ U never
[jQuery] datePicker
I've only recently discovered jQuery, and I'm quite impressed. I'm going to be porting some code for an application that was developed without a js framework (I'm going to be using it in the next version of my CMS project http://lucidcms.net ). For the most part, I' think this is going to be pretty painless and jQuery will give me a lot of new possibilities. But I'm having a hard time finding a suitable replacement for jscalendar ( http://www.dynarch.com/demos/jscalendar/ ). The datePicker plugin
[jQuery] Problem loading HTML and Script Code with Ajax
That's ok, but I do not know which fragment I will get, so I cannot use the callback method. The script has to be in the fragment I return from the server. By the way it is still not working. The script seems to be executed only for the first request. If I replace the script with the fragment another time, the function cannot be found anymore, even if it exists in the DOM. Harald
[jQuery] Get first ancestor of type
Hi there, How would I select the first ancestor of a certain type? Eg if I want to select the first div that is found while searching up the DOM from an element. Cheers, Chris _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Checkbox manipulation plugins
Updated my plugins for working with checkboxes http://www.texotela.co.uk/code/jquery/checkboxes/ Toggle, check, uncheck and make them behave like radio buttons. Works with jQuery 1.0 and 1.1. You supply the container, and optionally return the check items (if using toggleCheckboxes or checkCheckboxes) or unchecked items (unCheckCheckBoxes): $("#mycontainer").toggleCheckboxes().doSomethingWithMyContainer(); $("#mycontainer").toggleCheckboxes("[@name=foo]", true).doSomethingWithCheckedBoxes(); For
[jQuery] Problem loading HTML and Script Code with Ajax
Sorry, stupid question, I already solved this on my own. Using the onsubmit event in the form tag helps a lot ;-) Harald
[jQuery] what's the difference between document.getElementById('id') and $('#id') ?
> (If there is a better way to look at the Object, please post here) The very best way to understand what JavaScript code is going and explore objects is to use any JavaScript debugger, such as Firebug or Venkman for Firefox, or the Microsoft Script Editor for IE. If you don't have a JavaScript debugger that you are comfortable with, you're working too hard! :-) -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Item width
<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] IE 7 fadeIn, fadeOut problem
hi list, i'm terribly sorry to litter this list with all IE7 problems, but unfortunately i have to have my sites working in that s**** browser too, so i can't hesitate to ask. fadeOut doesn't seem to work on divs if triggered twice or more times. it works if only triggered once, but it seems that opacity is not restored, or the opacity filter is not removed after fading out and then reactivating the div with $('#some_mane').show(). is there any workaround? thx for help lukas _______________________________________________
[jQuery] Method return values in jQuery 1.1
I've already sent a ticket about a bug in the jQuery.fn.add method (#821), but after some more test I'm convincing myself that there is a general problem in the jQuery implementation. Apparently, now all or most method change the returned jQuery object (another example is the show/hide methods). In my opinion this is not a good idea. As I pointed out also in the mentioned ticked, it should be a clear distinction among chainable and non-chainable methods. Actually, there should be three types of methods:
[jQuery] how to determine if $(this) is @changed ?
$("input@changed") is very useful, but how can I determine whether $(this) has been changed? -- View this message in context: http://www.nabble.com/how-to-determine-if-%24%28this%29-is-%40changed---tf3021012.html#a8390359 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Error IE6
Hi guys, Why jquery does not work correctly in IE6 ? Has Anybody else ever had this same issue ? Error: 'style' is null or it does not a object line 480 ] if (!force && elem.style[prop]) { <br clear="all"> -- []'s Harlley R. Oliveira <a href="http://www.syssolution.com.br">www.syssolution.com.br</a> ------------------------------------------- ~ U never try U'll never learn ~ ------------------------------------------- _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] load won't post params
Hi all, I like using the load method a lot, and with jQuery 1.1, I've noticed that now it doesn't post the object params parameter to url. How should I use the params now? I've checked through firebug and usually (jQuery 1.0.4) it shows the post variables but now it doesn't (so no params sent). Is this intentionally a feature? or I need to use another ajax method instead of load (which i hope not.. because this means a lot of recoding :))? thanks [g] _______________________________________________
[jQuery] Pass var to parent function syntax?
I'm calling a resize function from a file loaded into an object tag: onload=function(){ var sH = (document.body.scrollHeight) this.parent.resize("#external",sH); } The resize function in the parent page: function resize(objId,h){ console.log(objId+","+h); // #external,1157 $(objId).height(h); console.log($(objId).height()); } Even though my variables are being passed, I'm getting an undefined error: $ is not defined [Break on this error] $(objId).height(h); Syntax? Adam -- View this message in context:
[jQuery] Problem with $(...).css() or interface 1.1
Can you tell I'm upgrading to 1.1 tonight? :) Draggable ghosting isn't working in interface 1.1 on FF because it does: jQuery.iDrag.helper.css('opacity', elm.dragCfg.opacity); opacity is a float, and css('opacity', float) doesn't work on FF anymore. I changed it to: jQuery.iDrag.helper.css('opacity', elm.dragCfg.opacity+''); And it works fine. Not sure if this is a jQuery issue or an interface issue. --Erik _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .height(val) - what am I missing?
All I"m trying to do is set the height of a div (jQuery 1.1), but no go. What am I missing? <script type="text/javascript"> <!-- $("#myDiv").height(600); --> </script> <div id="myDiv" style="border:1px solid #f00"></div> Preparing to feel dumb, Adam -- View this message in context: http://www.nabble.com/.height%28val%29---what-am-I-missing--tf3015887.html#a8375281 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] wrapping siblings
Hi, I'd like to wrap three siblings into a div, sort of like <div ...> <textarea ...> <div ...> and transform it into <div> <div ...> <textarea ...> <div ...> </div> these three siblings also have more siblings that I want to leave out of the loop, so it's not entirely straightforward. Any ideas? Andreas _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] 1.1 breaks sort (w/ fix) (again)
Apparently I'm the only person that uses metadata and sort. Sort also broke with 1.1, exactly the same way it did with 1.0.4 (see here: <<a href="http://jquery.com/dev/bugs/bug/255/">http://jquery.com/dev/bugs/bug/255/ </a>>. As was the case before, it was just the result of some refactoring, but it took me all night to hunt down. Here's the change: Old: return this.pushStack( jQuery.merge( [].sort.apply( this, arguments ), []), [] ); New: return this.pushStack( jQuery.makeArray( [].sort.apply( this,
[jQuery] Controlling focus on alert box created in jQuery
in genaral alert message focus only to alert only, we can't move anywhere.here we are not using alert,and making own alert window,and i am unable to focus on that,here we can move anywhere i.e in background that should not. here is my code: function show_warning(e_msg, m_info, e_title, alert_type, car_id, move_next, help_text) { if (e_title) { $("#error").find(" span.title").html(e_title); } $("#overlay").find("div.panel").hide(); $("#skin:hidden").show();
[jQuery] Testing for presence of ID
> A jQuery object is an array of 1 or more objects. Not exactly... A jQuery object is an array of *zero* or more objects. If no elements match the selector, you'll get an empty array. -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery addClass problems
<!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="-1"><font face="Courier New, Courier, monospace">Hi folks, This problem probably stems from my lack of CSS knowledge, but I'm sure there's someone here who can help me. I'm trying to use .add/removeClass() to highlight and unhighlight cells in a calendar when hovered and change their color
[jQuery] jquery1.1 and modalContent problem
Hello, I try to upgrade my little project from jquery 1.04 to jquery 1.1 . (naturally with jquery.compat-1.0). And with modalContent I get the following error: $(#modalContent).top is not a function (line 83). I think this is a jquery.compat error. Isn't it? -- Ámon Tamás http://linkfelho.amon.hu _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Strange error message
Hi, I am getting a very strange error message: Node cannot be inserted at the specified point in the hierarchy" code: "3 This is using jquery and the blockUI plugin. I assume it is because I'm doing something wrong, but the error message does not point to a line number or anything else. Any thoughts on this? -Steve _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] SVN Broken???
Hi, Just tried to update update svn got the following: svn: No repository found in 'svn://jquery.com' -Steve _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Is trigger workable in Safari!?
I tried, but not work! Here is my code snip: jQuery("#hello").blur(function() { //... some form validation code }); jQuery("#form").submit(function() { jQuery("#hello").trigger("blur"); ... }); <br clear="all"> -- Best regards, 沈志川 (Benx) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] The $( exp, jQuery ) syntax is not working in 1.1
Love the new site. Don't mind the cleaned up API but I've got quite a lot of code that uses the $( expr, jQuery ) syntax and now it's not working. I haven't had time to wade through the code but check the following (with Firebug): <span>Outside</span> <div> <span>Inside</span> </div> console.log( $('span', $('div') ), $('span', $('div')[0] ) ); In jQuery 1.0.x they both (correctly) return "[span]", under 1.1 the first returns "[span, span]" while the second returns "[span]". I believe this indicates
[jQuery] Hitting an error doing ajax in 1.1
Anyone know if this is my doing or a bug? I have a piece of code that fades out a div, loads some new content using ajax, and then fades it back in. I just tested out the new 1.1 release and started getting an error: "fn.apply is not a function" Here's the relevant chunk of code: $("#ajax_episodebox").fadeOut("normal",function() { var url = "/ajaxable/episodebox?episode=" + domaincode ; if(domaincode == 'overview') { url = url + "&franchise=" + franchise; } $("#ajax_episodebox").load(url,
[jQuery] Trapping the onclose event
I have some code which responds to the onclose event. The problem is that it is being triggered by the Back button as well. Can you think of anyway to run JS onclose but not on the Back button? (I might be able to do this with frames, but do not want to resort to them...) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] 1.1 add(this) bug?
previously I coded $(this).parents().add(this) inside a bind('click' function... then continue the chain to look at 'me and my parents' on 1.1 the chain only has the parents, this did not get added. when I break it up , with an .end() and continue the chain, it brings 'me' back to the chain, and I have to each thru this separately. What did I miss? $(this) .attr("target","elsewhere") .parents() .prev('code.json')
[jQuery] self.attr("innerHTML", res.responseText) - IE 7 failing
hi everybody, just found out about jQuery 2 weeks ago, started to integrate it in a website of mine (heart.coffeeandrecords.com) about 2 days ago, and absolutely learned to love it!! it's the best and slimmest javascript library with the most elegant way of getting things done that i've seen in a long time!! today i switched to jQuery 1.1 and suddenly a lot of things don't seem to work like they did before any longer, even after checking the compat mode and rewriting the stuff that needed to be rewritten.
[jQuery] Preloading images in jcarousel
Hi there, Firstly, thanks very much for jcarousel. I have an issue with using it - there's currently 103 images to load and this amount will grow over time. The problem I'm having is that I always need to display the 3 most recent images upon hitting the page - in this case, the start items need to be image 101, image 102 and image 103. I can do this no problem but the initial scroll to images 101-103 shows empty spaces since image 1 to 100 are loading sequentially in the background. Ideally, I'd
[jQuery] variable scope in .post
Hi, I have some problems setting a global variable from within the success() function inside a .post. Here is a simplified version of what I have: function addedit() { var lk_id=0; $.ajax({url:'ajax/my_script.php', type:'POST', dataType:'html', data:'optype=add', success:function(data) { if (data!=null && data!='') { //alert(lk_id); lk_id=parseInt(data); } } }); alert(lk_id); } My script returns a single number and I want lk_id to get that value in the success() function of the ajax call. The commented
[jQuery] .css, jQuery1.1
<html> <body> Hello folks, I'm having difficulty understanding how .css is supposed to work. The following line of code correctly styles the font color of the json data within #tree as blue: <tt> $("#tree").highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color: "blue"}); </tt>However, attempting to also style the font size or text alignment throws an error.<tt> $("#tree").highlightFade({color:'red',speed:2000,iterator:'sinusoidal'}).html(field.msg).css({color:
[jQuery] jQuery 1.1: trigger does not work for me
With jQuery 1.1, trigger does not execute a click event on a checkbox I have attached before... Is it just me? -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery and SourceForge.net
I just noticed while browsing <a href="http://sourceforge.net">sourceforge.net</a> that they are using jQuery and Thickbox. Yet another big site using the greatest js library out there... Congrats on 1.1 and keep up the good work! Laurent _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] OT: Interesting Website Creation tool
http://ajaxian.com/archives/weebly-online-website-creation-tool-using-ajax _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] digg.com about jquery 1.1
Hello folks, there are quite some comments about jQuery 1.1 on digg.com, in particular, some stuff about Prototype/jQuery and mootools/jQuery. For anyone who wants to participate on the discussion there: http://digg.com/programming/jQuery_1_1_Released Regards -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Loading Flash on First Load in Session and Image After
A friend of mine is designing a site and wants to show a Flash header on the first load of a page within a site during a visitor's session but then show an image on successive page loads in that session. Here's how I did it w/jQuery and the Flash and Cookie plugins: http://iamzed.com/jquery/flashonetime.html First page load in the session should show Flash. Reload the page and it should show an image. Clear your session cookies or close your browser and then reload/go back to the page and you'll
[jQuery] Mac OS X Widgets?
Today has been a big day for the mac, and the iphone is about 6 months away. It runs Safari and a mini version of OS X. And it supports widgets! Widgets can be written in javascript, and can run un-encumbered by the normal ajax cross host security restriction! So to get back on target... Has anyone written any jquery widgets? -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface 1.1
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Stefan Petre Subject: [jQuery] Interface 1.1 Hi, Paul and I, with help from many jQuery developers, put together a new release of Interface. It has a number of new features, new plugins, speed improvements, nice demos, and improved documentation (there's still a lot to improve there). If you would like to learn more about the 1.1 release of Interface, check out our brand-new "news" section as well as the updated changelog!.
Next Page