[jQuery] Re: OT optimization > phpSpeedy

2008-02-01 Thread Giovanni Battista Lenoci
Alexandre Plennevaux ha scritto: hi friends, we've been discussing now and then about optimization, reducing the number of http requests, compression; A php script just came out that takes that in charge for you, it's impressive: http://aciddrop.com/php-speedy/ If you guys find it work for y

[jQuery] Re: Brand-new user: Viwepoint

2008-02-01 Thread Alexandre Plennevaux
Hi Cherry, as you noted, jquery is an opensource project so user contributions are desired, and the doc is a wiki. Feel free to register and contribute, modify and add what you think a newbie should need. And if you are not sure, just do it, send the link to the list and have a subject like "doc

[jQuery] OT optimization > phpSpeedy

2008-02-01 Thread Alexandre Plennevaux
hi friends, we've been discussing now and then about optimization, reducing the number of http requests, compression; A php script just came out that takes that in charge for you, it's impressive: http://aciddrop.com/php-speedy/ If you guys find it work for you, maybe i can add a pointer to it

[jQuery] Re: Superfish feature request

2008-02-01 Thread Joel Birch
Hi Karl, You've come through with the goods again, I really appreciate you taking the time to help with this - especially after attempting to do it myself! I found that no amount of coffee seemed to help, which is strange. Regarding the z-index issue, I found that the code in onInit has no usefu

