[jQuery] hoverIntent-like for keystrokes ?

2007-12-05 Thread arnaud sellenet
Does anyone know if a such plugin already exists ? to enhance an autocomplete field I'd like to avoid ajax requests to be fired while typing each letter. Instead I'd like to fire requests only if the delay between two keystrokes are greater than a desired delay that can be configured when

[jQuery] Re: Smoothly scroll to the anchor given in the URL

2007-12-05 Thread Flesler
@Maccer Indeed, the actual documentation is in the header of the source-code file. I didn't want to bore people (that won't download it) with documentation in the project page, or in the blog. The info that appears in those 2 places is sort of a quick summary of what is the plugin capable of. I

[jQuery] Re: new jARIA plugin

2007-12-05 Thread Richard D. Worth
On Dec 5, 2007 12:29 AM, John Resig [EMAIL PROTECTED] wrote: Ping me offlist for access to the jQuery SVN and we can start this going, and move the discussion over to the jquery-dev (or jquery-ui) list. --John My vote would be jquery-ui list. - Richard

[jQuery] Re: hover and className

2007-12-05 Thread David Serduke
Sorry to butt in but I was wondering if this was a weird jQuery bug so looked in to it. What I found was it appears the way you are changing the className is the problem. When I took out that part and replaced it with addClass and removeClass it seemed better. I took some liberties with your

[jQuery] Re: Fading a background image

2007-12-05 Thread pete higgins
One way would be to put two block elements in a third that has position:relative and the children each have position:absolute; top:0; left:0; and the one with text has a higher zIndex. Fade out the underlay, leaving the content? On Dec 4, 2007 5:25 PM, jonhobbs [EMAIL PROTECTED] wrote: HI

[jQuery] Drag'n'Drop assistance needed

2007-12-05 Thread mdw77
Hi all, First post, taking my first leap into jQuery, bought some books! What I am aiming to achive is a drag and drop interface for a calendar (the fact it is for a calendar is pretty irrelevant actually). So I have a number of items in a list (places) and I would like to be able to drag these

[jQuery] Re: jQuery taking a second or two to load?

2007-12-05 Thread [EMAIL PROTECTED]
You're a star - it's working great now, thanks. On Dec 4, 4:26 pm, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] // regular toggle with speed of 'default'

[jQuery] Error in Ajax Queue plugin

2007-12-05 Thread [EMAIL PROTECTED]
Hi I'm trying to use the Ajax Queue plugin with the following code: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 /

[jQuery] Re: Ann: Flot 0.1 released

2007-12-05 Thread Ole Laursen
On Dec 4, 8:35 pm, Ken Gregg [EMAIL PROTECTED] wrote: Great work. Anxious to play with it. Thanks! :-) One suggestion for handling time series is providing x and y axis label callbacks. When passed a value (number of minutes, hours, days, etc) the call back could translate the value to

