More Bug Fixes and Features
Another night, more bug fixes, a couple tickets resolved, and a couple new features. New Features: --------------------------------------- - There are now onSuccess and onError callbacks in the $.xml() function, they can be used like this: $.xml({ url: "404.html", type: "GET", data: "foo=bar", onComplete: function(){}, onSuccess: function(){}, onError: function(){} }); - It's now possible to append <td> and <th> elements to <tr>s using .append() and .prepend(), like so: $("tr").append("<td>New Column");
[jQuery] Time for some sort of forum?
<!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.2912" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=065414908-17062006><FONT face=Calibri size=2>To me, a forum would be great.</FONT></SPAN></DIV> <DIV><SPAN class=065414908-17062006><FONT face=Calibri size=2></FONT></SPAN> </DIV> <DIV><SPAN class=065414908-17062006><FONT face=Calibri size=2>Its really
[jQuery] Need to toggle() the second function when cookie is set
A bit hard to explain without code, so I have this: $("#togglelist").toggle(function(){ $("table").addClass("small"); createCookie('list', 'small', 365); },function(){ $("table").removeClass("small"); eraseCookie('list'); }); var list = readCookie('list'); if (list == 'small') $("table").addClass("small"); As you can see, what I want is for jQuery to set a cookie and remember when the list is small and display it as small when that cookie is set. This all works well except that when I have the cookie
[jQuery] count the amount of all visible layers
Hi! :-) I am using this code: $("#statistik").html($("#dieTaten div").size()); It counts how many divs are included in the layer with the id 'dieTaten' and it is working perfectly. However, I have a filter function that filters some layers out: function doFilter(start, end, all) { $("#dieTaten div."+start).hide(); $("#dieTaten div."+end).show(); if(all) { $("#dieTaten div."+start).show(); $("#dieTaten div."+end).show(); } } The problem is that the the very first function counts ALL layers even those
[jQuery] custom tooltips for google map
Dear list, do you have an example of custom tooltips with custom link on click on Markers in google map, with jQuery? thank you! will Arp _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] JS list
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>JS list</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Does anyone belong to a GOOD JavaScript discuss list? (or .. forum) ..</FONT> </P> <P><FONT SIZE=2 FACE="Arial">Microsoft community has a one for JScript but I was wondering if I could
[jQuery] Input background color change
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>Input background color change</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">I have a function where if I *need* to I pop a validation error window. I set the focus to the offending fld first.</FONT> <BR><FONT SIZE=2 FACE="Arial">I want to
[jQuery] Interface update
I updated the interface to work with <a href="http://jquery.com/src/dev/sane/">http://jquery.com/src/dev/sane/</a> . 3 new FX: close, open and bounce check it out <a href="http://www.eyecon.ro/interface/">http://www.eyecon.ro/interface/ </a> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface Broken in IE!
I upgraded to the current /dev/sane jquery core and the most recent Interface - now none of my Draggables work in IE at all! When I view the http://www.eyecon.ro/interface/draghandle.html demo, I get an error message: " '$.sortHelper.css(...)' is null or not an object " and on my own Sortable list IE doesn't make the <li> elements draggable at all. Did the recent bugfixes break something? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Packing dev/sane
Any change we can get a compressed version of the source? I tried running it through Dean's packer myself, it it seems to choke. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Greasemonkey + jQuery?
Hi, Anyone knows if is possible to add jQuery to a Greasemonkey script? I've tried the DOM method to adding the <script> tag and it seems to work, but when I try a simple $("#id").hide() and i get the error: $ is not defined An idea? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] CSS features
<!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.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=845055315-16062006><FONT face=Arial color=#0000ff size=2>That is very nice! It looks real good around a logo like that.. nice and quiet.</FONT></SPAN></DIV> <DIV><SPAN class=845055315-16062006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=845055315-16062006><FONT
[jQuery] Excel-like formulas for text boxes
I only used the 'lang' attribute because it was going to be unused in the project I'm doing for work. There's a variable defined at the top of xlforms.js named FORMULA_ which contains the attribute that stores the formula. Right now it says var FORMULA_ = "lang" I then use an xpath expression in jquery to find all elements with that attribute: xpath = "//[@"+FORMULA_+"]"; $(xpath).each(function(i) { evalFormula(this.lang, this); }); I fixed a few more things to account for bugs I ran into during
[jQuery] CSS features
<!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.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=558413215-16062006><FONT face=Arial color=#0000ff size=2>Thank you for the link. It got blocked by company firewall.. Maybe because of warfare or toys...</FONT></SPAN></DIV> <DIV><SPAN class=558413215-16062006><FONT face=Arial color=#0000ff size=2>anyway.</FONT></SPAN></DIV>
[jQuery] CSS features
<!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.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=736394415-16062006><FONT face=Arial color=#0000ff size=2>GREAT QUESTION!! I am a newbie JS programmer as it is and BRAND new to Jquery! Thank you for spotting this.</FONT></SPAN></DIV> <DIV><SPAN class=736394415-16062006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
[jQuery] CSS features
<!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.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=497321715-16062006><FONT face=Arial color=#0000ff size=2>Thank you!!</FONT></SPAN></DIV> <DIV><SPAN class=497321715-16062006><FONT face=Arial color=#0000ff size=2></FONT></SPAN><FONT face=Arial color=#0000ff size=2></FONT> </DIV> <DIV><FONT face=Arial><FONT color=#0000ff><FONT
[jQuery] CSS features
<!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.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=807470115-16062006><FONT face=Arial color=#0000ff size=2>I think I missed something Myles.</FONT></SPAN></DIV> <DIV><SPAN class=807470115-16062006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=807470115-16062006><FONT face=Arial color=#0000ff
[jQuery] CSS features
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1"> <TITLE>CSS features</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Hi.</FONT> </P> <P><FONT SIZE=2 FACE="Arial">I tried today to add a bordercolor change on an img/icon on hover. Using IE6 and to my horror found out YOU CAN't.</FONT> </P> <P><FONT
[jQuery] using className..?!
Hello! I am trying to find out the class name of a given element using jQuery. This one is working: var what = document.getElementById('nummer_'+obj).className; but this one isn't: var what = $('nummer_'+obj).className; I am looking at examples and documentations for about an hour now but I couldn't find why this isn't working.. However s the working example already the best way to do this or can jQuery do better? yours, Dominik _______________________________________________ jQuery mailing list
[jQuery] Excel-like formulas for text boxes
This is just something that I developed while solving a problem for a website we have. I'm not quite done with it, but I still thought it was pretty cool. Basically, what it does is allow you to put in Microsoft Office Excel-like formulas into an unused attribute (defaults to 'lang') that reference other text fields and perform mathematical functions on them. http://alex.vidal.googlepages.com/xlforms.html It's going to be going over a rework here pretty soon, once I finish the job I was working on.
[jQuery] $.tabs revised
Hi jQuerians, I have revised the tabs plugin, so that it conforms to the jQuery plugin construct. Therefore one can now use the full power of jQuery to retrieve the container holding the tabs html (good!) and of course can chain methods (good!). Example: $('body>div:eq(1)').tabs().fadeIn('slow'); Other changes: * The tabs method can now take an optional argument, which has to be an object literal (I'll explain why later). If you want to activate a custom tab, it has to be written like this: $('#container').tabs({on:
[jQuery] Massive FX Update
John, the diference between MSIE and the standard regarding the box model also involves the border. So when you get the height/width be sure to include the borderWidth also. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] More Bug Fixes and Features
I changed the Interface so it fits the changes in jquery. But there are soem bugs and I'm waiting for John to fix them. Bugs: 1. the border size is retrieved via broderTop style property, but the right way is borderTopWidth 2. getCss('height'/'width') fails on safari 1.3.2 Regarding Interface. I added a new fx also. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] documentation on how to select elements
Hi! I am looking to simplify this: $("div.wichtig").mouseover(function() {$("div.wichtig a").addClass ("highlight");}).mouseout(function() {$("div.wichtig a").removeClass ("highlight");}); I already tried this: $("div.wichtig").mouseover(function() {$("this a").addClass ("highlight");}).mouseout(function() {$("this a").removeClass ("highlight");}); and this: $("div.wichtig").mouseover(function() {$(this."a").addClass ("highlight");}).mouseout(function() {$(this."a").removeClass ("highlight");});
[jQuery] BUG: trigger method throws error in latest revision (68)
Hi, I found a bug in the trigger method in the latest revision (i.e. 68). You can check that here: http://stilbuero.de/demo/jquery/temp/ and click on the 'Activate 3rd tab'... After some heavy processor load (in Firefox/Win) the error "event.preventDefault is not a function" is thrown. Safari shows similiar error. --Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] AJAX + IE
<HTML> <BODY> <!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.1543" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=386320720-15062006><FONT face=Arial size=2>I am not sure why I typed my code out instead of copying.</FONT></SPAN><SPAN class=386320720-15062006><FONT face=Arial size=2></FONT></SPAN></DIV> <DIV><SPAN class=386320720-15062006><FONT face=Arial size=2></FONT></SPAN> </DIV>
[jQuery] jQuery on Rails
Hey all, Just wanted to let everyone know that I have started work on the jQuery on Rails project. In addition to porting as many of the Prototype helpers for Rails over to jQuery, the project has one really cool benefit: * No inline JS. For example, instead of onlick= in the body of the tag, there will be $.click in the header of the page itself. More details on how exactly this is implemented when I have more to show. So far, I have ported most of the functionality for link_to_remote(:update =>
[jQuery] jQuery Not Working Inside .load-ed Content
Got it working with some slight modifications to Gilles' code: function assignClicks(oSrc) { oSrc = $(oSrc) || $(document); oSrc.find("a").click(function() { $("div").load("template.html", function(oRes) { assignClicks(oRes); }); return false; }); }; -- Best Regards, Nate Wienert www.gamegum.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Executing .load'ed functions
> I'm dynamically generating a js function on the server-side,
[jQuery] Executing .load'ed functions
I'm dynamically generating a js function on the server-side, and loading that function into a DIV tag (I'll call this the 'div' function). Immediately after defining the loaded 'div' function I call a previously defined js function which in turn will execute the newly loaded 'div' js function. This doesn't work. No errors, just doesn't work. The simple test case below included the client side HTML, and a stub for the server-side. On clicking the link loader() loads a div with a new js function loaded(),
[jQuery] Super Easy Ajax requests jQuery PHP
<!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.2912" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi Brice,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>From what I can see in your code you are echoing out the result of getSomething in the actual PHP.</FONT></DIV> <DIV><FONT face=Arial
[jQuery] jQuery Not Working Inside .load-ed Content
Say you have this (simplified of course) saved as template.html: <div> <a>Click</a> </div> Now say you run the following jQuery: $("a").click(function(){ $("div").load("template.html"); return false; }); It runs fine, and when I click the link fetches the page it already was and inserts another <div> with an <a> in it. Whats strange is if you try and click the <a> again after having already had it been .load-ed, jQuery won't work on it and the page will just follow the actual link. This is a bit
Massive FX Update
Hello again everyone - I put a night of work into fighting the fx module, here's the head count: - I've cleaned up a lot of the code, commented a bunch of it, and removed some old stuff - The issue with height/width and the constantly-growing boxes has been resolved. This was due to padding and differences in the box model between browsers. - height/width auto (on animation complete) now works entirely as expected.. ... and the big one: - All effects are now queued! This means that you can throw
[jQuery] Overlay Problem with Vertical Scrolling
Please excuse this question if it has already been fixed or answered previously in the forum. I was unable to find a solution. Here is a description of my problem: - When a page with GreyBox redux installed is long enough to scroll vertically, and then I click a link to enable the GreyBox, the grey background overlay does not fully cover the entire scrollable area. In other words, only the top viewable area of the browser is covered with the overlay, and not the entire page. The background in the
[jQuery] Great work guys..
I just spent over 8 hours learning jquery after leaving a client's office. With the help of some great people I was able to dial down the first key ($.post) I needed to port my client's app over to jquery. I'm building a backend manufacturing system for a snowboard company that is based on fusebox. It's a huge complicated site that was getting out of control when I introduced Dojo. Seeking more manageable solutions I turned to prototype. I then started realizing that prototype wasn't going to
[jQuery] Next version?
<!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="Helvetica, Arial, sans-serif">Hi guys I've been keeping my eye on all the updates and fixes that have been happening to jQuery recently. Any news on when these will be available as the "production" version available for download from the jQuery site? </font></font> </body> </html>
[jQuery] Problem with hover
Hi, I'm having trouble with $(...).hover, here is a simple example : <html> <head> <script src="js/jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).onready(function() { $("#main").hover(alert("in"),alert("out")); }); </script> </head> <body> TEXT BODY <div id="main" style="border: 2px solid yellow"> MAIN </div> TEXT BODY </body> </html> First, I'm getting the two message boxes when the document load, why ? I'm getting the same sort of problem when I use
[jQuery] Sucker Fish Drop Down Menu, Jquery Style...
Hi all, I've very nearly finished a Jquery version of suckerfish dropdowns. I've got it so that dropdowns will not leave the boundry of the browser. I'm using these two functions to a. get the current postion and b. get the browser width. I was wondering if there was a better/smaller Jquery way of doing either/both. The functions are function getWidth(){ var myWidth = 0 if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; } else if( document.documentElement && ( document.documentElement.clientWidth)
[jQuery] Passing parameters to $.post
<!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.2912" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Alternatively just use jQueryPHP, it makes your php function available in javascript so you don't have to worry about the javascript.</FONT></DIV> <DIV><FONT face=Arial size=2>I made it so I might be biased, but it does make
[jQuery] Passing parameters to $.post
I've given the good ol' college try and haven't landed the bird yet. I want to pass parameters to $.post using a string but I keep getting "missing : after property id" in Firebug.. How can I dynamicly pass parameters? I need to dynamicly pass params and act on the returned array. Code: function postReturnData(url) { var params = 'name:"John",id:"Pringle"'; $.post(url,{params },function(txt) { alert("Return data from bind2.php: "+txt); } ); } _______________________________________________
Next Page