[jQuery] Plugin for UI blocking - an alternative to sync ajax
Gotcha...thanks for clarifying. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Mike Alsup Sent: Wednesday, December 27, 2006 12:47 PM To: jQuery Discussion. Subject: Re: [jQuery] Plugin for UI blocking - an alternative to sync ajax
[jQuery] msie closures syntax
"this" doesn't work like a local variable. Inside a nested function, "this" is not the same as in the outer function. That's what is messing things up. If I understand your code, you can write it more simply like this: (function($) { $.fn.Tooltip = function(settings) { var $all = this; settings = $.extend($.extend({}, arguments.callee.defaults), settings || {}); $all.filter('[@title]').bind( settings.event, onmouseover ); return this; function onmouseover( event ) { //... setTimeout( function() {
[jQuery] msie closures syntax
hi all :) i hope someone on this list can help me here, even tho my question is not directly related to jquery (duck). i have trouble getting my closures to work in ie: --snip // // A) this doesn't work in ie (ff & opera grok it) // setTimeout( function( a,b,c ) { doStuff( a,b,c ) }, 100, "stuff", 1, 2 ); // // B) this works in IE // var fref = iehelper( "stuff", 1, 2 ); setTimeout( fref, 100 ); function iehelper( a,b,c ) { return ( function() { doStuff( a,b,c ); }); } --snap anyone know how to feed
[jQuery] tableSorter prevent a <td> to active the sorting
hey, How could I disable one or more <td> on the head when i click on it?? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Plugin for UI blocking - an alternative to sync ajax
Mike.. I don't think that it's correct to say that it's "never a good idea" to lock the entire browser. One of the benefits of AJAX is that the browser allows you to code an application in the browser which behaves more like a traditional app. And there are plenty of times when the user would expect to wait before moving forward: saving your work, adding an image to something, etc. So I think this plugin is a great idea. Great job. <!----------------//------ andy matthews web developer certified
[jQuery] tableSorter bug colspan in tfoot
hey, i'd like to know if i'm doing something wrong. Check this: <table> <thead> <tr> <td>1</td> <td>2</td> </tr> </thead> <tbody> <tr> <td>1</td> <td>2</td> </tr> </tbody> <tfoot> <tr> <td colspan="2">products found: #que.recordCount#</td> </tr> </tfoot> </table> When i try to sort it, firebug tells me: tbl.sorter.js (line 292) : o has no properties return o.innerHTML; I realise that if i remove the colspan it works fine... So i shouldnt this attribute? _______________________________________________
[jQuery] Ensure that one object is at least as tall as another.
G'day. I have written a jQuery style method to solve a specific UI issue for which I have yet to see another solution. What I want to do, essentially, is to have a block element grow so that it is at least as tall as another element -- a sidebar that can be taller than the content block (of variable and unknown size), but never shorter. Anyway, short of JavaScript or nasty structural hacks I wrote some jQuery code to provide the implementation. I am not very familiar with jQuery yet, though, and
[jQuery] msie closures syntax
Not only not related to jQuery, but not related to closures either. :-) The problem is that setTimeout doesn't accept the additional arguments you are passing it. Is there any reason you can't do this: setTimeout( function() { doStuff( "stuff", 1, 2 ); }, 100 ); That would work in any browser. -Mike
[jQuery] Trigger on-click event in first table cell
I have this table: <table id="photographTable"> <tr> <td> <span class="small button" onclick="showPhotograph('http://localhost:11000/my.JPG', 1044, 746);return false;">Show</span><td>..etc..</td> </tr> <tr><td>...etc</td></tr> </table> How do I trigger the on-click event in the first cell, first row? -- View this message in context: http://www.nabble.com/Trigger-on-click-event-in-first-table-cell-tf2884409.html#a8058842 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] Plugin Authoring: Custom Alias
Hi folks, just added the "Custom Alias" section to the plugin authoring guide. If you don't know about this yet, check it out. Anyway, please correct or improve it! Link: http://jquery.com/docs/Plugins/Authoring/#CustomAlias -- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Two tablesorter observations...
Hello, 1. Maybe I missed this, but if you don't already, you should state that empty cells cause a "o.childNodes[0] has no properties" error (at least in FF <a href="http://2.0.0.1">2.0.0.1</a>). So empty cells should always have at least a " " to keep tablesorter happy. 2. Is there anyway to make the currency parser more generic? What I mean is that I was trying to sort a column where I wasn't specifying a specific currency and the results were not ordered properly. Then I compared the currency
[jQuery] Removing Parent Node
Hi, I have a node list this: <span style="font-family: courier new,monospace;"><span> abcd </span><span style="font-family: courier new,monospace;"> <span class="a">efgh</span> </span><span style="font-family: courier new,monospace;"> <span class="a">ijkl</span> </span><span style="font-family: courier new,monospace;"> <span class="a">mnop</span> </span><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">qrst </span> </span>Now, how
[jQuery] about get method cache
<div>Hi everyone</div> <div>Merry Christmas.</div> <div>I use jQ have some times,i find the $.get() almost use cache, the brower don't send the request to server, but use cache data.</div> <div>so, i have trouble. please tell me if i want to make get() method excute every times. how to do i?<br clear="all"> -- yours yongheng <a href="mailto:msn:jetever@hotmail.com">msn:jetever@hotmail.com</a> <a href="mailto:gtalk:jetever@gmail.com">gtalk:jetever@gmail.com</a> tel:13810380736 </div> _______________________________________________
[jQuery] New JQUERY site for testing...
Hi folks, I just published this site on the net: http://cloudytags.com CloudyTags.com . It's made 100% with JQuery and some other libraries. Here you have the list: Jquery, the great library (http://www.jquery.com) Spy for Jquery (http://leftlogic.com/info/articles/jquery_spy2) Nifty Cube (http://www.html.it/articoli/niftycube/index.html) Forms Restrict v1.0 (http://www.jsfromhell.com/forms) Site is fully degradable, SEO friendly, and works 100% without javascript enabled (this made me spend a lot
[jQuery] Dev tools showdown
<!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>[jQuery] Dev tools showdown</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Hi,</FONT> <BR><FONT SIZE=2 FACE="Arial">I use JSEclipse for js editing (i usually do j2ee programming and prefer an all-in-one editor). It features code-completion
[jQuery] plugins page
what happened to plugins page? does anyone have a copy of the previous version? thank you _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New JQUERY site for testing...
Looks good, I am impressed that it is all jQuerry (and some other libraries). Here are some observations: 1) On the home there could be some space below the separator lines, makes me nervous. 2) in the search when you get a 'found nothing here', if you type a new search and you get a new nothing found message, there needs to be some sort of indication that it is working, maybe post the search criteria together with the nothing found message. I kept typing new criteria in the search box and since
[jQuery] Konqueror in jQuery.browser
Is there a reason not to add konqueror in jQuery.browser ? If not, can I patch this ? --- jquery.js 2006-12-23 16:27:00.000000000 +0100 +++ jquery_new.js 2006-12-23 17:49:18.000000000 +0100 @@ -2221,7 +2221,8 @@ safari: /webkit/.test(b), opera: /opera/.test(b), msie: /msie/.test(b) && !/opera/.test(b), - mozilla: /mozilla/.test(b) && !/(compatible|webkit)/.test(b) + mozilla: /mozilla/.test(b) && !/(compatible|webkit|like gecko)/.test(b), + konqueror: /konqueror/.test(b) }; -- Fabien Meghazi Website:
[jQuery] jQuery heat maps
I was looking at: http://blog.corunet.com/english/the-definitive-heatmap it describes one method for creating a heat map (a visualization of where users click on a website). The solution them employ requires sending one HttpRequest to your server for each click. This sounds potentially very expensive. Would it be possible to aggregate this data client side, and then every X seconds or clicks? Can we store state across page refreshes? Would something like AMASS be helpful here? http://codinginparadise.org/weblog/2005/10/amass-ajax-massive-storage-system.html
[jQuery] Another XML / .get / iterator question
I'm trying to implement a web2.0y tag interface. I did a subversion update and built jquery.pack.js and tested on more time before posting this question so I think I am completely up to date. Anway, I want to iterate through a set of XML tags the JQuery way but the loop never appears to be entered... JavaScript function loadTags() { $.get("tag.ajx", { id: "${ model.item.id}" }, function(xml) { var x = xml.getElementsByTagName("com.syndic.data.metadata.TagEntity"); // this alert fires and displays
[jQuery] So what is wrong with ie6 on blur?
hi, folks. I set up an example page here: <a href="http://realazy.org/temp/tut/form_hover_step3.html">http://realazy.org/temp/tut/form_hover_step3.html</a> and some js code like this: $("input[@type='text'], input[@type='password'], textarea").hover(function(){$(this).addClass("ie_hover")}, function(){$(this).removeClass("ie_hover")}).focus(function(){$(this).addClass("ie_focus")}).blur(function(){$(this).removeClass("ie_focus")}); test in firefox all is ok, but in ie6, I never saw the ".blur(function(){$(this).removeClass("ie_focus")})"
[jQuery] JQuery driven site
fellows, Finally my first JQuery driven site has been released - http://www.findfreefonts.net . To start by presenting myself - I try to spread the word about JQuery in the ASP.NET world - through my site http://www.aspcode.net/articles/l_en-US/t_default/ASP.NET/ASP.NET2.0/Ajax/category_61.aspx cause the fact is that JQuery has become my JS toolkit choice - and not MS ASP.NET Ajax (formally Atlas).. Anyway, a little nervous cause I'm pretty new/lame when it comes to client side programming - but
[jQuery] a tablesorter library
http://www.javascripttoolbox.com/lib/table/. maybe some inspiration for the tabelsorter plugin guys ;) There are some nice examples on the example page. -- David Duymelinck ________________ david@icreate.be _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Open/close div problem
I have the following script. What i want is to open and close a div with animation when i click on the red area. The problem is that when it opens and the width becomes 300px then automatically closes. I think its because i set the value of the var open to true. Can anyone help me with this please; Thanks in advance! ///////////////////////// JQUERY SCRIPT /////////////////////////////// $(document).ready(function() { var open = false; if(open == false) { $("#hotspot").click
[jQuery] Duplicating a row...
I'm working with recipes and I want to use some jQuery goodness to clone a DOM construct that will contain a few form fields so that adding ingredients is easy, and fun. I thought that it would be pretty easy to code but it's giving me some trouble and I wanted to see if you guys could help me out. My HTML: <ol id="ingList"> <li class="ingredient"><input type="text" name="ing_01"><input type="button" class="addIng" value="+"></li> </ol> Here's the jQ code I have thus far: $(document).ready( function(){
[jQuery] get selected element
<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=us-ascii"> <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] Duplicating a row...
> I'm working with various jQ methods but I can't
[jQuery] cache problem? with xmlExec/ taconite
I can't seem to get a second update with taconite/ xmlExec. I have a form with a forms.js submit. It returns xml to xmlExec., which updates the page - works like a charm. If I click the same button again, it seems to go through all the motions, then it updates with the same information as the first click (which appears very much like no update at all, of course.) I have tried using a couple of separate forms on one page with separate submit buttons, slightly different urls. I also tried tacking a
[jQuery] jquery session handling versus PHP
Thanks to all three of you for the responses :) To explain a bit more about the extent of how I use the sessions, the majority of why I use them is to restrict access to certain areas. I have varying levels of permissions on each user account, and do the usual "check if they are logged in on each page" scenario. In addition I allow selecting a "permanent" skin choice, which I put into a session variable that expires a zillion years in the future. There are a few other optional flags that I need to
[jQuery] Possible z-index problem with animate
I have an li-element with some divs inside it to round the corners (2x2 pixel divs with suitable background images to just chip off the border around the li) I use the built in animate to change the height of the li, during the animation, the divs don't work as they should, but as soon as it's over, they "hop into place" functioning like they should. I'm quite sure this comes from a z-index problem, since when I remove the li-border, the "chip-images" stay in correct position, it seems that during
[jQuery] Thickbox + ads + FF = broken..
Hi all, I'm having trouble with thickbox on pages that also have banner ads.. I've made two examples: http://dev.twokings.eu/dev/jquery/index.html (google ad) http://dev.twokings.eu/dev/jquery/index2.html (tradedoubler ad) These have jquery 1.0.3 (unpacked) and thickbox 2.1. The pages give the following results: Safari(mac): OK IE (win): OK FF (win/mac): b0rken Opera (win/mac): b0rken In FF I get the following cryptic error message: "Permission denied to get property Window.nodetype" In Opera I get:
[jQuery] Problem with jq-corner.js and ie6
Hi, First, sorry for my bad english, i'm french. Thx for jquery, i love it :) I have a problem with jq-corner and ie6, the corners don't see (look this page for exemple : <a href="http://www.mes-anniversaires.com/anniversaires_du_jour-anniversaire-id-355-nom-Samuel_L_Jackson.html"> http://www.mes-anniversaires.com/anniversaires_du_jour-anniversaire-id-355-nom-Samuel_L_Jackson.html</a>) Firefox 1.5, 2 ok ie7 ok opera ok Strange problem THX for help. Good day Matthieu BARBE _______________________________________________
[jQuery] [evangelism] editable jQuery examples blog post
If you'll excuse my tooting my own horn, I just made a blog post that I think is neat. http://bluej100.blogspot.com/2006/12/jquery-css-style-javascripting.html As I mention in the post, I wrote the following script for my blog: $(document).ready(function() { $('form.jqExample') .append('<input type="submit" value="Execute" />') .submit(function() { eval($(this).children('textarea').get(0).value); }); }); Now whenever I want to preach jQuery, I just put <form class="jqExample"><textarea>[JQ_CODE]</textarea></form>,
[jQuery] 24 days - today with jquery
http://24ways.org/2006/a-scripting-carol by Derek Featherstone ...not a jquery centric example, more about unobtrusive scripting, but still cool. And worth reading anyway. -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] typeWritr - WAS jdNewsScroll - Headline Scroller
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Sam Collett Subject: Re: [jQuery] typeWritr - WAS jdNewsScroll - Headline Scroller
[jQuery] typeWritr - WAS jdNewsScroll - Headline Scroller
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Sam Collett Subject: Re: [jQuery] jdNewsScroll - Headline Scroller What I want to know is how to do a typewriter effect (i.e. type from right to left single letters until the entire text is written). ----- I do like a challenge :) Though, I'm sure someone will be able to do this better than I. Note, this is just tested on Win/FF2.0. You're on your own as far as other browsers go. I had to do some CSS tricks to make
[jQuery] Problem redefining $ with merge function
I discovered jQuery via Cody Lindley's Thickbox script and will warn everyone that I have only a very basic understanding of javascript (despite several years' worth of ASP, PHP, etc). That said, I'm running into a problem using jQuery 1.0.4 with other scripts that use the Prototype library. Per the notes on the jQuery site, I have redefined $ in jQuery as JQ, and I have changed $ to JQ in the Thickbox script accordingly. It is working well for displaying image galleries. However, there are times
[jQuery] jdNewsScroll - Headline Scroller
Another Proof of Concept code. I'll be refactoring this into a plugin in the next week or so. <a href="http://jdsharp.us/code/jdNewsScroll/">http://jdsharp.us/code/jdNewsScroll/</a> Cheers, -js _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Duplicating a row...
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Jörn Zaefferer Subject: Re: [jQuery] Duplicating a row... andy@icglink.com schrieb:
[jQuery] for each, bing, scope
Hello, I have a form with 5 checkboxes and 5 text inputs. Each checkbox is related to a text input. I want a checkbox to be checked when its related text input is clicked... easy with jquery: $("#text_input_id").click( function() { $("#checkbox_id").get(0).checked = true; } ); But I have a problem doing this in a loop. Here is a test case with jquery-1.0.4, FF 2.0: <html> <head> <script src="jquery.js"> </script> </head> <body> <form> <input type="checkbox" name="a" id="a" value="1" /> <input type="text"
Next Page