[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-07 Thread George
One final thought, can you deligate mouseover and mouseout events to a parent element such as the table, then inside your event handler function, read the event.target to decide which row or cell or whatever is being hovered-over? George On Nov 7, 5:38 am, fambizzari [EMAIL PROTECTED] wrote:

[jQuery] Re: Add row and refresh tablesorter with pager.

2007-11-07 Thread umesu
Did you get solution? If so, please write the solution. I also got same problem. Regards, On Oct 17, 12:02 am, FreeFallFred [EMAIL PROTECTED] wrote: Hi, First, thanks for the great jquery API and thetablesorter/pager plugin. They are really easy to use. I've had a need recently to

[jQuery] Re: additional events

2007-11-07 Thread cjiang
Or you can use livequery plugin, like this: script type=text\javascript src=PATH_TO_jquery.livequery.js/ script script $(document).ready(function() { $(.button_plus).livequery('click', function() { $(this).load( ajax.php, {template: testTR}, function(output){

[jQuery] Re: Dropdown list to auto populate input boxes

2007-11-07 Thread Nathan
Actually I have just worked out what the problem is, thankyou On Nov 7, 1:24 am, George GSGD [EMAIL PROTECTED] wrote: Is your alert working correctly? If you've managed to get the data properly, then I would suggest trying the val function instead of attr('value') If you give it an argument

[jQuery] toggleClass not working - please help

2007-11-07 Thread dan
I may be missing something here but the following code doesn't work. As you focus the input to outter div gets toggles a class name. Please help. script $(function() { $('.fieldRow input').focus(function(){ $(this).parent('.fieldRow').toggleClass(focused); });

[jQuery] Re: Text finder in html

2007-11-07 Thread syg6
Hmmm ... yes, this is similar to what I need but I can't get your code to do anything. :( If I understand the code correctly, you capture the keyup event for a input text field called 'filter' (which isn't included in the HTML you posted) and then loop through each td with the 'leadName' class

[jQuery] Re: remove() deletes events in jQuery 1.2.1. Why?

2007-11-07 Thread Jeffrey Kretz
If you haven’t seen the livequery plugin, I would recommend looking it over – this would really be the correct solution to this. http://brandonaaron.net/docs/livequery/ Destroying events connected to a removed element helps prevent memory leaks – it is really the correct behavior. JK

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread Jake McGraw
I don't see what the disconnect for most users is, but I always assumed that after destroying an element, no matter how it was reconstructed, I would have to re-bind events using helper functions. LiveQuery is a useful shortcut for bypassing a logical (IMHO) series of events, and as such, should

[jQuery] Improving .hover on this basic Jquery?

2007-11-07 Thread soupenvy
I have some super basic Jquery in use on this test page: http://ghettocooler.net/stuff/code/jquery/hover/ I was wondering if anyone had any ideas as to how I can improve some basic navigation. It seems as though lots of people have issues w/ the .hover, and they suggest using the hoverIntent

[jQuery] Re: jQuery Site Detection Greasemonkey Script

2007-11-07 Thread Pyrolupus
As a followup to my prior message about the jQuery Detect plugin for Firefox, I do want to point out that I still use Paul Bakaus's Greasemonkey script in Opera to great effect. Adding user scripts to Opera: http://www.opera.com/support/tutorials/userjs/using/#writingscripts User scripts can be

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread cjiang
Hi, I had the same experience as Tane. In the beginning, because of the JQuery's bug that non-root level script cannnot be evaluated after Ajax call in 1.2 release, I used livequery a lot, and did find that the page was not very responsive. The performance is getting better after I removed some

[jQuery] Re: Jquery Sortable plugin and Flash content problem

2007-11-07 Thread Richard D. Worth
Are you using the jQuery UI sortables plugin? If so, you should post to the jquery-ui list: http://groups.google.com/group/jquery-ui Also, a sample/test page would be very helpful. Thanks. - Richard On Nov 6, 2007 11:19 AM, jamietssg [EMAIL PROTECTED] wrote: Bump! On Nov 5, 3:51 pm,

[jQuery] Re: Initialization of jCarousel with too few elements.

2007-11-07 Thread Jan Sorgalla
Hi, On 5 Nov., 16:28, Glenn Nilsson [EMAIL PROTECTED] wrote: Hi everyone, I'm trying to figure out if I'm doing something wrong or if there's a bug injCarousel. The number of items in myjcarouselis dynamic, and i have a 'live filtering' feature on the client side too, so the number of

[jQuery] Re: Spam - not a complaint, more an observation

2007-11-07 Thread Eric Martin
I see from the About this group page: Messages from new members are moderated How long is this moderation in effect? I've been posting here for a month or so and I think my messages are still getting moderated because sometimes it takes a long time for them to show up... Just curious ;) On Nov

[jQuery] Re: using thickbox with jquery live

2007-11-07 Thread tlphipps
I did that very thing be modifying the tb_init() function in thickbox. Here is my modified version that uses livequery. function tb_init(domChunk){ $(domChunk).livequery('click',function(){ var t = this.title || this.name || null; var a = this.href ||

[jQuery] Re: Spam - not a complaint, more an observation

2007-11-07 Thread John Resig
jquery-ui is not - which is why a whole mess made it through. We'll have to start filtering that one as well, unfortunately. --John On 11/7/07, Michael Price [EMAIL PROTECTED] wrote: I've noticed a steady increase in the amount of spam coming through to the jQuery lists I'm subscribed to

[jQuery] Re: Major Problem With Dom Traversal

2007-11-07 Thread Flesler
you should use css, if you have only two or 3 states of width, you could use CSS classes. Else you can have a style tag and append rules to it. On Nov 6, 8:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Working on a page with a table of about 10,000 rows and 30 div's, the following takes

[jQuery] Need help with the value of a Macbook

2007-11-07 Thread Andy Matthews
I know many of you on this list are Mac users and so I'm asking for help. I'm looking to upgrade my computer (new workstation, and two new monitors). I'm budgeting about $1500 - $2000. A co-worker of mine said that a friend of HIS is selling a Macbook. Since I know that's an Intel machine I was

[jQuery] how to make links unclickable

2007-11-07 Thread Bhaarat Sharma
Hi is it possible to make all links on a page un-clickable using jQuery? the mouse cursor shouldn't even change when user hovers over the link. I am new to jQuery I'll start out with something like this $(a).click(function(){ //what should go here? return false;? });

[jQuery] Re: Improving .hover on this basic Jquery?

2007-11-07 Thread Brian Cherne
hoverIntent is awfully convoluted and complex. The author of that plug-in should be tarred, feathered, stoned, and have the hair on his head pulled out one-by-one!... but only if your cursor comes to rest on him :) In all seriousness, hoverIntent was originally written for a very specific

[jQuery] Re: how to make links unclickable

2007-11-07 Thread Andy Matthews
Yes. return false won't make the link unclickable, but it will prevent the default action from occurring. You can do this to also remove the hand cursor: $(a).css('cursor','arrow').click(function(){ return false; }); -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Scripts at the bottom of the page

2007-11-07 Thread polyrhythmic
Also any a href=javascript:foo() links that call jQuery related stuff can't be clicked before jQuery is fully loaded. Having the script towards the bottom can also mess that up. You are mixing your Model-View-Controller together with such 'links'. href=javascript: ... is bad jQuery practice,

[jQuery] Interface, Draggable, Dropable, Revert and Ajax

2007-11-07 Thread Vincent Majer
Hi, i'm trying to make a drag and drop system for assigning tags, using the interface plugin. I'v got two select, the original list and the selected list tags. The user can add tag, which is done by ajax. I've got two problems with it .. The first one is to reverse a choice.. once the

[jQuery] Re: hover select/

2007-11-07 Thread j05ef
Sorry, your code does not work because the IDs you're building using this.value do not exist. Since I already posted a work around and merely wanted to see if this is something that is missing from jQuery, I'll repost in the Dev group. Thanks Josef On Nov 6, 6:06 pm, Eric Martin [EMAIL

[jQuery] Different jQuery.each(obj, callback) behaviour between arrays and objects

2007-11-07 Thread Dan Brook
Why is it that the $.each utility method doesn't exit the loop on return false when iterating over objects but does when iterating over arrays? Here's a simple example that requires Firebug: $.each([1,2,3], function() { console.log('outer - ', arguments); $.each([4,5], function() {

[jQuery] Would be nice to select objects using attribute comparisons

2007-11-07 Thread Penner, Matthew
I have several options in a select element, each whose value is an integer. I would love to be able to select those above a threshold, such as something like: $(#mySelect option[value5]) I know I can do this with :gt(index) but I'd rather use the actual value for less hard coding and

[jQuery] Problem when adding onclick or onchange attributes to a link on IE7

2007-11-07 Thread camilo_u
Hi Guys, I just finished a script to duplicate rows of a table using jQuery, everything works fine on Firefox, and duplicating also work on IE7, but when i try to add a new function to the newly added item on the onClick or onChange it does not work, i have tried adding the function in the

[jQuery] Re: how to make links unclickable

2007-11-07 Thread Flesler
I don't see cursor:arrow working as expected, I tested in Firefox 2. Here is my solution, it will even work for dynamically added links. The cursor can be removed by css, that will always be faster than JS.. just add this ** a{

[jQuery] [WARN] Firefox’s JAR: Protocol issues

2007-11-07 Thread Bil Corry
Severe XSS problem in Firefox: http://www.gnucitizen.org/blog/web-mayhem-firefoxs-jar-protocol-issues Apparently, Mozilla has known about it since February 2007, but hasn't made any progress on fixing it (read the comments). Because of the above public disclosure, Mozilla just made the

[jQuery] Re: JQModal size and position

2007-11-07 Thread Eeby
On Nov 6, 8:17 pm, Eric Martin [EMAIL PROTECTED] wrote: How are you calling it? Could it be a browser cache issue? Thanks for the reply. It was more of a CSS issue. See above. E

[jQuery] Re: Tablesorter and numbers formatted with commas

2007-11-07 Thread aquaone
I ran into the same problem. I just wrote my own parser. It may not be as efficient as it could be though. I'm no expert. Still, here it is: $.tablesorter.addParser({ id: commaNum, is: function(s) { return false; },

[jQuery] Re: Spam - not a complaint, more an observation

2007-11-07 Thread Pyrolupus
Whoa, hadn't noticed that. It does explain why my messages sometimes take an entire weekend to post, though. :\ Pyro On Nov 7, 10:51 am, Eric Martin [EMAIL PROTECTED] wrote: I see from the About this group page: Messages from new members are moderated How long is this moderation in

[jQuery] Re: Jquery Sortable plugin and Flash content problem

2007-11-07 Thread Richard D. Worth
Ignore my previous message. Now I see your sample page and that you are using the Interface plugin. This is no longer supported. Have you tried jQuery UI ( http://ui.jquery.com/ )? You've got a really nice test case for UI sortables. If you can't get it to work, please let us know, so we can

[jQuery] Re: remove() deletes events in jQuery 1.2.1. Why?

2007-11-07 Thread Felix Geisendörfer
Hey, http://brandonaaron.net/docs/livequery/ Destroying events connected to a removed element helps prevent memory leaks -- it is really the correct behavior. Well in most cases it probably is. However I actually got my own little framework used by all plugins I wrote, which attaches

[jQuery] Re: Scripts at the bottom of the page

2007-11-07 Thread mike503
thanks for the reply. On Nov 7, 10:19 am, polyrhythmic [EMAIL PROTECTED] wrote: You are mixing your Model-View-Controller together with such 'links'. href=javascript: ... is bad jQuery practice, and never recommended. It does not degrade in any way for users who are not running JavaScript.

[jQuery] Re: Would be nice to select objects using attribute comparisons

2007-11-07 Thread Karl Swedberg
You could try something like this (untested): $('#mySelect option').filter(function() { return parseInt(this.value, 10) 5; }) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 7, 2007, at 2:33 PM, Penner, Matthew wrote: I have several options in

[jQuery] Re: Scoping selector to parent window

2007-11-07 Thread Robert O'Rourke
cjiang wrote: Hi, What you can do is like the following: $(#i-agree).click(function(){ window.opener.$(#accept-terms).attr(checked,checked); window.close(); }); regards, Changsu Thanks Changsu, sorry about the late response. Works beautifully now. Cheers, Rob

[jQuery] Use your iphone as an xbmc remote

2007-11-07 Thread Kia Niskavaara
XBMC for iPhone is a JavaScript application that uses Joe Hewitt's iPhone navigation work, iUI. The application is created by Tom Robinson. Current version is 0.1. Tom today said in the macrumors.com forum that: I'm too busy (finishing a master's degree, finding a job and/or starting a

[jQuery] Re: jQuery Site Detection Greasemonkey Script

2007-11-07 Thread Pyrolupus
I rather like the jQuery Detect Firefox plugin, myself: http://www.sunsean.com/jquerydetect/ The Greasemonkey script works great, as well. Pyro On Nov 6, 9:57 pm, Rey Bango [EMAIL PROTECTED] wrote: Hi everyone. The number of jQuery-powered sites being listed is incredible and the numbers

[jQuery] Re: thickbox IE7 position

2007-11-07 Thread MichaelEvangelista
Thanks for the reply... I am running IE7 on windows Vista Version number says 7.0.6000.16546 -- -- Michael Evangelista, Evangelista Design Web : www.mredesign.com Newsgroups: news://forums.mredesign.com Blog : www.miuaiga.com [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi

[jQuery] Spam - not a complaint, more an observation

2007-11-07 Thread Michael Price
I've noticed a steady increase in the amount of spam coming through to the jQuery lists I'm subscribed to (jquery-en and jquery-ui) - this isn't a complaint as hitting Delete to get rid of it takes about half a second to do but I'd been under the impression first posts to the group were

[jQuery] Re: Jquery 1.2 and Interface Plugin

2007-11-07 Thread Ambient.Impact
Parts of Interface still work with 1.2. I've read (and verified) that it's mostly to do with the changes in the animation system, so the parts that you should avoid are the effects (those that start in ifx), because Interface overwrites parts of jQuery's animation system. If you leave those out,

[jQuery] Re: toggleClass not working - please help

2007-11-07 Thread Wizzud
Try using parents(...) instead of parent(...), or parent().parent(). (.fieldRow is not the immediate parent of the input field) [I'm not entirely sure that using toggleClass() on a focus event will give you the intended result, but still ... ] On Nov 7, 4:02 am, dan [EMAIL PROTECTED] wrote: I

[jQuery] Re: Can jquery do this?

2007-11-07 Thread George
On a related note, AListApart has a comprehensive article about safer ways to put email addresses on your pages without attracting spam. http://www.alistapart.com/articles/gracefulemailobfuscation George

[jQuery] Re: Need help with the value of a Macbook

2007-11-07 Thread Aaron Heimlich
On Nov 7, 2007 1:24 PM, Andy Matthews [EMAIL PROTECTED] wrote: A co-worker of mine said that a friend of HIS is selling a Macbook. Since I know that's an Intel machine I was curious so I asked about the specs. Here's a spec list for the Late 2006 MacBooks:

[jQuery] Re: Need help with the value of a Macbook

2007-11-07 Thread Andy Matthews
Aaron...thank you! This is exactly what I was looking for! Appreciated. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: Wednesday, November 07, 2007 3:26 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Need help with the value of a

[jQuery] Re: Need help with the value of a Macbook

2007-11-07 Thread Aaron Heimlich
You're welcome. HTH On Nov 7, 2007 3:49 PM, Andy Matthews [EMAIL PROTECTED] wrote: Aaron...thank you! This is exactly what I was looking for! Appreciated. -- *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Aaron Heimlich *Sent:*

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-07 Thread jason
I'm all for keeping the core lightweight, but there's plenty of stuff already in the core that is far less useful to me on a daily basis than LiveQuery. You should not need an extra plugin to indicate that a particular binding needs to be refreshed when the DOM updates. - jason

[jQuery] Re: Scripts at the bottom of the page

2007-11-07 Thread polyrhythmic
there is one thing - these are not placed *after* jquery.js is called. This is likely your entire problem. The jquery.js *must* be before *any* jQuery code -- the browser will choke when it sees $ or jQuery before $ and jQuery are defined. Charles On Nov 7, 12:01 pm, mike503 [EMAIL

[jQuery] Re: how to make links unclickable

2007-11-07 Thread Bhaarat Sharma
Thanks a lot to both of you. That was really helpfull and got the job done. I've implemented CSS along with return false. There is no dynamic content on the site but the above example is great for my future reference On Nov 7, 3:01 pm, Flesler [EMAIL PROTECTED] wrote: I don't see cursor:arrow

[jQuery] photo tagging with jQuery

2007-11-07 Thread Bhaarat Sharma
hi, I am sure most of you are familiar with 'facebook'. you might have noticed that facebook allows ursers to hoover over pictures, click on them and that way tag them. so the next time someone comes to take a look at the picture and hover over it they will see the tag created. I am wondering if

[jQuery] Re: Scripts at the bottom of the page

2007-11-07 Thread mike503
On Nov 7, 2:17 pm, polyrhythmic [EMAIL PROTECTED] wrote: This is likely your entire problem. The jquery.js *must* be before *any* jQuery code -- the browser will choke when it sees $ or jQuery before $ and jQuery are defined. Oops, I should have checked before I replied. I have so many

[jQuery] Re: thickbox IE7 position

2007-11-07 Thread [EMAIL PROTECTED]
Hi Michael, Here is my test: Windows Vista IE 7.0.600.16546(update versions:0) : ok Windows Vista IE 7.0.600.16386(update versions:0) : ok; Windows XP IE 7.0.5730.11(update verions:0) : wrong position I'll try to look into this and keep you updated, also, if you find a fix, please let me

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-07 Thread fambizzari
George, I have no idea what you are talking about! Can you explain by means of code?

[jQuery] Re: Major Problem With Dom Traversal

2007-11-07 Thread fambizzari
Flesler, that's what we ended up doing... $(head style).append(.siteWidth{width: + modifiedW +}); But it still took the same amount of time for the page to update. I wonder why?

[jQuery] Re: how to make links unclickable

2007-11-07 Thread fambizzari
This should replace all links with their link text: $(a.noclick).each(function(){ $(this).replaceWith($(this).text());});

[jQuery] Re: Animating from one CSS class to another

2007-11-07 Thread Danny
This was an old post, but if you're still interested I've been thinking about a CSS parser with Andy Kent (for jss). It reads all the stylesheets and style elements and assembles them into one large JSON. It's at http://youngisrael-stl.org/wordpress/blogfiles/cssparser/cssparser.jquery.js and if

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-07 Thread Suni
basically just bind the event handlers to the parent, such as the tbody or table, check the event.target and act: $('#myTable tbody').bind('click', function(e) { });