[jQuery] jQuery 1.1 API improvements (macros, events)
> The problem with removing all the helper methods is that
[jQuery] jQuery 1.1 API improvements (macros, events)
--
[jQuery] New plug-in: shortKeys
Hi guys, I tried emailing this before, but it seems to be lost in the interweb. Thought I'd let you know that I've released a new plug-in called shortKeys, an easy way to implement web application keyboard shortcuts, as seen in applications such as Gmail and Google Reader. Any bugs, comments and general feedback would be greatly received. http://rikrikrik.com/jquery/shortkeys/ Rik -- Rik Lomas http://rikrikrik.com _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Tabs plugin callbacks - what makes most sense?
Hi all, I'm thinking about extending the callback system in the Tabs plugin to not only allow one callback, but different ones for more flexibility: onActivate (invoked on click), onHide (invoked after old tab got hidden), onShow (invoked after new tab is revealed == callback as is now). First question: Does that make sense at all? If yes, the way it is now is that the callback function is called with the scope of the tab container (the div) that gets revealed and two arguments which the first could
[jQuery] datePicker plugin - inputClick bug fix and other alterations
I've made a few changes to the Kelvin Luck's date picker plugin (http://kelvinluck.com/assets/jquery/datePicker/). After adding the ability to click the input to show the calendar it replaces any existing css classes that may already exist on it (which I should have caught when adding it). So I have changed it to use addClass instead of attr({'class' : '...'}). Along with that, I have reduced the number of times 'attr' is used: i.e. $("<a>").attr({'title' : 'Foo', 'rel' : 'myrel', 'href' : 'javascript:;'})
[jQuery] jQuery sIFR question
<!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.2995" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=097311318-27112006><FONT face=Arial color=#0000ff size=2>Okay. I found the FLA in the 2.0 package and it's working. Thanks.</FONT></SPAN></DIV> <DIV> </DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion programmer<BR>ICGLink,
[jQuery] Stop using thickbox!
Here's another (probably older) approach to vertical centering with CSS I've been using for a while. http://www.wpdfd.com/editorial/thebox/deadcentre3.html This one doesn't need any proprietary IE code to get the centering to work in IE, but it does require a bit of extra markup as well as using 'absolute' positioning which can be a hassle in some situations. I haven't tested the technique Klaus linked to, but I think I actually I like that one better for most situations (http://stilbuero.de/demo/vertical_centering/).
[jQuery] jQuery sIFR question
<!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.2995" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=597145417-27112006><FONT face=Arial color=#0000ff size=2>Which sifr package? The v1.0 link is no longer available. Are you referring to the 2.0 FLA file?</FONT></SPAN></DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced
[jQuery] jQuery sIFR question
I have one question about this plugin. I've downloaded the files from Gilles website and just have 2 questions. 1) What version of sIFR is jIFR based upon? 2) If it's based on version 1.0 then do you have an FLA that I could get from you? sIFR itself is now on 2.0 and it appears that the 1.0 page doesn't have a link to the FLA any longer. I want to make sure I'm using the correct version so my code works properly. <!----------------//------ andy matthews web developer certified advanced coldfusion
[jQuery] New plug-in: shortKeys
Excellent plug-in! Does anyone know the key-codes to use the left and right arrows on the keyboard? Thanks, Marshall -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Rik Lomas Sent: Monday, November 27, 2006 7:32 AM To: jQuery Discussion. Subject: [jQuery] New plug-in: shortKeys Hi guys, I tried emailing this before, but it seems to be lost in the interweb. Thought I'd let you know that I've released a new plug-in called shortKeys, an easy
[jQuery] New plug-in: shortKeys
>> http://rikrikrik.com/jquery/shortkeys/
[jQuery] John's metadata plugin in IE
The nested script element approach doesn't appear to work in IE6. Is this a know issue? jQuery.meta.setType("elem", "script"); alert($('#fooID').get(0).foo); <div id="fooID"> <script type="application/json">{foo: 'bar'}</script> Some text. </div> I get "undefined" from the alert. The other approaches work, and this approach works fine in FF. I also tried the single data approach. The data object exists, but doesn't have my meta properties. --Erik _______________________________________________
[jQuery] Cleartype broken after $.load
<html> <head> <style> P { margin:0px; padding:0px } body { FONT-SIZE: 10pt; FONT-FAMILY:Tahoma } </style> </head> <body>Okay, up front I know everyone is going to call me an ejit for not knowing this but I'll feign stupidity regardless.<BR> <BR> I'm loading various DIVs on onclick ops using $.load, but the contents' fonts are being displayed with sharp edges in IE and occasionally FF. I've seen pages in the past where the font is blurred, and I know there was a fix for that somewhere, but has anyone
[jQuery] Tablesorter and pager
Just looking for some guidance / examples on using the excellent tablesorter plugin but combined with pager. I've a number of large tables and really need them to span multiple pages. I've seen the demo version at http://motherrussia.polyester.se/pub/jquery/demos/pager/ but the code in this doesn't work with the newer version of tablesorter. Thanks N -- View this message in context: http://www.nabble.com/Tablesorter-and-pager-tf2712251.html#a7561458 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] New plug-in: shortKeys
Hi guys, Just thought I'd let you know that I've released a new plug-in called shortKeys, an easy way to implement web application keyboard shortcuts, as seen in applications such as Gmail and Google Reader. Any bugs, comments and general feedback would be greatly received. http://rikrikrik.com/jquery/shortkeys/ Rik -- Rik Lomas http://rikrikrik.com _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] tableSorter plguin questions
I'd like to take advantage of the new "bind" event functionality that has been added to tableSorter to; a) clear the column cache on a table b) toggle (disable/enable) the sort event on table header clicks. Is this possible to do with the BASE (unmodified) distribution of the plugin? I see that there's been some recent SVN activity & am still unclear on implementing the custom event binding. The reason I'd like to remotely clear the cache is to pickup on changes made to table rows via my in-place
[jQuery] Sluggish Interface Drag & Drop?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi, first of all, I love the Interface library, together with Thickbox it's one of my favorite plugins (well it's more like a library) around. Nevertheless I have a little problem with it. I currently am working on a mockup for calendar (a big one, not a JS date picker) and use the Interface
[jQuery] Off topic: which programming language forwebdevelopment
<!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.2995" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=593141819-22112006><FONT face=Arial color=#0000ff size=2>That'd be awesome.</FONT></SPAN></DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion programmer<BR>ICGLink, Inc.<BR>andy@icglink.com<BR>615.370.1530
[jQuery] Safari problem with html() ... possible bug?
Hi, I have some hidden information on my page that I readout with html(). The info info are HTML comments that look like this: <div class="redentry_dark" id="s_item_6"> <!-- 31352 6 --> <div id="overlight"> ... Now in Firefox html() takes the whole: <!-- 31352 6 --> <div id="overlight"> ... But in Safari it just takes: <div id="overlight"> ... So I can't readout the hidden information like that in Safari. Of course I could go and put that same info into a hidden div, but I'm wondering
[jQuery] Working on a getScripts plugin
Some days ago I wrote this getScripts plugin, as a macro for shrinking this $.getScript( "f1.js", function() { $.getScript( "f2.js", function() { $.getScript( "f3.js", function() { do_it(); } ); } ); } ); to this $.getScripts( [ "f1.js", "f2.js", "f3.js" ], function( ) { do_it(); } ); I was wondering if I'm doing the right thing when converting the callback to a string. What do you think? jQuery.extend({ getScripts: function( files, callback
[jQuery] jQuery namespacing your code
Hi all. With a lot of developers writing javascript these days, it's easy to write something that collides with someone else's code. I like Dojo's and YUI's approach to namespaced code. So, I decided to create a plugin for jQuery that allows you to create namespaced objects... it's actually a transposed version of YUI's namespace function: jQuery.namespace = function(ns) { if (!ns || !ns.length) { return null } var levels = ns.split("."); if (eval('typeof '+levels[0]+'=="undefined"'))
[jQuery] jQuery came to my rescue
I spent all day long fighting with a stupid layout problem. I have a table that is used to layout a google style info box the is part of the msCross library I use for maps. It works fine with a transitional DOCTYPE and for some reason add extra space around an image in a cell because it thinks it has text in the cell as far as I can tell. Anyway, I finally figured out I had to do two things to fix the problem 1. set the font-size to anything less than the height of the image AND 2. make sure that
[jQuery] [OT] Firefox 2.0 Annoying Errors
> Thanks Mike and Jake. I will try the uninstall and reinstall.
[jQuery] [OT] Firefox 2.0 Annoying Errors
> > This has nothing to do with jQuery, but I'm hoping that some of you
[jQuery] [OT] Firefox 2.0 Annoying Errors
Hi all, I recently upgrade to Firefox 2.0 and I get the following annoying error message on basically every request. [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1688" data: no] This has nothing to do with jQuery, but I'm hoping that some of you might have seen this and figured out how to make it go away. I have googled for it, but
[jQuery] Feature-Request Thickbox
Hi all, If it is possible with the keyboard popup to close, ala ALT+F4 on Win Apple+w on MAC Thanks -- Viele Grüße, Olaf ------------------------------- olaf.bosch@t-online.de http://olaf-bosch.de www.akitafreund.de ------------------------------- _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] missing ) in parenthetical
I am trying to create and load a select box after another select box has been updated. Here is the code: function towns(){ stateVal=document.namesearch.state.value; $("li#towns").load("test.php", (state:stateVal)); } $(document).ready(function(){ $("#state").change( function() { towns(); return false; }); }); The function works OK without the (state:stateVal) but when I add the get variable I get the following error message in FireBug: missing ) in parenthetical http://localhost:... (line
[jQuery] [jquery] bug? ($.post) 'null' is null or not a valid object (ie)
hey, this is where im getting this error. <a href="http://www.magictour.com.br/windstar/montagem.cfm">http://www.magictour.com.br/windstar/montagem.cfm</a> (sorry but i havent got time to make the example in another page) Steps: Choose a processor (my advice: one of the 'testes') then choose a MoBo, it should do 3 $.post(), but sometimes i get this error on the 2nd or the 3rd $.post() if you keep on changing the index of the select it suddenly works. Is there a way to treat the error using $.ajaxError
[jQuery] Zooming ThickBox
<div><a href="http://vikjavev.no/highslide/">http://vikjavev.no/highslide/</a></div> <div> </div> <div>Someone pointed this out to me. It has a wonderful interaction.</div> <div>I'm wondering how hard it would be to recreate using jQuery.</div> <div> </div> <div>Glen</div> <div> </div> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] .val() confusion
<html> <body> Hi folks, I have a form containing, amongst other things, a hidden input element (id=sAction) with its value set to "add" when the page first loads. By clicking an item on an accompanying list (to call fnEditThisAsset), data from that item are loaded into the form and sAction's value is changed to "edit" using ('#sAction').val("edit") However, if I click a toggle function, to bring the form back to a sAction="add" status, the ('#sAction').val("add") doesn't work as I hoped/expected
[jQuery] Calling default form submit; $('#form')[0].submit(); VS $('#form').submit();
I noticed that $('#form').submit(); does not call the "default" form submit -- but rather will only execute a function if it has been explicitly defined via $('#form').submit(function() {...}); Is this the desired behavior? I've skirted the situation by using $('#form')[0].submit(); -- but would have preferred the earlier method as it seems more jQ centric. Is it possible to have the .submit() function use the vanilla DOM .submit() if there aren't any specific events tied to the element(s)? Here's
[jQuery] jQuery rejected by VirtualMart author
> And as Sam said, jQuery need not break Prototype (I, in fact, use
[jQuery] closure and name conflict
> From: Michael Geary
[jQuery] Calling default form submit; $('#form')[0].submit(); VS $('#form').submit();
>> It's actually a really small addition, just something like:
[jQuery] problems with slideUP
Hi i done this little function to dynamicaly fold out comments to a blog but if i say hide comments with the function toggle the comment div dissapears but there is a lot of free space there the "html" below the comment wont slide up How can i fix that? i hope you understand my problem $("a[@name=\'kommentar\']").click(function(e){ e.preventDefault(); var href=$(this).href(); var me = this; $.get(href,function(response) { $(me).parent().append(response).slideDown("slow"); }); $(this).html("hide comments");
[jQuery] Sortable table rows
Hi, I tried interfaces Sortables, works fine with list item but not with table rows. Does someone have tips or workaround for this? Thanks, -- Olivier Meunier om@neokraft.net _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] [BUG?] Interface DraggableDestroy
Hi, im not able to get DraggableDestroy() to work (using latest version from http://interface.eyecon.ro). getting this error in firebug: elm has no properties (idrag.js line 13) anyone an idea what going wrong? thanks & kind regards, Daniel _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] closure and name conflict
> I really have no idea what is the correct name(I'm not a
[jQuery] closure and name conflict
> I have two plugin(A and B) each of this has a handle.
[jQuery] TimePicker plugin
Working on a time picker (that works in a similar way to the one used in Google Calendar). A bit buggy (mostly CSS issues), but still functional. http://www.texotela.co.uk/code/jquery/timepicker/ I want to solve the issues in the todo list, so if anyone has any fixes, it would be appreciated. I can not test in Safari or Konqueror and it doesn't seem to work properly in Opera (8.51) - the vertical scroll bar isn't added and the times just overflow. _______________________________________________ jQuery
Next Page