[jQuery] Re: multiple ajax selects; dynamic selects don't support onchange?

2007-09-27 Thread Rob D
[EMAIL PROTECTED] wrote: Hi all, i'm creating a search interface based on select dropdown methods.. the user selects the option from the first menu and the second is created dynamically using ajax. their is a third option which will be populated based on their selection of the second dropdown.

[jQuery] Re: multiple ajax selects; dynamic selects don't support onchange?

2007-09-27 Thread Joel Birch
On 9/27/07, Rob D [EMAIL PROTECTED] wrote: Hi Israel Check out my recently announced plugin called LinkedSelects. http://www.msxhost.com/jquery/linked-selects/json/ It might be of assistance to you! Cheers Rob I second this suggestion. ;) Joel Birch.

[jQuery] Re: multiple ajax selects; dynamic selects don't support onchange?

2007-09-27 Thread Karl Rudd
You need to bind the change function in the success function, after #jumpMenu2 is actually loaded and inserted into the DOM: ... success: function(html) { $(#department_select).html(html); // #jumpMenu2 now exists so you can do things to it $(#jumpMenu2).change(function() {

[jQuery] Re: multiple ajax selects; dynamic selects don't support onchange?

2007-09-27 Thread Karl Rudd
Very nice. I know it's only a demo but you could reduce size of the JSON responses by about 60% (or more) if you used smaller key strings, something like v and t instead of optionValue and optionDisplay. For the 2500+ records for NSW it makes a huge difference. Like I said, very nice work. I

[jQuery] Re: filter not working when expression contains spaces

2007-09-27 Thread duff
Thanks James. In the example i was considering an 'a' element with one of its parents with class myClass. If the filter isn't meant to work that way i guess i will have to use the $() function instead. But then again, if the filters only apply to the element, why does it filter nothing

[jQuery] Re: New Plugin: Picklists

2007-09-27 Thread george.gsgd
I think the pattern would be: both multiselectors side by side, and arrows to left and right indicating moving options from left selector to the right and viceversa (instead of add and remove buttons). That's completely do-able without me changing a thing. That's what CSS is for ;) I

[jQuery] Re: filter not working when expression contains spaces

2007-09-27 Thread Erik Beeson
This is the expected behavior. The selector '.myClass a' describes an A tag being a descendant of a tag with the class myClass. is() doesn't work on a relationship as the result is ambiguous. To check if this element is an A tag that is a descendant of of a tag with class myClass, maybe try:

[jQuery] ajax timeout problem

2007-09-27 Thread mouqx xu
hi all I've come with a strange problem with ajax timeout. The success function and timeout function both seems to be executed. This case does happen for about every 100, 000 asynchronous request. I've read the code, the onreadystatechange function is not attached with xml, but executes

[jQuery] Re: Aaron Gustafson has a great ALA-Article on (Content-)Image Alignment and Consistency

2007-09-27 Thread Remy Sharp
If you're talking about the If I Told You You Had a Beautiful Figure... article, here you go: function FigureHandler(g, h) { if (typeof(h) !== 'object') { var h = { '75-100' : 'full-col', '67-75' : 'three-quarters-col', '50-67' : 'two-thirds-col', '34-50' :

[jQuery] Re: Interface: SortableDestroy javascript error