[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread [EMAIL PROTECTED]
I think I read in the Wiki that you can just append the plugins? Haven't tried it yet, though. Vlad Mazek wrote: > I use seven different jQuery plugins in my webapp and during page refreshes > the loading bar jumps around quite a bit making people feel like the site is > slow because they see the

[jQuery] Brand-new user: Viwepoint

2008-02-01 Thread [EMAIL PROTECTED]
I couldn't find anywhere to submit feedback on the Wiki, so I figured this must be the best place. I've been using jQuery for all of 36 hours now ... and I have some comments/suggestions: First of all, I'd like let this group know how valuable you are! Whilst trying to learn about jQuery, I would

[jQuery] Re: Release: Tooltip plugin 1.2

2008-02-01 Thread blaf
Thanks! On Feb 1, 4:56 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > blaf schrieb:> Download link doesn't work? > > >http://jquery.bassistance.de/tooltip/jquery.tooltip.zip > > Fixed! > > Jörn

[jQuery] Re: Validate plugin - return value of calling settings.submitHandler

2008-02-01 Thread Blair McBride
On Feb 2, 6:05 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Though that doesn't require a change in the validation plugin and you > don't have to return anything at all if that isn't wanted anyway. > > Let me know if that works for you. Ah, yes - that works better I guess. Sorry, I mistake

[jQuery] Re: Merging min/max to range reduces usability

2008-02-01 Thread Blair McBride
On Feb 2, 2:55 am, "Scott González" <[EMAIL PROTECTED]> wrote: > This is being addressed in v1.2.1 (see http://dev.jquery.com/ticket/2230). Great - thanks! Will be sure to check there first next time. Blair

[jQuery] Re: jquery xml help

2008-02-01 Thread [EMAIL PROTECTED]
Hi, I'm fairly new to all of this myself, but my guess would be that there are two things wrong with the script. 1. you need a syncronous call to fill the xml at the start (now it's asynchronous and the xml might not be read when you call findProjectAnchor 2. the line: var datascapeAnchorsXml = $

[jQuery] Re: can't access any plugins from within function

2008-02-01 Thread Charles K. Clarkson
ajpiano wrote: : i'm in the midst of developing an application with many jquery : plugins, and i've just run into a bizarre problem. my app uses a lot : of ajax to populate different divs that i'm sorting using sortable. : anyhow, the issue is as follows. Can you provide an actual example of

[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread Ariel Flesler
You should be able to join jQuery and it's friends into one file and pack, the problem is that, if one fails the packing, it will break everything. Not all plugins are prepared to be packed. You can also concatenate into one file, but packing (or not) each one before joining. Also, some plugins br

[jQuery] Re: contents().height() in FF

2008-02-01 Thread Ariel Flesler
Also... :) I checked the example, when using scrollTo.. if you don't specify duration, it scroll instantly (if that's what you want, then that's ok) Also, instead of {top:'+=10px'}, it is meant to be used as: $().scrollTo( '+=10px', duration, {axis:'y'}) Now.. axis:'y' is the default, so you don

[jQuery] Re: Superfish feature request

2008-02-01 Thread Karl Swedberg
Hey Joel, I think I have this sorted out. Sorry I couldn't get back to it until this evening. Work was pretty busy today. Here is the onBeforeShow function: onBeforeShow = function(){ this.each(function(){

[jQuery] Re: contents().height() in FF

2008-02-01 Thread Ariel Flesler
@Sebioff I do agree with you that what you did is expected to work. I think the problem relies on the fact that jQuery (and Dimensions) always check like this: if( elem == window || elem == document ) ..; And the problem is sometimes there're more than one window or document (w

[jQuery] Re: Problem on using Object.prototype ...

2008-02-01 Thread Dave Methvin
> Object.prototype.keys = function(filter_fn) { Do not modify JavaScript's Object prototype if you want to work with code other than your own. This has been pretty well discussed and settled. http://erik.eae.net/archives/2005/06/06/22.13.54/ http://blog.metawrap.com/blog/June6thIsJavaScriptArra

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-01 Thread Ariel Flesler
Hi lihao >Is there any method under Firefox that the caret and the selected text >can automatically jump to the center of the textarea so that people >dont need to scroll down/up to find it?? Not that I know of, but you could force the scroll with jQuery, if you want, this plugin can save you so

[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread polyrhythmic
I like serving up all my CSS and JS at once in gZipped HTML with PHP includes via Minify (http://code.google.com/p/minify/). This is very quick, due to a single HTTP request, but does not cache the JS or CSS separately, if you need to do that across pages. However, you can have Minify crush just

[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Eridius
I have this code: $('a.fare_finder_link').bind('click', function() { $('#fare_finder_form').submit(); if($('#fare_finder_form input[name=validated]').val() === 'true') { alert('test'); var url_query = $('#fare_finder_form').form_to_string(

[jQuery] Re: jQuert Validate 1.2 issues

2008-02-01 Thread Eridius
um those is a little bit of an issue you you need you code to me valid. For example required in not a valid attribute for an input so adding these webform attribute will make my code invalid. Jörn Zaefferer wrote: > > > Eridius schrieb: >> Another thing is there a reason why the class name a

[jQuery] Re: stopping a link to redirecting

2008-02-01 Thread Eridius
wow, that was simple. I never really did much javascript adn when I started I went straight to a framework and did not do a lot of plain javascript, thanks. Josh Nathanson-3 wrote: > > > Did you try this? > > $('a.some_link').click(function(event) > //custom code > return false; >

[jQuery] Re: [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Jörn Zaefferer
Rus Miller schrieb: http://monovisiondesign.com/client/jquery/validate-url/form.php On Feb 1, 4:49 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Hi Rus, could you post a demo/testpage with that code? That makes it easier to see the modifications in context. Thanks Jörn Thanks, I'll

[jQuery] Re: [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Rus Miller
http://monovisiondesign.com/client/jquery/validate-url/form.php On Feb 1, 4:49 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi Rus, > > could you post a demo/testpage with that code? That makes it easier to > see the modifications in context. > > Thanks > Jörn

[jQuery] Re: [validate] Validation Plugin - how to remove a control form validation

2008-02-01 Thread Jörn Zaefferer
Dave Stewart schrieb: Hi Jorn, Yup - here's a test page: http://www.janepatrick.co.uk/admin/test/login.php Submitting the form manually (as you said) just bypasses any validation, which is NOT what I want, as I still need the email address validated before it's sent to the back end to

[jQuery] Re: hoverIntent question: how to flush queue?

2008-02-01 Thread Brian Cherne
Well... I can't say I read every line of code... I only looked at two js files that loaded after the others and looked (by name) like they were custom code. Then I used Firebug to search through them for "hoverIntent" which is thankfully a very unique string. :) The difficultly with your project's

[jQuery] Packing jQuery and all includes

2008-02-01 Thread Vlad Mazek
I use seven different jQuery plugins in my webapp and during page refreshes the loading bar jumps around quite a bit making people feel like the site is slow because they see the browser loading bits and pieces at a time.. Is there a best practice for throwing jquery and all associated plugins tha

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-02-01 Thread Jörn Zaefferer
Dave Stewart schrieb: Jorn, Here is a live example. http://www.janepatrick.co.uk/admin/test/associative.php Hopefully it's in your interest to examine this issue further! Thanks, I'll definitely take a look, though it won't make it into 1.2.1. Jörn

[jQuery] Re: Release: Tooltip plugin 1.2

2008-02-01 Thread Jörn Zaefferer
blaf schrieb: Download link doesn't work? http://jquery.bassistance.de/tooltip/jquery.tooltip.zip Fixed! Jörn

[jQuery] Re: Validation Plugin - Associate array naming with a single error label

2008-02-01 Thread Dave Stewart
Jorn, Here is a live example. http://www.janepatrick.co.uk/admin/test/associative.php Hopefully it's in your interest to examine this issue further! Many thanks, dave

[jQuery] Re: stopping a link to redirecting

2008-02-01 Thread lgr888999
I never heard of event.preventDefault() but just return false; $('a.some_link').click(function(event) { . . return false; }); On Feb 1, 10:17 pm, Eridius <[EMAIL PROTECTED]> wrote: > I thought this would stop the link from redirecting: > > $('a.some_link').click(function(event) > { >     event.

[jQuery] animate calculates wrong duration with linebreaks?

2008-02-01 Thread lgr888999
http://paste.css-standards.org/31399/view Checkout the slide out of Ice Hockey or Tennis. Seems like the "duration" is calculated wrong when there are linebreaks? The funny part about it is that the slide up works fine. To me, this occur on both firefox 2 and safari 3. Is it a jquery bug? is it

[jQuery] Re: Release: Tooltip plugin 1.2

2008-02-01 Thread blaf
Download link doesn't work? http://jquery.bassistance.de/tooltip/jquery.tooltip.zip Jörn Zaefferer wrote: > Hi folks! > > I've just released an update to the href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/";>tooltip > plugin. Its mostly a bugfix release with a few small improv

[jQuery] Re: Is using jQuery and jQuery (2, 3, 4, n versions of jQuery on the same context) possible?

2008-02-01 Thread [EMAIL PROTECTED]
hi cloudream, thanks for your answer but you referenced the same mechanism I was pointing to with my link already. this won't solve things like implementing let's say jquery version 1.2 and jquery 0.8 within the same page. and that's what I'm asking for. On Feb 1, 1:00 pm, Cloudream <[EMAIL PRO

[jQuery] Re: plugins leaving jquery namespace in bind function

2008-02-01 Thread ajpiano
i came up with this very ham-fisted fix that is at least going to allow me to say that i got more finished today than staring emptily at the screen: function makeMenubar(w,wid,c) { var menu = $("##"+w+"Header"); menu.append(""); menu.append(

[jQuery] Re: Post to Preloaded AJAX Page?

2008-02-01 Thread Pete
That makes sense but I'm still not sure where/how to post it. The main page is 'default.asp'. 'somepage.asp' is loaded into a div (#contactSection). So can I post to default.asp#contactSection or "#contactSection somepage.asp" or do I need additional parameters? On Feb 1, 12:45 pm, andrea varn

[jQuery] Re: [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Jörn Zaefferer
Hi Rus, could you post a demo/testpage with that code? That makes it easier to see the modifications in context. Thanks Jörn

[jQuery] Re: stopping a link to redirecting

2008-02-01 Thread Josh Nathanson
Did you try this? $('a.some_link').click(function(event) //custom code return false; }); - Original Message - From: "Eridius" <[EMAIL PROTECTED]> To: Sent: Friday, February 01, 2008 1:17 PM Subject: [jQuery] stopping a link to redirecting I thought this would stop the lin

[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Klaus Hartl
Yes, it is also possible with Thickbox Reloaded and pretty easy and straight forward: var $thickbox = $('a.thickbox').thickbox(); $thickbox.trigger('click'); --Klaus On Feb 1, 9:45 pm, Eridius <[EMAIL PROTECTED]> wrote: > I am wanting to trigger a thickbox after I validate a form.  Basically

[jQuery] stopping a link to redirecting

2008-02-01 Thread Eridius
I thought this would stop the link from redirecting: $('a.some_link').click(function(event) { event.preventDefault(); //custom code }); however this does not work. is thier a way is jQuery (or plain javascript) to not have the link redirect on an onclick event? -- View this message in

[jQuery] Re: thickbox reloaded question

2008-02-01 Thread Alexandre Plennevaux
hi eridius, if you look at the thickbox code, this is what it takes to launch a thickbox tb_show("title","url","gallery"): $(domChunk).click(function(){ var t = this.title || this.name || null; var a = this.href || this.alt; var g = this.rel || false; tb_show(t,a,g); this.blur(); r

[jQuery] Re: hoverIntent question: how to flush queue?

2008-02-01 Thread Alexandre Plennevaux
Brian, thank you very very much for taking the time to look through that 1000-liner. i didn't expect such effort otherwise i would have told you right away where to find the code instead of making you search through it. After more than a year doing jquery, I'm always amazed by the commitment of its

[jQuery] Re: Validate 1.2 Questions

2008-02-01 Thread Jörn Zaefferer
jason schrieb: Thanks guys, I'm starting to get a handle on it now. This is an incredible piece of work, Jörn! You're welcome to post what you come up with, I may add that as examples for custom methods to the documentation, and maybe as the first FAQ entry. Jörn

[jQuery] Re: Release: Tooltip plugin 1.2

2008-02-01 Thread Jörn Zaefferer
Karl Swedberg schrieb: excellent work, Jörn! Your plugins are always top-notch! Thanks Karl! I thought about implementing the position-near-element you have in clueTip, but so far someone who wants that still has to use cluetip. Maybe some other day, I still like it a lot. Jörn

[jQuery] Re: [validate] validating dynamically created fields

2008-02-01 Thread Jörn Zaefferer
Steffan A. Cline schrieb: on 2/1/08 1:10 PM, Jörn Zaefferer at [EMAIL PROTECTED] wrote: Steffan A. Cline schrieb: I have a form in multiple sections. The validation declarations are in the head as the demos show. Problem is that I have a section where there are multiple groups of dyna

[jQuery] [Validation] How to add a pending (spinner) label to a remote validation

2008-02-01 Thread Rus Miller
It's not pretty but it seems to work. I'd ideally like to tap into the error/success label display but I couldn't figure out how, so right now this only works for remote validation rules. It might also be interesting to have the option to make these labels instances of the Tooltip plugin. Then

[jQuery] thickbox reloaded question

2008-02-01 Thread Eridius
I am wanting to trigger a thickbox after I validate a form. Basically I can trigger a function when the form is fully validated and I want to trigger a thickbox event to open the thickbox. This this possible with thickbox reload? -- View this message in context: http://www.nabble.com/thickbox

[jQuery] Re: Validate 1.2 Questions

2008-02-01 Thread jason
Thanks guys, I'm starting to get a handle on it now. This is an incredible piece of work, Jörn! - jason On Jan 31, 7:28 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Priest, James (NIH/NIEHS) [C] schrieb: > > > [...] > >> (2) How do you indicate dependencies within the markup, as opposed to

[jQuery] Re: Release: Tooltip plugin 1.2

2008-02-01 Thread Karl Swedberg
excellent work, Jörn! Your plugins are always top-notch! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 1, 2008, at 2:27 PM, Jörn Zaefferer wrote: Hi folks! I've just released an update to the http://bassistance.de/jquery-plugins/jquery-plugin-t

[jQuery] Re: Post to Preloaded AJAX Page?

2008-02-01 Thread andrea varnier
On Feb 1, 8:28 pm, Pete <[EMAIL PROTECTED]> wrote: > $('a.module').click( function() { >         $.post('somepage.asp', { >                 module: 'AP' >         }, function() { >         document.write(module)); >         }); >         return false; > > }); Hi :) you need to modify the $.post r

[jQuery] Re: plugins leaving jquery namespace in bind function

2008-02-01 Thread ajpiano
pardon my amateurishness, but i can't quite grasp the consequences of that fact for solving my issue. the makeMenubar function is indeed being called inside of $(el).each(), but i don't really know why the plugins would drop out of jQuery as a result of this scoping problem. i must be so brash as

[jQuery] Re: [validate] validating dynamically created fields

2008-02-01 Thread Steffan A. Cline
on 2/1/08 1:10 PM, Jörn Zaefferer at [EMAIL PROTECTED] wrote: > > Steffan A. Cline schrieb: >> I have a form in multiple sections. The validation declarations are in the >> head as the demos show. Problem is that I have a section where there are >> multiple groups of dynamically created file inp

[jQuery] Re: Validate errorPlacement not working in IE 6 or 7

2008-02-01 Thread grosseMann
So, it seems that appendTo instead of replaceAll works. On Feb 1, 12:08 pm, grosseMann <[EMAIL PROTECTED]> wrote: > The code below produces my error message in the third column of my > form table using Firefox. However, it does not work in Internet > Explorer 6 or 7. The third column has a red *

[jQuery] Re: jQuert Validate 1.2 issues

2008-02-01 Thread Jörn Zaefferer
Eridius schrieb: Another thing is there a reason why the class name are very generic? This is just an issue because a lot of those names are already used for other stuff and is interfering with the current css. is there a reason you did not use something like validate_required, validate_email,

[jQuery] can't access any plugins from within function

2008-02-01 Thread ajpiano
i'm in the midst of developing an application with many jquery plugins, and i've just run into a bizarre problem. my app uses a lot of ajax to populate different divs that i'm sorting using sortable. anyhow, the issue is as follows. on document ready, i go through each div on the page and ajax i

[jQuery] Re: jQuert Validate 1.2 issues

2008-02-01 Thread Jörn Zaefferer
Eridius schrieb: I have a slight issue and maybe it is because I don't know enough about this plugin but is seems like the validation is based off of the name of the form field so if I wanted to have a email validation on 2 imputs I would have to put 2 input both have the name "email" but that w

[jQuery] Re: [validate] validating dynamically created fields

2008-02-01 Thread Jörn Zaefferer
Steffan A. Cline schrieb: I have a form in multiple sections. The validation declarations are in the head as the demos show. Problem is that I have a section where there are multiple groups of dynamically created file inputs. The IDs vary and the types of files for each group will vary. An Id ma

[jQuery] Re: jQuert Validate 1.2 issues

2008-02-01 Thread Eridius
Another thing is there a reason why the class name are very generic? This is just an issue because a lot of those names are already used for other stuff and is interfering with the current css. is there a reason you did not use something like validate_required, validate_email, etc...? it not a

[jQuery] Re: plugins leaving jquery namespace in bind function

2008-02-01 Thread Sean Catchpole
var mb3 = $(this); On that line, the this is referring to the scope of the function which is not inside of an $.each(..) or $.fn.foo(..) ~Sean

[jQuery] jQuert Validate 1.2 issues

2008-02-01 Thread Eridius
I have a slight issue and maybe it is because I don't know enough about this plugin but is seems like the validation is based off of the name of the form field so if I wanted to have a email validation on 2 imputs I would have to put 2 input both have the name "email" but that would then only sen

[jQuery] Validate errorPlacement not working in IE 6 or 7

2008-02-01 Thread grosseMann
The code below produces my error message in the third column of my form table using Firefox. However, it does not work in Internet Explorer 6 or 7. The third column has a red * for required which is removed by IE, but not replaced with the messages. Any ideas? Sample code and part of the form is b

[jQuery] Re: File inputs

2008-02-01 Thread Steffan A. Cline
on 2/1/08 2:13 AM, Mika Tuupola at [EMAIL PROTECTED] wrote: > > > On Jan 31, 2008, at 5:59 PM, Steffan A. Cline wrote: > >> Works in FF-Mac, Safari-Mac, IE6&7-PC >> >> I wish this could be incorporated into the jQuery plugin. I am not >> that well >> versed yet enough to do this. While basic i

[jQuery] Post to Preloaded AJAX Page?

2008-02-01 Thread Pete
I would like to post data to a page that is loaded into the DOM and refresh it, but I'm not sure how to do it. Lets say I'm starting on on default.asp. So when I click on a.openContact it properly loads "somepage.asp" into #contactSection --- $('a.openContact').click( func

[jQuery] plugins leaving jquery namespace in bind function

2008-02-01 Thread ajpiano
i posted a bit earlier but i've synthesized the problem a bit. in the code below, one would expect the variables mb2 and mb3 to contain the same things as each other. however, mb3, which wraps the same element with jQuery inside of the bound function, ends up just being an unextended jQuery obje

[jQuery] IE won't change the 'name' attribute :|

2008-02-01 Thread andrea varnier
Hi, I'm fighting with this piece of code: var $input_new = $parent.children(".materiale:last").children("input[name^='alias_']:last"); var lunghezza = $input_new.attr("name").length; var nuovo_nome = $input_new.attr("name").substr(0, lunghezza-1) + (quanti); $input_new.attr("name", nuovo_nome).at

[jQuery] [validate] validating dynamically created fields

2008-02-01 Thread Steffan A. Cline
I have a form in multiple sections. The validation declarations are in the head as the demos show. Problem is that I have a section where there are multiple groups of dynamically created file inputs. The IDs vary and the types of files for each group will vary. An Id may be like this id="cv_fi_1_2

[jQuery] jQuery tablesorterPager problem

2008-02-01 Thread Alejandro
Hello everybody! I have a little problem with jquery tablesorterPager plugin. In my table i have a checkbox for each row of data. I can check them while i navigate through the table. In the same page, i have a button that trigers: $("table.tablesorter").each(function(){

[jQuery] multiselect help?

2008-02-01 Thread Leanan
I'm hoping one of you guys can help me out. I've got a multiselect that I can't get to work with the multiselect plugin I obtained from http://lab.arc90.com/tools/jquery_multiselect/ Unfortunately, for whatever reason, I can't get to the main page so I can't look up the examples listed there. A

[jQuery] Re: hoverIntent question: how to flush queue?

2008-02-01 Thread Sebioff
Entertaining indeed :) Not the solution you requested, but what about some sort of global variable where you store whether there's still an open div (for example, set it to 1 after slideDown, to 0 after slideUp), and if there's an open div just don't call the slideDown another time? On 1 Feb., 19

[jQuery] Re: onClick prepend

2008-02-01 Thread Mark
Now I have a new problem. When the onclick event is added with the standard event model (addEventListener via jQuery) I can't seem to get access to it. I noticed the event jQuery added to the element is stored in a property called 'click' instead of the standard 'onclick'. So I tried something li

[jQuery] Re: jqGrid - Latin1

2008-02-01 Thread Marcio Carvalho
Hi Tony! We had find an alternative way to solve the problem, I already the help you have given us. Below follows the Class Jason with the solution: class JASON method encode($var) mb_convert_encoding($var, "HTML-ENTITIES") Congratulation for your job !!! 2008/2/1, Tony <[EMAIL PROTECTED]>

[jQuery] Re: Another IE Sliding bug, the weirdest (some elements disappear and others not on SlideDown)

2008-02-01 Thread Arkilus
Yeah I actually tried that, but does not seems to work. That is very weird, dev bar doesnt reports any css changes... On 31 jan, 03:09, "Kenneth Bice" <[EMAIL PROTECTED]> wrote: > Just a wild guess, try sticking content that disappears into its own div > inside the toggle div. > > i only took a q

[jQuery] IE, change event, and bubbling

2008-02-01 Thread ita
I'm using event bubbling to bind elements added dynamically. However, when I do something like this: $('body').change(function(event) { alert("change event!"); }); it will only fire the alert box on FF but not in IE. However, if I use a click event like this: $('body').click(function(event)

[jQuery] Re: hoverIntent question: how to flush queue?

2008-02-01 Thread Brian Cherne
I reviewed your code. Is the project expanding/collapsing functionality contained in 19_proto_M2.js, lines 197-263 ? I don't think you're configuring the hoverIntent plug-in properly. It would be best if you named your over/out functions and included in them in the configuration object. Then just

[jQuery] Release: Tooltip plugin 1.2

2008-02-01 Thread Jörn Zaefferer
Hi folks! I've just released an update to the href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/";>tooltip plugin. Its mostly a bugfix release with a few small improvements. I've also moved the documentation to the jQuery wiki and restructured the folder layout to fit other plu

[jQuery] Problem on using Object.prototype ...

2008-02-01 Thread Leandro Nascimento Camargo
I was just wondering...kidding, I'm actually facing the problem. I created the following method: Object.prototype.keys = function(filter_fn) { // gets all keys and filter them using filter_fn function (if defined) var e, r = []; filter_fn = filter_fn ? filter_fn : function

[jQuery] hoverIntent question: how to flush queue?

2008-02-01 Thread Alexandre Plennevaux
Hello! you can see here the non finished, raw interface we are setting up to showcase our projects. I use the awesome hoverIntent plugin to control the expansion of each project div, revealing more info about the project on mouseover. Problem: if you move your mouse on several divs, the behaviours

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Alexandre Plennevaux
my pleasure, it's fun to be able to improve the already cool doc! On Feb 1, 2008 6:15 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Alexandre Plennevaux schrieb: > > A good read _ There was a very useful comment about a less known feature > of jquery: namespacing events. > > > > I've updated

[jQuery] Re: Keeping variables across ajax pages

2008-02-01 Thread Feed
Yes, I actually made a mistake in the code I provided... instead of $("#variables #source").attr("id") it should be $ ("#variables #source").text() ... sorry for that I'll try your suggestion of declaring a "global dict". On Jan 31, 8:32 am, "Alexey Blinov" <[EMAIL PROTECTED]> wrote: > $("#

[jQuery] Re: [validate] does maxLength(20) supported in textarea?

2008-02-01 Thread Jacky
Oh, because work so I thought the syntax is correct. Thx, I will try that later. On Feb 2, 2008 12:58 AM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > Jacky schrieb: > > I tried to do this > > > > > class="maxLength(20)" title="Description max length is 20"> > > > > But it doesn't work. > >

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Jörn Zaefferer
Alexandre Plennevaux schrieb: A good read _ There was a very useful comment about a less known feature of jquery: namespacing events. I've updated the wiki with it: http://docs.jquery.com/Events_%28Guide%29#Namespacing_events I've fixed a few typos and rewrote a few sentences, thanks for

[jQuery] Re: Merging min/max to range reduces usability

2008-02-01 Thread Jörn Zaefferer
Scott González schrieb: This is being addressed in v1.2.1 (see http://dev.jquery.com/ticket/2230). Right. The default will be false for autoCreateRanges, as that is way more common. Jörn

[jQuery] Re: Validate plugin - return value of calling settings.submitHandler

2008-02-01 Thread Jörn Zaefferer
Blair McBride schrieb: With the Validate plugin, when settings.submitHandler is set and user tries to submit the form, the script intercepts this and will always block the submission (by returning false from the onsubmit event). This can easily be extended to allow the submitHandler function to

[jQuery] Re: [validate] Validation Plugin - how to remove a control form validation

2008-02-01 Thread Jörn Zaefferer
Dave Stewart schrieb: Hey Jorn, That's great! As you know I'm a big fan of the plugin :) You know I've written a whole load of cool helper stuff that works with validate. Perhaps I should email you, rather than using this agonisingly slow groups thing...? Let me know if that's cool. Did you se

[jQuery] Re: [validate] does maxLength(20) supported in textarea?

2008-02-01 Thread Jörn Zaefferer
Jacky schrieb: I tried to do this class="maxLength(20)" title="Description max length is 20"> But it doesn't work. So I guess it's not supported in textarea and I will need to add method? That syntax isn't valid. You've got two options to inline rules in this case: title="Description max l

[jQuery] Re: [Validation] One request and one issue...please help?

2008-02-01 Thread Jörn Zaefferer
Rus Miller schrieb: 2. Prevent validation on a field with validation rule, but which is optional and empty. I'll be fixing that for 1.2.1. If everything goes well, I'll release it later today. Jörn

[jQuery] Re: [validate] Require with more then one selector

2008-02-01 Thread Sudrien
On Jan 30, 6:39 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > In that I highly recommend just using a custom method. > > See http://docs.jquery.com/Plugins/Validation/Validator/addMethodand > the billingRequired method > here:http://jquery.bassistance.de/validate/demo/marketo/mktSignup.js >

[jQuery] Re: jqGrid - Latin1

2008-02-01 Thread Tony
jqGrid does not depend on the returned data. To be more specific - if you want to see Latin1 chars you should pay attention of: 1. what you set in the encoding in the html - i.e 2. the database encoding should be the same. (if you use database) Different DB have specific support. 3. If you use sc

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Jonathan Sharp
Minor typo: $('class').bind('click', function(){//whatever}); should be .class -js On 2/1/08, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > A good read _ There was a very useful comment about a less known feature > of jquery: namespacing events. > > I've updated the wiki with it: >

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Klaus Hartl
On Feb 1, 2:11 pm, Alex Brem <[EMAIL PROTECTED]> wrote: > Hi Klaus, > > this is good news, as he's the hell of a r-r-r-Ruby (and Rails) guy. Yeah, that's why I thought it's worth sharing... --Klaus

[jQuery] Re: Merging min/max to range reduces usability

2008-02-01 Thread Scott González
This is being addressed in v1.2.1 (see http://dev.jquery.com/ticket/2230). On Jan 31, 8:17 pm, Blair McBride <[EMAIL PROTECTED]> wrote: > From the Validation Plugin v1.2 changelog: > > * Added feature to merge min + max into and range and minlength + > maxlength into rangelength > > While a great

[jQuery] Re: Problem with siblings(?) in IE6

2008-02-01 Thread Danny
Yes--IE6 creates global variables for every element with an id or name, and won't let you overwrite them. I didn't realize that IE7 fixed that. You could also have solved your problem by putting 'var' before the variable names--declaring them as local to the click function. Probably a good idea an

[jQuery] inArray inst working in my script

2008-02-01 Thread Sebastián Würtz
jQuery.getCSS = function(url, media, rel, title) { estilos_href = new Array(); $.each( document.styleSheets, function(i, n){ estilos_href[i] = n.href; }); nuevo_estilo = jQuery(document.createElement('link')).attr({ href: url, media: media || 'screen',

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Alex Brem
Hi Klaus, this is good news, as he's the hell of a r-r-r-Ruby (and Rails) guy. Oh! And while reading his article I realized that he's indeed cheating on Rail's girlfriend prototype ( with the plotty help of jQuery.noConflict() ). That's something I truly understand from the bottom of my heart..

[jQuery] Re: dimensions height/width bug

2008-02-01 Thread Eridius
it seems to work with jquery 1.2.2 Eridius wrote: > > http://brandonaaron.net/docs/dimensions/#sample-2 > > if you click on the run for height() or width() you will see the screen > flicker(tested on FF) and I am getting that same error on my page and it > only t=seems to happen for those 2 f

[jQuery] Re: Err The Blog on jQuery

2008-02-01 Thread Alexandre Plennevaux
A good read _ There was a very useful comment about a less known feature of jquery: namespacing events. I've updated the wiki with it: http://docs.jquery.com/Events_%28Guide%29#Namespacing_events thanks Klaus ! -- Original Message -- To: jQuery (English) (jquery-en@googlegroup

[jQuery] Re: dimensions height/width bug

2008-02-01 Thread Eridius
Maybe this is a issue with jquery itself. http://docs.jquery.com/CSS/height that example for getting the height is not working. I am also using javascript 1.2.1. Eridius wrote: > > http://brandonaaron.net/docs/dimensions/#sample-2 > > if you click on the run for height() or width() you will

[jQuery] Re: malsup cycle plugin

2008-02-01 Thread Mike Alsup
> > > i'm using http://www.malsup.com/jquery/cycle/ plugin and trying to get > the fit: 1 option to work. > > I assume that this complete functional and work with jquery 1.2.2 > > thanks > Here's a demo: http://malsup.com/jquery/cycle/fit.html

[jQuery] Re: Is using jQuery and jQuery (2, 3, 4, n versions of jQuery on the same context) possible?

2008-02-01 Thread Cloudream
http://docs.jquery.com/Core/jQuery.noConflict#extreme On Feb 1, 5:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Using jQuery with other libraries is easy: > > http://docs.jquery.com/Using_jQuery_with_Other_Libraries > > What I'd like to do is do inject jQuery in pages where jQuery alrea

[jQuery] Err The Blog on jQuery

2008-02-01 Thread Klaus Hartl
Err The Blog has tried jQuery and seems to like it pretty much :-) http://errtheblog.com/posts/73-the-jskinny-on-jquery Gotta love that one (on using the form plugin): "respond_to and jQuery are so in love it's making me sick." --Klaus

[jQuery] Re: Interface Plugin for Jquery

2008-02-01 Thread [EMAIL PROTECTED]
Hi, I have just downlaoded the UI library and works just as good thanks Bye On 1 Feb., 02:52, "Charles K. Clarkson" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > : I start getting errors in my firefoy error console. > : Can someone please tell how can i solve this problem . > >

  1   2   >