[jQuery] DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
Greetings, all. I feel really stupid here, but I'm at wit's end. I want to remove the bottom border from the last LI in all DIVs except those of class 'features'. I've tried all manner of syntax, to no avail. Here's what I currently have in place: $(div:not(.features)

[jQuery] Re: So... Dating site using jQuery....

2007-12-05 Thread Andy Matthews
Looks fairly nice. Might I suggest that rather than using the user id in the link like so: http://www.lovedango.com/user/profile/21 that you at least add in their user name: http://www.lovedango.com/user/profile/andymatthews that makes the URL more human readable, and makes their page feel a

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
Kevin, That really should be working, you may need to submit a bug report or ask others if this is a true bug. With that said, I did the below and get the last LI in Awards and Screenshots so I am not sure if this is what you want: $('li:has(img):last-child'); On 12/5/07, Kevin Scholl [EMAIL

[jQuery] Re: Error in Ajax Queue plugin

2007-12-05 Thread Jörn Zaefferer
[EMAIL PROTECTED] schrieb: Hi I'm trying to use the Ajax Queue plugin with the following code: But everytime it runs I get an error saying 'jQuery.dequeue is not a function' and doesn't implement the second part to the queue. Any ideas? You could give this update a try:

[jQuery] Re: Ann: Flot 0.1 released

2007-12-05 Thread Ole Laursen
On Dec 5, 5:48 pm, Guy Fraser [EMAIL PROTECTED] wrote: Take a look at the Datejs.com library - it has lots of useful methods for working with dates and I believe they also plan to later implement it as a jQuery plugin. Hm, interesting. Now we'll just sit back and wait to you find a way of

[jQuery] Re: jQuery Magnifier for multiple divs

2007-12-05 Thread defender71
I have changed the code to the one below, however the problem is still the same. On their sample (http://ui.jquery.com)page they have multiple examples all in one page, but can't figure out how they are doing it. I'm new to jQuery and so far I like it, but there is that learning curve that I

[jQuery] Re: OT jQuery plugins user account password

2007-12-05 Thread Flesler
It is happening to me again :( Ariel Flesler On 27 nov, 11:37, Mike Hostetler [EMAIL PROTECTED] wrote: Hello Everyone- I apologize for not getting to this earlier. I don't follow this list. Thankfully Karl Swedberg sent me an email notifying me of the problem. Turns out the

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Karl Swedberg
Hi Kevin, I have an idea. :-) The problem is that, even though you're excluding div class=features, you're not excluding its parent divs. For example, div class=colLeft12 is still part of the first selector ( div:not(.features) ), and the li:last-child of div.features is also a

[jQuery] Re: autocomplete bug when focus called

2007-12-05 Thread Jörn Zaefferer
Shelane schrieb: if I have a focus called in the code just before applying the autocomplete, then when the autocomplete runs, the data never shows. firebug shows that the call is being made, it just never displays. i take the focus call out and it works fine. this is with the latest from SVN

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
HI, Benjamin. Thanks for taking a look. The page in question may be found at: http://review.ksscholl.com/product.html The pertinent CSS file and JS files: http://review.ksscholl.com/css/matrix.css http://review.ksscholl.com/js/jqload.js Thanks! On Dec 5, 9:52 am, Benjamin Sterling [EMAIL

[jQuery] parsing ajax html responses

2007-12-05 Thread driven
Hi, I am trying to accomplish something with the cluetip plugin, but it really has more to do with parsing ajax html responses. What I have is a search results page. I am using the href attribute as the url for my ajax request. What I get back is a fully formed html document as a string. The

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
Good call Kevin. On 12/5/07, Kevin Scholl [EMAIL PROTECTED] wrote: @Karl Yes, the borders show in the right column using that method, though the explanation regarding the set of matched divs is enlightening. Appreciate your input there! @Benjamin I'm trying to keep the HTML as clean as

[jQuery] cluetip plugin prevents click event

2007-12-05 Thread driven
I am using cluetip to put tooltips on the links in a search results page. I have the 'activation' setting as 'hover' but unfortunately cluetip cancels the normal click event and I can't actually follow the links. I don't see any examples or settings that will let me actually click on the links.

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
Thanks for your efforts, Benjamin. Obviously, it's got me stumped, too. I can add the border back in via jQuery for the look I'm trying to achieve, but ideally I'd like to keep the code as minimal as possible. Anyone else have any idea(s)? On Dec 5, 12:23 pm, Benjamin Sterling [EMAIL

[jQuery] Flot plugin on Ajaxian

2007-12-05 Thread Rey Bango
Be sure to show your support and please don't let any trolls get to you: http://ajaxian.com/archives/plotting-in-jquery Rey

[jQuery] Re: $.ajax() over https

2007-12-05 Thread James Good
I think that this is not allowed. An ajax call from http page to a https page will cause a cross domain javascript security error. Not allowed. Would people agree this is correct? Is there another way? Jamie whitingjon wrote: Should I be able to use this function when the page is served up

[jQuery] dynamic array of text inputs.. possible with current plugin?

2007-12-05 Thread jamie
Hi, Consider a group of text input's, all related that will post as an array on submit. In the beginning, there is only one input in the group. If, onChange/onBlur, an input: a) is the last in the group, and b) has an empty value Then we assume there is more data to be entered and an

[jQuery] Re: Ann: Flot 0.1 released

2007-12-05 Thread Guy Fraser
Ole Laursen wrote: The thing is that a good tick generator for the Gregorian calendar would go about generating ticks differently than a good tick generator for ordinary scalar values. For instance, if the plot displays half a year of time, there should be ticks for when the months start

[jQuery] Re: adding a class to the label of a checked radio button

2007-12-05 Thread sperks
The site's live, (http://deliciouslivingmag.com/) and I got the search tabs working beautifully, but forgot to check Safari after the final change. G. Does anyone know if / how I can get Safari to understand that I'm clicking on the radio even when I'm clicking on the label (assuming that's

[jQuery] Re: How to check is element exist

2007-12-05 Thread schellmax
You can use the length property of the jQuery collection returned by your selector: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_test_whether_an_element_exists.3F On 8 Okt., 13:19, zidoo [EMAIL PROTECTED] wrote: if home some like this: $('div

[jQuery] Re: new jARIA plugin

2007-12-05 Thread Chris
On Dec 5, 6:50 am, Richard D. Worth [EMAIL PROTECTED] wrote: On Dec 5, 2007 12:29 AM, John Resig [EMAIL PROTECTED] wrote: move the discussion over to the jquery-dev (or jquery-ui) list. --John My vote would be jquery-ui list. - Richard Agreed.

[jQuery] Re: parsing ajax html responses

2007-12-05 Thread Josh Nathanson
Oh yeah, my bad, you need the content attribute, not the text. Glad it worked for you! -- Josh - Original Message - From: driven [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Wednesday, December 05, 2007 12:20 PM Subject: [jQuery] Re: parsing ajax html

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
Kevin, Do you have a test page up? That looks like it should work, but I need to see the structure in action. On 12/5/07, Kevin Scholl [EMAIL PROTECTED] wrote: Greetings, all. I feel really stupid here, but I'm at wit's end. I want to remove the bottom border from the last LI in all DIVs

[jQuery] Re: iFrames and jQuery

2007-12-05 Thread [EMAIL PROTECTED]
I've always just used DOM references to access iframes. I'm not aware of a way to do it in jquery. It always feels clunky to me. It would be nice to see a clean way built into jquery. On Dec 4, 8:40 pm, Ryura [EMAIL PROTECTED] wrote: I need to grab content from an iFrame, preferably using

[jQuery] Re: calling ajax with url parameter

2007-12-05 Thread dimmex
@feijo if we put javascript in href, it wont work when javascript is disabled. @Yılmaz thanks, i was doing something like that, wondering if there's a simple function that convert 'a=1b=2' to {'a': 1, 'b': 2}. Not a big deal but if I know that jquery had already had that function I won't need to

[jQuery] Re: Ann: Flot 0.1 released

2007-12-05 Thread Ole Laursen
On Dec 4, 11:03 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Karl Swedberg schrieb: Interesting. I don't see any canvas in IE6, thats why I posted. It doesn't throw any error either. That's really strange. They're working in my IE6. -- Ole Laursen http://people.iola.dk/olau/

[jQuery] Re: jQuery Magnifier for multiple divs

2007-12-05 Thread David Decraene
I need to admit I am not familiar with the magnifier code, but: Why do you have two references to document.ready? I would try combining them, might already solve some problems: jQuery(document).ready(function(){ $(#example).magnifier({ overlap:true,

[jQuery] Re: Looking for a faster way

2007-12-05 Thread Suni
There is a lot to optimize there. I'm sure most of the overhead comes from the each-loop. There is propably other stuff to optimize too, but this looks like where you could benefit the most. Lets quickly go through some problems: $(.crewSchedule tr[id=' + cur.employee_id + '] . + lbl) Your

[jQuery] Re: parsing ajax html responses

2007-12-05 Thread driven
Thanks for the help! This worked perfectly. I was just about to post the corrections that you already made. I just needed to change the return line to: return $(node).attr('content'); Thanks again! -Dan

[jQuery] Re: Ann: Flot 0.1 released

2007-12-05 Thread Ken Gregg
I found that right after I posted. My first project was plotting daily hits. I just made the x axis the day of the month and made sure my values arrays have an entry for every day and formatted the date using tickFormatter. Worked great, but what you suggest would be even easier. Ken On Dec 5,

[jQuery] Re: OT jQuery plugins user account password

2007-12-05 Thread Karl Swedberg
Hi Ariel, Just thought I'd let you know that Mike Hostetler and John Resig are aware of the problem and working on it. Apparently there have been a number of server issues today. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2007, at 2:11

[jQuery] jQuery Flash plugin - ignoring version number in IE6?

2007-12-05 Thread Dekortage
Hi. I am working on a site now that uses jQuery to insert a Flash movie within another tag (for sIFR effects). This works brilliantly in most browsers. However, if I use IE6, the settings for a minimum version of Flash is ignored. If the browser has Flash 6, jQuery still attempts to insert

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Kevin Scholl
@Karl Yes, the borders show in the right column using that method, though the explanation regarding the set of matched divs is enlightening. Appreciate your input there! @Benjamin I'm trying to keep the HTML as clean as possible, because these templates are going to be handed over to an ASP

[jQuery] Re: DOM traversing with 'not'

2007-12-05 Thread Benjamin Sterling
Keven, is there a reason you are not just creating a class the strips out the border. I usually do something like: .lastchild{ border:none; } and just add that to the last list item. On 12/5/07, Kevin Scholl [EMAIL PROTECTED] wrote: Thanks for your efforts, Benjamin. Obviously, it's got me

[jQuery] Re: Fading a background image

2007-12-05 Thread jonhobbs
Thanks pete, that's exactly what I've done. On Dec 5, 1:34 pm, pete higgins [EMAIL PROTECTED] wrote: One way would be to put two block elements in a third that has position:relative and the children each have position:absolute; top:0; left:0; and the one with text has a higher zIndex. Fade

[jQuery] Re: parsing ajax html responses

2007-12-05 Thread Josh Nathanson
Small corrections to my last post: var d = $(data); // jQuery-ize response, will be an array of nodes AND STRINGS, this is why you can't use find, I think for(i=0;id.length;i++) { // I suppose you could use each here var node = d[i]; if (node.name node.name == 'description') // bingo!

[jQuery] Re: Sortable on dynamic content - how to?

2007-12-05 Thread Jay W
You can also use $(ul.items).sortableRefresh() to make all items sortable after dynamically creating an item from javascript. On Nov 12, 5:34 pm, asle [EMAIL PROTECTED] wrote: Thanks, your first suggestion works and is shorter than writing the sortable code again. But this does not work:

[jQuery] Re: hover and className

2007-12-05 Thread DaveG
David Serduke wrote: Sorry to butt in but I was wondering if this was a weird jQuery bug so looked in to it. What I found was it appears the way you are changing the className is the problem. I came to the same conclusion; it looks like replacing the class name causes the hover to re-fire.

[jQuery] Re: adding a class to the label of a checked radio button

2007-12-05 Thread sperks
scratch the append(input line. That's me starting to find solutions: $(document).ready(function() { $('#searchLabels').addClass('active'); // allows me to style the radio buttons differently when JS is enabled $('#searchLabels :radio[id]').click( function() { var

[jQuery] Re: Error in Ajax Queue plugin

2007-12-05 Thread [EMAIL PROTECTED]
Thanks - I'll give it a go... On Dec 5, 5:41 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schrieb: Hi I'm trying to use the Ajax Queue plugin with the following code: But everytime it runs I get an error saying 'jQuery.dequeue is not a function' and doesn't implement

[jQuery] Re: which query is most efficient?

2007-12-05 Thread sawmac
On Dec 4, 8:23 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Dave, I know I am getting in here late, but I did a post on fast selectors that may point you in the right direction:http://benjaminsterling.com/jquery-what-are-the-fastest-selector/ Benjamin, very cool. Thanks for the link to

[jQuery] So... Dating site using jQuery....

2007-12-05 Thread [EMAIL PROTECTED]
I posted a while back (a couple months or so ago) about the free dating site (LoveDango) I was working on. Well, looks like I have all the most basic features all ready to go. Basically, you can search, send/receive messages, send winks, edit your profile, upload/view photos+captions and a few

[jQuery] Re: Problem with radio/checkboxes on ajax post

2007-12-05 Thread e2e
Thank you... On Dec 5, 1:39 am, Wizzud [EMAIL PROTECTED] wrote: You could try... $(':input',this).each(function(){ var me = $(this); if(!me.is(':checkbox, :radio') || this.checked){ inputs.push(this.name + '=' + unescape(me.val())); } }); On Dec 4, 8:44 am, e2e

[jQuery] autocomplete bug when focus called

2007-12-05 Thread Shelane
if I have a focus called in the code just before applying the autocomplete, then when the autocomplete runs, the data never shows. firebug shows that the call is being made, it just never displays. i take the focus call out and it works fine. this is with the latest from SVN that i just

[jQuery] Re: parsing ajax html responses

2007-12-05 Thread Josh Nathanson
Yo driven, I just wrestled with this the other day. What I ended up doing looks like this: var d = $(data); // jQuery-ize response, will be an array of nodes for(i=0;id.length;i++) { var node = d[i]; if (node.name node.name == 'description') // bingo! return node.text(); } --

[jQuery] Re: which query is most efficient?

2007-12-05 Thread Benjamin Sterling
Thanks Amit, I appreciate that. On 12/5/07, Amit Uchat [EMAIL PROTECTED] wrote: Benjamin, very good way to explain complex information. I would look forward to hear more on your website. On Dec 4, 2007 8:23 PM, Benjamin Sterling [EMAIL PROTECTED] wrote: Dave, I know I am getting in

[jQuery] setInterval not working as i expect it to

2007-12-05 Thread skattabrain
i'm not sure why this doesn't work ... i'm probably missing some really important 'big picture' understanding of JS and jQuery, but here goes ... This code will trigger my alert every 3 seconds if placed outside $ (document).ready ... but if it's inside it, it fails. OK, this works ...

[jQuery] Customer Error Handler Not Working Correctly

2007-12-05 Thread [EMAIL PROTECTED]
HI I have the following code to try to custom handle any output errors: $(window).error(function(msg, url, line){ alert('Error: ' + msg + '\n' + 'File: ' + url + '\n' + 'Line: ' + line); }); However, any errors produced from vanilla javascript seem to produced lots of undefined

[jQuery] Re: OT jQuery plugins user account password

2007-12-05 Thread Flesler
Hi Karl, thanks for letting me know.. looking forward for the fix. Ariel Flesler On 5 dic, 18:08, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Ariel, Just thought I'd let you know that Mike Hostetler and John Resig are aware of the problem and working on it. Apparently there have been a

[jQuery] Re: setInterval not working as i expect it to

2007-12-05 Thread Michael Geary
In both examples, you are calling setInterval with a text string containing code. This code is executed in the global context, i.e. outside any function. In your first example, alertMe() is a global function, so the call succeeds. In the second example, alertMe() is nested inside another

[jQuery] Re: Superfish: a way to right-align arrow char?

2007-12-05 Thread jrd
It worked. Thanks! Jennifer On Nov 30, 2:51 pm, Joel Birch [EMAIL PROTECTED] wrote: Hi Jennifer, Maybe try wrapping a span tag (with a class... say arrow) around the arrow character and do: .arrow { position: absolute; right: .5em; top: .5em; } ...or something like that.

[jQuery] SIMILE : Exhibit in Jquery?? (a wish)

2007-12-05 Thread Enrique Meléndez Estrada
Hi, i love MIT Simile projects (http://simile.mit.edu/exhibit and http://simile.mit.edu/timeline) because they're great UI for displaying, searching and filtering data in the client-side (no server-side required). The only problem I see is their speed: it is slow. I'm sure that if they try

[jQuery] auto-populating multiple boxes... problem with pg_fetch_array?

2007-12-05 Thread pere roca
hi everybody, there is a nice tool to populate multiple select boxes out there : http://remysharp.com/2007/09/18/auto-populate-multiple-select-boxes/ it must be a very stupid question but I’m trying to apply this tool to get data from postgreSQL, but I always get an empty [] value. It means

[jQuery] JQModal errors out when closing a dialog

2007-12-05 Thread moazzamk
Hi, Can anyone please tell me how to solve this. I was using the latest version of JQModal (I think it was 10) and I upgraded to 11. After that, the page was being pushed down when I did jqmOpen(). So, I reverted back to version 9 which was listed as the most recent old version. The problem

[jQuery] Re: new jARIA plugin

2007-12-05 Thread [EMAIL PROTECTED]
It's a pity that ARIA didn't use unique class names - having a class separator of axs seems to be a very kludgy way of doing things, especially in an age where classes are regularly changed at runtime using JS. Does this mean that jQuery will need to be modified so that anything which manipulates

[jQuery] Re: autocomplete bug when focus called

2007-12-05 Thread Shelane Enos
Sorry it took a while. I had a very busy day. This example shows the focus bug: http://education.llnl.gov/jquery/adv_auto2.lasso This example shows the other bug: http://education.llnl.gov/jquery/adv_auto3.lasso This bug is the bug where the first set of results will override the second. I

[jQuery] Re: So... Dating site using jQuery....

2007-12-05 Thread [EMAIL PROTECTED]
You know, I have no idea how those features snuck by! Thanks a lot Andy for the heads-up and such. I'll see if I can get that going. For users it searches based on info in your account settings, I should definatley store the search for non-logged in users. On Dec 5, 7:10 am, Andy Matthews [EMAIL

[jQuery] newbie - need help finding element

2007-12-05 Thread HXn
Hi, I'm brand new to jQuery. Here's what I'm trying to achieve: I have an unordered list that contains thumbnails for a photo gallery, generated dynamically with PHP: div id=gallery ul li id=left/li li class=selected style=background:

[jQuery] Safari isn't executing embedded ajaxSuccess event on first load

2007-12-05 Thread [EMAIL PROTECTED]
I have a dynamic div I populate with data from an AJAX call. The data is just HTML and inside this is some script. Part of the script is an ajaxSuccess handler than is fired under FF and IE but in Safari it only fires after the 2nd or successive calls. It used jqModal and here is some code : The

[jQuery] Using jQuery instead of onLoad

2007-12-05 Thread jrd
Hello, This is kind of a general question, but I'm hoping it's not too simple to answer. To speed up my entire page loading time, I'd like to replace a standard onLoad call in an existing Javascript in the page (the script loads a Google Ajax news feed display) with the same jQuery call that is

[jQuery] Re: Using jQuery instead of onLoad

2007-12-05 Thread Karl Rudd
Documentation can be found on the jQuery site via the Documentation link up the top: http://docs.jquery.com/Main_Page As to the on page ready event you're refering too: $(document).ready(function(){ // Your code here }); (From http://docs.jquery.com/How_jQuery_Works ) You may not

[jQuery] Re: hover and className

2007-12-05 Thread DaveG
Glen Lipka wrote: Let's start at the beginning. Let's assume (work with me here) that autogeneration of sprites and css is the path to ruin. Actually, I don't agree with this statement. Auto-generation get you the sprite and positioning css, which is nice, and is useful. One of the primary