2007-09-27 Thread Antonio Cortés
I got the same error :(

[jQuery] Re: Aaron Gustafson has a great ALA-Article on (Content-)Image Alignment and Consistency

2007-09-27 Thread Erik Beeson
Is there a reason you didn't replace this.getElementsByTagName? --Erik On 9/27/07, Remy Sharp [EMAIL PROTECTED] wrote: If you're talking about the If I Told You You Had a Beautiful Figure... article, here you go: function FigureHandler(g, h) { if (typeof(h) !== 'object') { var h

[jQuery] Thickbox and Innerfade plugins issue in IE6

2007-09-27 Thread Fiona
I am trying to run Innerfade to show a basic slideshow on the page, but have each image linkable to a thickbox popup so you can see the larger version of the image and go back and forth between the images. It is working fine in IE7 and Firefox, but the Thickbox popup doesn't work at all in IE6.

[jQuery] Alternative syntax?

2007-09-27 Thread A32
I find the following example very dirty syntax: $(document).ready(function(){ alert(Document is ready) $(a).click(function(){ alert(Clicked); }); }); With all those ) and } I don't know if I'm coming or going.. Is there an alternate syntax I can use? Do

[jQuery] html not working in IE

2007-09-27 Thread mohsin
$(document).ready(function() { uid = querySt(userid); $('.paginate').each(function() { a = this.id; b = #+a+_listings; if(typeof uid === undefined) {

[jQuery] Re: input type text toUpperCase() jquery question

2007-09-27 Thread Joan Piedra
No problem :) On 9/26/07, Frank Tudor [EMAIL PROTECTED] wrote: ok thanks for everyone clearing this up for me. On 9/26/07, Joan Piedra [EMAIL PROTECTED] wrote: Just use the text-transform rule, and then process your string and convert it to uppercase via server-side. Or you could also

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-09-27 Thread Joan Piedra
You could use the dimensions plugin to look at the viewport size and create some conditionals to emulate max-width/height. Nice job, this was missing around here :) On 9/26/07, Leandro Vieira Pinho [EMAIL PROTECTED] wrote: Hi Charles, I´m translate the page into english too. ASAP. I didn´t

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Joan Piedra
I bet you could create the conditional before triggering the chili plugin. Like this maybe. if(this.lenght 1000){ $(this).chili(); } else { $(this).manualChili(); //custom plugin you could create to add the manual trigger above the code. } On 9/26/07, Guy Fraser [EMAIL PROTECTED] wrote:

[jQuery] jQuery.escapeHTML( str ) ?

2007-09-27 Thread [EMAIL PROTECTED]
Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into textarea / or input / but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side.

[jQuery] injecting HTML with load() how to bind events?

2007-09-27 Thread kamiseq
im loading some HTML with ajax, and as in jQ every events are bound, to HTML elements, just after page is loaded, how can I force jQ code to bind event handlers to new HTML. I could trigger some js function with jQ after loading has finished but maybe there is a better way to do so.

[jQuery] Alternative syntax?

2007-09-27 Thread A32
I find the following example very dirty syntax: $(document).ready(function(){ alert(Document is ready) $(a).click(function(){ alert(Clicked); }); }); With all those ) and } I don't know if I'm coming or going.. Is there an alternate syntax I can use? Do

[jQuery] functions after $.get work strange

2007-09-27 Thread [EMAIL PROTECTED]
Im trying to set somehow variable inside of $.get callback and get outside this callback. Im doing it in this way (because I dont know any other way): function isTracked(personcode) { ret='false'; // it should return string 'true' or 'false' $.get('trackstudent/istracked.php',{'personcode':

[jQuery] Re: Enterprise Javascript?

2007-09-27 Thread Robert Koberg
On Wed, 2007-09-26 at 21:11 +0100, Guy Fraser wrote: Danjojo wrote: We have Java, .NET, PHP, and CFM... What can't we do? Interact with an Enterprise database... You can use JSR 223 [1] (requires Java 1.6 or above) with the Rhino JS library and use server-side JS to speak to

[jQuery] Re: cluetip: can't get it to position tooltip right

2007-09-27 Thread Benjamin Wohlwend
Hi Karl, thanks, using the dimensions plugin that comes with cluetip solves the problem (pitty I didn't use that to begin with). I'm really happy with the end result now, thank you very much for this great plugin! Regards, Benjamin P.S.: sorry for the double post, no idea how that happened.

[jQuery] jQuery.escapeHTML( str ) ?

2007-09-27 Thread [EMAIL PROTECTED]
Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into textarea / or input / HTML code, but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side.

[jQuery] injecting HTML with load() how to bind events?

2007-09-27 Thread kamiseq
im loading some HTML with ajax, and as in jQ every events are bound, to HTML elements, just after page is loaded, how can I force jQ code to bind event handlers to new HTML. I could trigger some js function with jQ after loading has finished but maybe there is a better way to do so.

[jQuery] jQuery.escapeHTML( str ) ?

2007-09-27 Thread [EMAIL PROTECTED]
Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into textarea / or input / HTML code, but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side.

[jQuery] Re: Site Using jQuery - Network Solutions

2007-09-27 Thread Rick Faircloth
It could be a use-test case and they are considering wider implementation based on results. Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Thursday, September 27, 2007 1:27 AM To: jquery-en@googlegroups.com Subject: [jQuery] Site Using jQuery

[jQuery] Toggling a checkbox

2007-09-27 Thread voltron
How would one toggle a checkbox? This does not work: $(#postcode_all).toggle(function(){ $(#intended_postcode-0).attr(disabled, disabled); },function(){ $(#intended_postcode-0).attr(enabled, enabled); }); Thanks

[jQuery] Re: functions after $.get work strange

2007-09-27 Thread Erik Beeson
$.get is asynchronous, meaning the call to $.get returns immediately, even before the callback has happened. To answer your specific question, setting a variable who's scope is outside the callback is as easy as defining the variable outside the callback: var foo; $.get(..., function() { foo =

[jQuery] Re: Toggling a checkbox

2007-09-27 Thread Erik Beeson
To check or uncheck a checkbox, assign true or false to its 'checked' property (untested): $('#myCheckbox')[0].checked = true; or $('#myCheckbox').attr('checked', true); But it looks like you're trying to enable/disable them, in which case you probably want $(...).attr('disabled', 'disabled');

[jQuery] Re: Alternative syntax?

2007-09-27 Thread Erik Beeson
You'll learn to love anonymous functions. And eventually, you'll even learn to love closures: (function($) { // do something })(jQuery); I guess cleanliness is relative. It looks pretty clean to me. The goal of anonymous functions is to be able to pass around chunks of code to be executed

[jQuery] Re: Enterprise Javascript?

2007-09-27 Thread Danjojo
It appears that there are a few items in the cooker in regards to modern web development and data access to SQL Server or MySQL etc. I will continue to keep my ear low to the ground.. On Sep 26, 9:48 pm, Robert Koberg [EMAIL PROTECTED] wrote: On Wed, 2007-09-26 at 21:11 +0100, Guy Fraser

[jQuery] Re: cluetip: can't get it to position tooltip right

2007-09-27 Thread Karl Swedberg
Excellent, Benjamin I'm glad that it's working now I'll have to investigate the Dimensions issue a little more and then report to Brandon about it. By the way, I like how you styled the cluetips! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Sep

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-27 Thread kennydee
This ticket have an attached patch, if you're interested in, witch correct this issue but create another one ... http://dev.jquery.com/ticket/1698

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Andrea Ercolino
Very simple. Look at the new example posted in http://noteslog.com/post/chili-19-released-today/ : It's what you're looking for. But Chili 1.9 is very fast, it colorize 3000 lines in less than 1 second !! Maybe there is no need for the extra button... Guy Fraser-2 wrote: Andrea Ercolino

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-27 Thread Emil Ivanov
Isn't it possible just to wrap the script in a function and call it in the callback of the ajax call? Or I'm getting it wrong? Regards, Emil Ivanov

[jQuery] Re: About jQuery.yav date validation

2007-09-27 Thread SeViR
weide escribió: I Search the web and found code like down: 2. Can one validate date formats form other countries like Germany? This is a YAV config setting, by example Spain date format is dd-MM-, so in the second map param of the plugin I can

[jQuery] Re: Toggling a checkbox

2007-09-27 Thread Glen Lipka
$(:checkbox).attr(checked,anyThingWillCheckIt) $(:checkbox).removeAttr(checked) Glen On 9/27/07, Erik Beeson [EMAIL PROTECTED] wrote: To check or uncheck a checkbox, assign true or false to its 'checked' property (untested): $('#myCheckbox')[0].checked = true; or

[jQuery] When will the API be updated for 1.2.1?

2007-09-27 Thread Andy Matthews
I use this: http://jquery.com/api/ all the time because it's the simplest, easiest, reference for jQuery methods and behaviours. But it still lists it's version as 1.1.2. Are there plans to update this reference? Alternately, I'd argue that there needs to be ONE single point of entry (on the

[jQuery] Re: Site Using jQuery - Network Solutions

2007-09-27 Thread seedy
funny, I just had a co-worker Ive been introducing to jQuery yesterday say: [jQuery is] worth including even if only for the document.ready function Glen Lipka wrote: Network Solutions just revamped their whole account manager. Guess what library they depend on? It rhymes with Mayberry.

[jQuery] Reload Page?

2007-09-27 Thread Danjojo
Is it possible to reload the page right after I set the cookie? Cause I have to update all of the text in a different language.. // Flag image change on menu select, set the cookie with the spoken language choice // and reload the page in that language $(#languages).bind('change', function()

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Steve Blades
Looks outstanding. Now, if it only had a syntax highlight library for ColdFusion;). On 9/27/07, Andrea Ercolino [EMAIL PROTECTED] wrote: Very simple. Look at the new example posted in http://noteslog.com/post/chili-19-released-today/ : It's what you're looking for. But Chili 1.9 is

[jQuery] Re: When will the API be updated for 1.2.1?

2007-09-27 Thread Brandon Aaron
The documentation is going through some growing pains. Currently the only source of documentation for 1.2.x is on the wiki. I've been thinking about how we can take those docs and create an XML file like we had before ... currently the only idea I have is to screen scrape which if you look at the

[jQuery] Re: an Undo plugin, or something as such. :-)

2007-09-27 Thread Sean O
Here's a great article I read recently on implementing undo (enhanced from original post, based on reader inputs): http://humanized.com/weblog/2007/09/21/undo-made-easy-with-ajax-part-15/ Demo: http://humanized.com/weblog/images/resources/undo/todo_sync.html Source (using jQuery, natch):

[jQuery] Re: Aaron Gustafson has a great ALA-Article on (Content-)Image Alignment and Consistency

2007-09-27 Thread Remy Sharp
Is there a reason you didn't replace this.getElementsByTagName? On the first .getElementsByTagName - there's no particular reason to justify using jQuery. However, the second one should really read: $('p', this).each(... There really only there because I did a two minute conversion from

[jQuery] Attr calls on jQuery object with more than one element?

2007-09-27 Thread Andy Matthews
If I wanted to get the rel values for all elements which match a jQuery call, how would I do that? I thought that this: var $selected = $('.selected').attr('rel'); alert($selected); would give me this: 9/1/2007,9/30/2007 But it only returns the first value. Is this correct behaviour? I

[jQuery] jquery 1.2.1 and the easing (1.1.1) plugin (?!!)

2007-09-27 Thread GianCarlo Mingati
hi guys. Has anybody experienced problems since the release of the new jquery 1.2 and it's use in conjunction with the plugin in subject? I found that the expoinout method and all the inout methods do not work anymore smootly. GC

[jQuery] Re: jCorner problem?

2007-09-27 Thread polyrhythmic
I've seen that happen to me before when running .corner() on a floated element. Corner tries to adapt properties from its parent from the .corner divs, so if you have some css like #container div { float: left; } the float will be applied to your .corner divs too, and bork your layout. Corner

[jQuery] Re: Attr calls on jQuery object with more than one element?

2007-09-27 Thread Benjamin Sterling
That is true, that is the correct behaviour, there was specific talk about what you are expecting a bit ago and I can't remember the end discussion, it may have even been on the dev list. I will see if I can come across it. Ultimately, you can do: var $selected = Array();

[jQuery] Re: When will the API be updated for 1.2.1?

2007-09-27 Thread Sam Collett
You use MediaWiki don't you? If so can't you convert the Wiki markup to Xml and go from there? e.g. http://www.mediawiki.org/wiki/Extension:Wiki2xml Much better than screen scraping. On Sep 27, 4:24 pm, Brandon Aaron [EMAIL PROTECTED] wrote: The documentation is going through some growing

[jQuery] Re: Alternative syntax?

2007-09-27 Thread Michael Geary
You have to use functions in that code, because you are using two callbacks, and that's how you do callbacks in JavaScript, with functions that get called later. The first callback is the outer function that gets called when the document is ready. The second callback is the inner function

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Frank Tudor
I like this idea, and pardon me if this has been asked before, but is there a code higlighter for jQuery that can be used in dreamweaver? Code anticipation would score bonus points. Frank On 9/27/07, Steve Blades [EMAIL PROTECTED] wrote: Looks outstanding. Now, if it only had a syntax

[jQuery] Re: Attr calls on jQuery object with more than one element?

2007-09-27 Thread Andy Matthews
Ahhh... Easy enough. Turns out I don't need that functionality after all, but that's good to keep in mind. Thanks. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Thursday, September 27, 2007 11:26 AM To: jquery-en@googlegroups.com

[jQuery] Re: Toggling a checkbox

2007-09-27 Thread voltron
Hmm, Thanks guys, but maybe I did dot make myself to clear. I am able to check the boxes, but I´m not able to toggle between both states. When the user checks the box, an input field is to be disabled, and when he unchecks it, the input box should be enabled, thats fwhat the toggle function is

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Benjamin Sterling
Franks, I put something for Dreamweaver a while ago, I think we were on 1.1.1 at that time, let me see if I can find those files and will hit you up off list if I find them. On 9/27/07, Frank Tudor [EMAIL PROTECTED] wrote: I like this idea, and pardon me if this has been asked before, but is

[jQuery] great new site

2007-09-27 Thread günni
http://spielwelt6.knightfight.de/?ac=vidvid=121044096

[jQuery] Re: functions after $.get work strange

2007-09-27 Thread Guy Fraser
Erik Beeson wrote: $.get is asynchronous, meaning the call to $.get returns immediately, even before the callback has happened. To answer your specific question, setting a variable who's scope is outside the callback is as easy as defining the variable outside the callback: Erik - your

[jQuery] script within ajax html response

2007-09-27 Thread MHM
Hi, I am working on a website using jquery for ajax with various other jquery plugins. In my app, when making ajax queries for forms, i return back the complete form as html since it carries information about validation which is done on the server-side. Taking 2 plugin into consideration, one

[jQuery] Stuttering in auto-scroller

2007-09-27 Thread [EMAIL PROTECTED]
Hi I have made a scroller based in the jnewsscroll plugin, you can view it at http://demo4.vantageglobal.com/view/skin/v10/ , the problem is that it have a stuttering, the movement is not smooth, it's very noticeable in Firefox and it's a little better at Explorer. Do you know that this could be

[jQuery] Re: Attr calls on jQuery object with more than one element?

2007-09-27 Thread Loren Pipes
Map is really nice for this. var attributes = $('.selected').map(function() { return $(this).attr('rel'); }); VP

[jQuery] Re: Reload Page?

2007-09-27 Thread Joan Piedra
On 9/27/07, Danjojo [EMAIL PROTECTED] wrote: $.cookie('language', country, {expires: 7}); // set cookie if you just want to reload the page, you could use window.reload(); $.cookie('language', country, {expires: 7}); // set cookie window.reload(); I believe if you try to

[jQuery] Re: Reload Page?

2007-09-27 Thread bweaverusenet
Your DOM updates won't be sticky, but to reload the page you can window.location.reload(). Of course, you seem to be headed in a cleaner direction: just changing the text elements in the DOM directly instead of reloading the page. On Sep 27, 11:23 am, Danjojo [EMAIL PROTECTED] wrote: Is it

[jQuery] Conflict with the Accessible News Slider and the Dimensions plugin (as required by the ClueTip)?

2007-09-27 Thread HelloWorld
Hi. I'm experiencing a conflict w/ the Accessible News Slider and the Dimensions plugin (as required by the ClueTip plugin). No customizations made. a 'no object' error: [Exception... 'Dimensions: jQuery collection is empty' when calling method: [nsIDOMEventListener::handleEvent] nsresult:

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Pyrolupus
Hey! When're you going to update Chili Central[1] with the new link? ^_^ Pyro [1] http://noteslog.com/chili/

[jQuery] Re: jquery 1.2.1 and the easing (1.1.1) plugin (?!!)

2007-09-27 Thread ravenel
Yes, but just with the methods using Math.exp()... e.g. expoout All the other methods are working porperly... don't understand why it breaks only these On 27 Sep., 16:58, GianCarlo Mingati [EMAIL PROTECTED] wrote: hi guys. Has anybody experienced problems since the release of the new

[jQuery] Stuttering in auto-scroller

2007-09-27 Thread [EMAIL PROTECTED]
Hi I have made a scroller based in the jnewsscroll plugin, you can view it at http://demo4.vantageglobal.com/view/skin/v10/ , the problem is that it have a stuttering, the movement is not smooth, it's very noticeable in Firefox and it's a little better at Explorer. Do you know that this could be

[jQuery] Can't parse input from one form of many on page

2007-09-27 Thread mo2g
Sorry if this double posts... I am a newbie with JQuery and have ported a form from Prototype. I have two forms on a page: form action=go.php method=post name=adminForm id=adminForm input id=address name=address size=60 more fields... input type=submit /form form action=test.php method=post

[jQuery] Stuttering in auto-scroller

2007-09-27 Thread [EMAIL PROTECTED]
Hi I have made a scroller based in the jnewsscroll plugin, you can view it at http://demo4.vantageglobal.com/view/skin/v10/ , the problem is that it have a stuttering, the movement is not smooth, it's very noticeable in Firefox and it's a little better at Explorer. Do you know that this could be

[jQuery] Re: functions after $.get work strange

2007-09-27 Thread [EMAIL PROTECTED]
function isTracked(personcode, callback) { $.get('trackstudent/istracked.php', {'personcode': personcode}, callback); } isTracked(code, function(tracked) { // do something with tracked, exactly as you would have done above. }); I thought that I understand that but Im doing something

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Frank Tudor
Thanks Ben... That would be awesome! On 9/27/07, Benjamin Sterling [EMAIL PROTECTED] wrote: Franks, I put something for Dreamweaver a while ago, I think we were on 1.1.1 at that time, let me see if I can find those files and will hit you up off list if I find them. On 9/27/07, Frank Tudor

[jQuery] Re: filter not working when expression contains spaces

2007-09-27 Thread Guy Fraser
duff wrote: But then again, if the filters only apply to the element, why does it filter nothing regardless of the filter if it contains spaces ?. Shouldn't the filter return nothing if the expression cannot be evaluated ?(fail safe rather than silently) +10 I concur - it should return

[jQuery] How do I select an Element with the ID=foo.bar:data with jQuera Selectors?

2007-09-27 Thread ravenel
Hello jQuery Coders! Since it is allowed to use ., : in the id-Tag (http://www.w3.org/ TR/html4/types.html#h-6.2) I wonder how I select it while using the jQuery Selector Syntax? jQuery('#foo.bar:filter') doesn't work since it means element with id foo and class bar and filter data? is

[jQuery] Re: Enterprise Javascript?

2007-09-27 Thread Guy Fraser
Robert Koberg wrote: You don't need 1.6. The current version works in 1.4. You can get Rhino from mozilla (which is what is bundled in 1.6) at: http://www.mozilla.org/rhino/ The JSR 223 stuff in general works better on 1.6 though - especially things like Quercus (PHP in Java), etc.

[jQuery] jCarousel drupal example....

2007-09-27 Thread mike55
i have been to the jCarousel website...but it does not have any drupal examples on how to use jCarousel. Can someone offer up an example to use this with drupal ??? please? thanks mjh

[jQuery] Re: Paste Monkey Beta Launched

2007-09-27 Thread Joan Piedra
Hey Tane, This looks interesting. Have you ever consider to use chili instead of geshi? What do you think would be better in this case, a server-load or client-load? Cheers, On 9/26/07, Sean Catchpole [EMAIL PROTECTED] wrote: Looking good Tane. The only changes I'd make are CSS related, but

[jQuery] Easing Plugin brakes on all methods based on Math.exp with jQuery 1.2.X

2007-09-27 Thread ravenel
Hello I just tested the The Excellent Easing Plugin from http://gsgd.co.uk/sandbox/jquery.easing.php with jQuery 1.2.1. and all methods work fine except: expoin, expoinout, expoout These methods use Math.exp: expoout: function(x, t, b, c, d) { var flip = 1;

[jQuery] Re: functions after $.get work strange

2007-09-27 Thread [EMAIL PROTECTED]
First of all - Thank You very much - it is good lesson. To answer your specific question, setting a variable who's scope is outside the callback is as easy as defining the variable outside the callback: var foo; $.get(..., function() { foo = ...; }); I tried that before: function test()

[jQuery] Re: Toggling a checkbox

2007-09-27 Thread Glen Lipka
I whipped up a demo. Is this what you meant? http://www.commadot.com/jquery/checkboxToggle.php Glen On 9/27/07, voltron [EMAIL PROTECTED] wrote: Hmm, Thanks guys, but maybe I did dot make myself to clear. I am able to check the boxes, but I´m not able to toggle between both states. When

[jQuery] Re: Conflict with the Accessible News Slider and the Dimensions plugin (as required by the ClueTip)?

2007-09-27 Thread Brandon Aaron
This is because the selector didn't match any elements before trying to call a method within dimensions (maybe offset). -- Brandon Aaron On 9/27/07, HelloWorld [EMAIL PROTECTED] wrote: Hi. I'm experiencing a conflict w/ the Accessible News Slider and the Dimensions plugin (as required by the

[jQuery] Problem with jQuery.unique( array )

2007-09-27 Thread Sparticat
Whenever I try to use the $.unique() function it just returns the array without removing the duplicates. $.unique([0,1,1,2,2,3]); returns [0,1,1,2,2,3] instead of [0,1,2,3] as described at: http://docs.jquery.com/Utilities/jQuery.unique#array Is this a bug or am I missing something? I'm

[jQuery] Re: jCorner problem?

2007-09-27 Thread Guy Fraser
polyrhythmic wrote: I've seen that happen to me before when running .corner() on a floated element. Corner tries to adapt properties from its parent from the .corner divs, so if you have some css like #container div { float: left; } the float will be applied to your .corner divs too, and

[jQuery] Re: functions after $.get work strange

2007-09-27 Thread Michael Geary
You're still expecting things to happen in the wrong order. It's *inside the callback* that the data becomes available, and this is long after isTracked() returns. Try this instead: var r; function isTracked(personcode, callback) {

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Michael Geary
Uhhh... Can you post a link to your test page? It's impossible to guess what might be wrong otherwise. -Mike From: cmbtrx OK, forgive my tone here...I'm actually quite flabbergasted. I ***FINALLY*** get around to trying out jquery. Oh, I'm sure that quite obviously I'm doing

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Glen Lipka
What are you trying to do? I am not a programmer, but I can do all kinds of awesome things with jQuery. I have a mess of simple demos and experiments here: http://www.commadot.com/jquery There are others around too. Also, what exactly is 79k? Glen On 9/27/07, cmbtrx [EMAIL PROTECTED] wrote:

[jQuery] dynamically appended table-rows in loose hover effect in IE

2007-09-27 Thread ravenel
I am loading tr class=eventddata/td/tr dynamically with jquery load function e.g.: .even{ background-color: red; } .even:hover { background-color: blue; } jQuery(tbody).append(data); that works perfect in FF, but in IE the hover css for the class=even is not interpreted anymore in IE

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread John Resig
Do you have a page online somewhere with what you're trying to do? The most common mistake, when beginning, is to forget a $(document).ready(function(){ ... }) around your code (causing it to execute too early). --John On 9/27/07, cmbtrx [EMAIL PROTECTED] wrote: OK, forgive my tone here...I'm

[jQuery] Safari 2.0 crashes while executing http://jquery.com/test/

2007-09-27 Thread ravenel
Is this a known problem?

[jQuery] Re: functions after $.get work strange

2007-09-27 Thread [EMAIL PROTECTED]
To answer your specific question, setting a variable who's scope is outside the callback is as easy as defining the variable outside the callback: var foo; $.get(..., function() { foo = ...; }); Ahh, I know know where was my mistake. I tried something like that: function a() { var ret;

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Marshall Salinger
Did you add the code inside the ready event? Please post your code for review. I am sure anyone would be willing to help you. -Marshall cmbtrx wrote: OK, forgive my tone here...I'm actually quite flabbergasted. I ***FINALLY*** get around to trying out jquery. Oh, I'm sure that quite

[jQuery] ul list which make appear 2 elements in the same time

2007-09-27 Thread mockmock
Hi all, I'd like to have an ul list, containing li links which make appear two elements in the same time. Something like this: ul lia href=#show content1/a/li lia href=#show content2/a/li lia href=#show content3/a/li /ul div class=content1blabla/div div class=content1blibli/div div

[jQuery] uhhh.......WAT?

2007-09-27 Thread cmbtrx
OK, forgive my tone here...I'm actually quite flabbergasted. I ***FINALLY*** get around to trying out jquery. Oh, I'm sure that quite obviously I'm doing something wrong, because after following the first few paragraphs of the How JQuery Works section (clicking a link launches an alert box...uh

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Benjamin Sterling
lmao... I love those cave man commercials. I can only imagine that you are referring to: http://docs.jquery.com/How_jQuery_Works correct? If so, I have a few questions: 1. Is there code we can look at? 2. Are you doing: $(document).ready(function(){ $(a).click(function(){ alert(Thanks

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Guy Fraser
Frank Tudor wrote: Code anticipation would score bonus points. While my tired brain was wondering what you meant by that, it came up with a completely unrelated idea - we could modify/extend the lazy image loader plugin [1] so that code blocks below the fold would not get syntax highlighted

[jQuery] If anyone needs a file uploader...

2007-09-27 Thread Derek Gathright
Yesterday I replaced a Flex2 uploader I created (that just wasn't working properly in IE) with SWFUpload and found it to be a joy to work with. I looked all over (even at some jQuery plugins), but nothing I found was exactly what I needed (progress bar, multiple files, extendable with

[jQuery] Re: How do I select an Element with the ID=foo.bar:data with jQuera Selectors?

2007-09-27 Thread Karl Swedberg
On Sep 27, 2007, at 11:05 AM, ravenel wrote: Hello jQuery Coders! Since it is allowed to use ., : in the id-Tag (http://www.w3.org/ TR/html4/types.html#h-6.2) I wonder how I select it while using the jQuery Selector Syntax? jQuery('#foo.bar:filter') doesn't work since it means element

[jQuery] Re: Can't parse input from one form of many on page

2007-09-27 Thread Josh Nathanson
Try this: $('input,select,hidden', '#adminForm').each(function() { do stuff; } This says get all input, select, hidden elements in the context of #adminForm. -- Josh - Original Message - From: mo2g [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent:

[jQuery] Re: Validation plugin - alphanumeric password with min length

2007-09-27 Thread Jörn Zaefferer
voltron schrieb: Hi Jörn, I think it works now. Do the errors which I define in the error_container override the default ones in the plugin? Maybe it would be cool to make this a default validator for your plugin? I think many others might want this functionality. Thanks for looking into this

[jQuery] Re: How do I select an Element with the ID=foo.bar:data with jQuera Selectors?

2007-09-27 Thread Brandon Aaron
This FAQ should help you. http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F -- Brandon Aaron On 9/27/07, ravenel [EMAIL PROTECTED] wrote: Hello jQuery Coders! Since it is allowed to use ., : in the id-Tag (http://www.w3.org/

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Brandon Aaron
Speaking of that ... I've got a plugin ... unreleased/undocumented at the moment ... called viewable. It gives you a percentage of the element that is viewable. http://brandonaaron.net/jquery/plugins/viewable/test/test.html -- Brandon Aaron On 9/27/07, Guy Fraser [EMAIL PROTECTED] wrote:

[jQuery] Re: jQuery.escapeHTML( str ) ?

2007-09-27 Thread Jörn Zaefferer
[EMAIL PROTECTED] schrieb: Will it be? Function like htmlspecialchars() in PHP is useful when you need to insert some value into textarea / or input / but you also need non-escaped value too for using it in hashes and/or associative arrays and then send to server side. jQuery's text()

  1   2   >