[jQuery] number formatting plug-in

2007-10-18 Thread james_027
hi, is there a number formatting plugin for jQuery? Thanks

[jQuery] Re: [NEWS] liScroll Plugin

2007-10-18 Thread GianCarlo Mingati
Hi Guy, all good tips from you. I thought too it would be better to wrap the UL with the necessary DIV automatically, and i'll do that today if i got some minutes. The hoverintent is a good tip too, i'll work on how to make it work with liScroll leaving the developer the freedom to choose if

[jQuery] Custom Events in jQuery

2007-10-18 Thread Gordon
After developing a rather complex JavaScript application I found myself starting to get frustrated with the rather limited set of events that JavaScript itself defines. As the project progressed it became more dependant on multiple objects, all of which had to be as self-contained as humanly

[jQuery] Problems with jQuery and proxy server.

2007-10-18 Thread Pluthos
I am relatively new to jQuery and I need help getting jQuery to run with a proxy server, more specifically to get jQuery to see the page being forwarded to the client by my proxy server. I have the following setup: 1) The proxy program is running on a file called proxy.php located at

[jQuery] Re: jqGrid new version

2007-10-18 Thread ads_german
Hi Tony, First of all, I'd like to say this is a great plugin! I am using jqGrid with a json data source, and upon load, the tableheader and pager div appear, but no rows are rendered, and the Loading message stays visible (so Ijust see an empty table and the loading message). Ther are no

[jQuery] Re: trying to get an element on $.each iteration

2007-10-18 Thread didats triadi
On 10/17/07, Richard D. Worth [EMAIL PROTECTED] wrote: Inside the $.each callback function, 'this' holds a reference to each iterating/ed element (in your example, the dd). See http://docs.jquery.com/Core/each#callback for more info. So, you can do $(this).find(input) -or- $(input, this)

[jQuery] Hi

2007-10-18 Thread Paulo Coutinho
Im creating this a service: http://www.prsolucoes.com/outros/avatar But in IE 6 a bug occur that the image go to the left of the screen... On firefox and opera its is 100% OK, but in IE 6 occurr this problem, can anyone help me? Thx.

[jQuery] Accordion setting height: 0px and overflow-y: hidden

2007-10-18 Thread gregarious
Hi, I'm using the accordion widget that came with the recent release of jQuery UI and I'm having trouble getting the right height of the second content of the accordion. The code is as follow: $(function(){ $(#side-content).accordion(); }); $(function(){ // Load the tags and

[jQuery] Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Jörn Zaefferer
Getting Validation 1.2. done takes much longer then I expected. To compensate for that, here is a bugfix release for the validation plugin, containing all fixes and improvements from the latest revision, compatible with both jQuery 1.1.x and jQuery 1.2.x. Plugin page(s):

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Steve Blades
Jörn, Outstanding! Looks very good. Can't wait to see what you come up with next. -- Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com --- The Past is a Memory The Future a

[jQuery] Re: [NEWS] liScroll Plugin

2007-10-18 Thread GianCarlo Mingati
Guy, done that. Now all you need to do is write your UL and give it a class name and a unique id. I'll work on the hoverIntent integration. GC On Oct 17, 9:24 pm, Guy Fraser [EMAIL PROTECTED] wrote: GianCarlo Mingati wrote: Hi all.

[jQuery] Re: liScroll Plugin

2007-10-18 Thread GianCarlo Mingati
sorry, you need only to give the list an ID GC On Oct 18, 12:48 pm, GianCarlo Mingati [EMAIL PROTECTED] wrote: Guy, done that. Now all you need to do is write your UL and give it a class name and a unique id. I'll work on the hoverIntent integration. GC On Oct 17, 9:24 pm, Guy Fraser

[jQuery] Re: Custom Events in jQuery

2007-10-18 Thread Gordon
D'oh, must have missed that bit of the documentation :) On Oct 18, 10:30 am, Mike Alsup [EMAIL PROTECTED] wrote: This got me thinking, Yahoo provide a library to handle custom events, but at the moment there isn't a jQuery equivalent that I know of. I've started wondering how difficult it

[jQuery] Re: Humanized Messages

2007-10-18 Thread [EMAIL PROTECTED]
I don't know a web programmer that likes IE6, though my latest stats for a site that I run show 26% of my users access the site using IE6. If using certain plugins on the basis of not caring about IE6 translates into, say, 26% lost sales, then that is something to think about. On Oct 17, 11:55

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread micha149
I've got the same problem too! :-( The plugin documentation says: Fileupload, yes! (using an iframe) But the retrieving php-script has an empty $_FILES greetz micha149 On 17 Okt., 04:08, Mike Alsup [EMAIL PROTECTED] wrote: dgt, this all looks fine. Do you have an demo page that shows the

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread micha149
I have the same Problem to The Plugin loads the file succesfully to the server. I can trac it with the php modul upload progress to. But it doesent appear in $_FILES. All other form fields are listet in $_POST corectly. Best regards Mike On 17 Okt., 04:08, Mike Alsup [EMAIL PROTECTED]

[jQuery] Re: continuously search for elements in a document

2007-10-18 Thread rich
I was forgetting that you can add a function to basically any event. Here is what I ended up with and it's working just fine. Any suggestions to streamline it is appreciated. $(document).ready(function() { //hide empty error li -- initialize $('ul.errors li:has(span:hidden)').hide();

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread Mike Alsup
How large is the file you're uploading? Maybe you're exceeding the limits of your php config. Here's a demo page that shows a vardump of the $_FILES object: http://www.malsup.com/jquery/form/file/test.php Mike On 10/18/07, micha149 [EMAIL PROTECTED] wrote: I have the same Problem to

[jQuery] changing the adressbar with javascript

2007-10-18 Thread Simpel
Hi I'm almost certain that this one is impossible but maybe someone out there has a solution We just released a site with a lot of ajax functions and now people starts asking questions about URL:s to certain parts of the site. The only trouble is that some of these parts are created by a

[jQuery] Re: [NEWS] liScroll Plugin

2007-10-18 Thread Karl Swedberg
Hi GianCarlo, Just thought I'd offer clueTip as a resource if you'd like to see one way to integrate hoverIntent into a plugin: docs: http://plugins.learningjquery.com/cluetip/ js: http://plugins.learningjquery.com/cluetip/jquery.cluetip.js --Karl _ Karl Swedberg

[jQuery] Re: continuous action while mouseover

2007-10-18 Thread Alexandre Plennevaux
Brian, thanks a lot for taking the time to explain this. i managed to get it working with setInterval ! there are still a few glitches though, but it's moving all right :) you can see it here: http://m2.lab-au.com/proto_metalab2_datascape.htm now, my last issues: 1/ if the mouse

[jQuery] Re: [NEWS] liScroll Plugin

2007-10-18 Thread GianCarlo Mingati
Thanks Karl ;-) GC On Oct 18, 2:54 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi GianCarlo, Just thought I'd offer clueTip as a resource if you'd like to see one way to integrate hoverIntent into a plugin: docs:http://plugins.learningjquery.com/cluetip/

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread Giovanni Battista Lenoci
On Oct 18, 2:06 pm, micha149 [EMAIL PROTECTED] wrote: I have the same Problem to The Plugin loads the file succesfully to the server. I can trac it with the php modul upload progress to. But it doesent appear in $_FILES. All other form fields are listet in $_POST corectly. Hi Michael,

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread Mike Alsup
Giovanni, The form plugin offers no support for tracking upload progress. But Alexandre has a file upload plugin that uses flash to provides this capability: http://www.pixeline.be/experiments/jqUploader/ Mike On 10/18/07, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: On Oct 18, 2:06

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Fabien Meghazi
Plugin page(s): http://jquery.com/plugins/project/validate/a http://bassistance.de/jquery-plugins/jquery-plugin-validation/ the demo page (index.html) from the zip file (http://jquery.bassistance.de/validate/jquery.validate.zip) fires up this error : jQuery(element).data is not a function

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread micha149
Small files big files... all the same problem. This files works with your postet test-script. Can you post the code?! Or zip it? PHP and HTML... maybe some necessary hiddens? In my last trials the firefox console didn't list the post event??? normal??? Thank you On 18 Okt., 14:42, Mike

[jQuery] Re: jqGrid new version

2007-10-18 Thread ads_german
ads_german wrote: I am using php to return a json dataset, and have double checked that the json returned is valid (which it appears to be). Hmm, Seems that json that looked valid must have had some errors in it somewhere - I tried populating the grid via local and xml data and

[jQuery] jquery code snippit improvement request

2007-10-18 Thread FrankTudor
Here is a bit of code that on page load sets the alternating color of a table. Then there is a table sort tool that loads as well. The th (header) clicks cause the nice alternating line colors to sort as well. So I created this, which works perfect, but it looks clunky/repetitive.. I was

[jQuery] Re: Is this valid JSON?

2007-10-18 Thread Frank Peterson
Thanks, I was wondering about those square brackets [ ] at the start and end, I had never seen JSON start with those before

[jQuery] 2007 Web Design Survey

2007-10-18 Thread Andy Matthews
Discuss amongst yourselves. http://alistapart.com/articles/2007surveyresults/ Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com att1c1c1.bmp

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread Mike Alsup
Small files big files... all the same problem. This files works with your postet test-script. Can you post the code? You can view source to see the test page (there is no PHP in it even though it's named test.php). The form action points to this file: ?php echo 'VAR DUMP $_POST:p /';

[jQuery] Re: changing the adressbar with javascript

2007-10-18 Thread Jonathan Sharp
You can use hashes (url.php#hash) which won't reload the page. -js On 10/18/07, Simpel [EMAIL PROTECTED] wrote: Hi I'm almost certain that this one is impossible but maybe someone out there has a solution We just released a site with a lot of ajax functions and now people starts

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Jeferson Koslowski
I dont know if this is what ur looking for, but... take a look: http://digitalbush.com/projects/masked-input-plugin On 10/18/07, james_027 [EMAIL PROTECTED] wrote: hi, is there a number formatting plugin for jQuery? Thanks

[jQuery] Help with button script

2007-10-18 Thread Priest, James (NIH/NIEHS) [C]
I'm trying to implement some code I found here - basically just trying to learn more about jQuery: http://monc.se/kitchen/59/scalable-css-buttons-using-png-and-background- colors#comment-15755 $('.btn').each(function(){ var b = $(this); var tt = b.text() || b.val(); if

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Jörn Zaefferer
the demo page (index.html) from the zip file (http://jquery.bassistance.de/validate/jquery.validate.zip) fires up this error : jQuery(element).data is not a function jquery.validate.js (line 875) Thanks for the heads up, fixed! Please just download the package again. -- Jörn

[jQuery] Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
My company has some poorly written legacy code that outputs email fields to the page. Problem is that the email field variable named is itself variable. We don't know in advance that any specific field contains an email or not. So what I'd like to do is after the page is rendered, parse through

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread Giovanni Battista Lenoci
Hi mike thank for your answer... now I'm still tryng to make it work with the progress bar... I think I'm really near to the solution, but I need your help... The code from I'm ispiring is this one: http://progphp.com/progress.phps In this code (that use yui) the function that submit the form

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
Just to clarify, I'm looking to convert this HTML: Logistically remote [EMAIL PROTECTED], infrared extended cable prototype feedback, software, encapsulated port element technician development logistically [EMAIL PROTECTED] to this: Logistically remote a href=mailto:[EMAIL PROTECTED][EMAIL

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
This is what I've got so far. I've got the individual strings isolated, but I'm not really sure how to them into the page where they belong. HTML -- body p [EMAIL PROTECTED] Kilohertz [EMAIL PROTECTED], transistorized. Converter [EMAIL PROTECTED] services extended patch,

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Michael Geary
First, combine duplicate code into a single function: $(document).ready(function() { zebra(); $('th').click( zebra ); }); function zebra() { $('tbody.bevker tr:odd').removeClass(); $('tbody.bevker tr:even').removeClass(); $('tbody.bevker tr:odd').addClass('row0 odd');

[jQuery] setInterval not working

2007-10-18 Thread Alexandre Plennevaux
hi friends, can someone tell me what i'm doing wrong: i'm implementing a list displayed horizontally, that should position itself according to the user position. if the mouse is in the extreme left, div should move to the left rapidly, if it is in middle left, it should move half the speed,

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread Mike Alsup
What I think I need is to call this function when the submit is invoked, but before success methods of your plugin. There's a way I can achieve it? No, I don't think so. The submit-toIFrame approach relies on calling the form element's submit method which is a blocking call. Mike

[jQuery] Re: setInterval not working

2007-10-18 Thread Josh Nathanson
I think you need to do something like this: myfunc = return moveDatascape('#dsViewport',mouseX,scrollSteps,stageWidth,frameWidth,maxX,minX); But, you don't want moveDatascape to actually execute at that point, so you'll need to alter your moveDatascape function a bit: moveDatascape =

[jQuery] IE7 smudgy text issues with Superfish/hoverintent

2007-10-18 Thread JimD
Hi all, I just now decided to update to the latest version of jquery which means I had to update some plugin scripts. Everything works fine but I am having an issue specifically with my menu system which is using Joel Birch's great Superfish script. The menu works but in IE7 now the text is

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Jack Killpatrick
This has DecimalFormat and DollarFormat functions that might help: http://cjordan.us/page.cfm/CFJS-function-listing-by-category - Jack james_027 wrote: hi, is there a number formatting plugin for jQuery? Thanks

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Frank Tudor
P.S. Here is what my final script looks like. After the below function example, I started to get lost in obscurity. script type=text/javascript $(document).ready(function() { zebra(); $('th').click( zebra ); function zebra() { $('tbody.bevker

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Karl Swedberg
Hi Andy, Although I'm not sure about performance and I'm guessing that the regular expression could be improved, I have a 3-liner that should work in most cases: var markup = $('body').html(); var modMarkup = markup.replace(/([EMAIL PROTECTED],4})/g,'a href=mailto\:$1$1\/a')

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Frank Tudor
Jesus Christ?! Thanks for all the variations...AND explanations! Frank On 10/18/07, Michael Geary [EMAIL PROTECTED] wrote: First, combine duplicate code into a single function: $(document).ready(function() { zebra(); $('th').click( zebra ); }); function zebra() {

[jQuery] Re: changing the adressbar with javascript

2007-10-18 Thread Sean O
For obvious security reasons you (thankfully) cannot fake the address bar field using JavaScript. Scammers spammers would have a field day with that. You can, as Jonathan mentioned, update it using hashes. See the history plugin: http://stilbuero.de/jquery/history/ SEAN O _

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
Thanks Karl!!! That's WAY better than what I came up with. I knew there was a better way. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Thursday, October 18, 2007 12:51 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Create link

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Sean O
I like the numeric plugin: http://www.texotela.co.uk/code/jquery/numeric/ SEAN O ___ http://www.sean-o.com james_027-2 wrote: hi, is there a number formatting plugin for jQuery? Thanks -- View this message in context:

[jQuery] Re: help - Mineral search program

2007-10-18 Thread Glen Lipka
Some jQuerisms: Instead of var rightdiv =document.getElementById(curdiv); use var rightdiv = $(# + curdiv + ); Instead of onClick=createRockDescSearch(); use $(#addRockButton).click( function() { createRockDescSearch() } ); Instead of body onLoad=createRockDescSearch(); Use:

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
Karl... I slightly improved your regex: var modMarkup = markup.replace(/([EMAIL PROTECTED],6})/g,'a href=mailto\:$1$1\/a') some of my emails were like this: td class=basic[EMAIL PROTECTED]/td and it was seeing the class=basic as part of the email. This also allows for ip emails: [EMAIL

[jQuery] Re: Stopping event propagation on non-standard event types

2007-10-18 Thread Flesler
I don't completely get the point, custom events don't propagate, and don't have default behaviors, so none of those 2 functions should affect the behavior of the handlers. If your intention is to stop the iteration over the handlers, you could add another function as in stopIteration or something

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Yansky
It'll be more efficient if you store the elements you're going to manipulate into a variable. Also, since you're doing the same thing twice, you could make it into a function. e.g. script type=text/javascript $(document).ready(function() { var getTrs =

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Yansky
It'll be more efficient if you store the elements you're going to manipulate into a variable. Also, since you're doing the same thing twice, you could make it into a function. e.g. script type=text/javascript $(document).ready(function() { var getTrs =

[jQuery] Getting a div with scroll bar to stay scrolled down

2007-10-18 Thread Eric
Hi all, I have a div that will refresh itself and the scroll bar just won't stay down. The solution I've found is: var objDiv = document.getElementById(divname); objDiv.scrollTop = objDiv.scrollHeight; This doesn't work: $('#divname').scrollTop = $('#divname').scrollHeight;

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread micha149
I think it must work. Bu i'n not an yui man. I make it with jQuery: $(document).ready( function() { // define the check progress function var getProgress = function() { $.ajax({ type: GET, url: document.URL + getUniqueID(), //

[jQuery] looking for scrolling plugin

2007-10-18 Thread Bhaarat Sharma
Hi I am wondering if there is a plugin out there that would append more data to the table as the user is about to reach the end of the page (while scrolling). These results can be grabbed from a server uging JSON or locally. An example of this working is at www.dzone.com if you try to scroll

[jQuery] Sorting links alphabetically with jQuery

2007-10-18 Thread Yansky
Hi, I'm having some problems figuring out how to sort links alphabetically based on their text content and store the reference to the link. I can do it sans jQuery, but I'd really like to be able to use jQuery to do it. This is what I want to do: div id=test a href=http://yahoo.com;Yahoo/a a

[jQuery] Re: show/hide based on list selection

2007-10-18 Thread Belinda M. Giardine
Thanks Karl and Olaf. I got 2 methods to work so I feel ready to do the real code now. Just one question, in the tutorials I saw lines like q([EMAIL PROTECTED]'sweets']) where what works here is q('select[name=sweets]'). When should the @ and quotes be used and when shouldn't they? Belinda

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Pyrolupus
I'm thinking of this as a drop-in for alert() messages, and we already have no say where alert() places its dialog. Impromptu, mentioned earlier in this thread, does a great job of improving the basic JavaScript dialogs, already, and I'm thinking of supplementing those dialogs with these

[jQuery] Re: Is this valid JSON?

2007-10-18 Thread bo
That simply means object inside an array On 10/18/07, Frank Peterson [EMAIL PROTECTED] wrote: Thanks, I was wondering about those square brackets [ ] at the start and end, I had never seen JSON start with those before -- _ Jump right ahead in my web The

[jQuery] How does $(document).ready() work?

2007-10-18 Thread Jim Spath
I am working on a project where using jQuery's $(document).ready() would be extremely useful, but unfortunately I cannot use jQuery. I found this page on determining when a document's DOM is ready: http://www.javascriptkit.com/dhtmltutors/domready.shtml Is this how jQuery does it? Thanks! -

[jQuery] Re: Humanized Messages

2007-10-18 Thread SterlingK
Oh, fine, Mr Smarty-pants. My numbers are about half yours (roughly 13% - must be a different audience), but (sigh), yes, I agree that I still need to be a good boy and take ie6 users into account. On Oct 18, 3:29 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I don't know a web programmer

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers jQuery gurus please)

2007-10-18 Thread micha149
@ mike alsup: I thought you do something special in php... i try your script on my devserver... best regards, mike On 18 Okt., 17:20, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Hi mike thank for your answer... now I'm still tryng to make it work with the progress bar... I think I'm

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Bhaarat Sharma
Hi Is there a plugin for 'load on scroll' which behaves as this example http://www.coldfusionjedi.com/demos/sharp/ajaxLoadOnScroll/test.cfm Thanks On Oct 18, 2:19 pm, Sean O [EMAIL PROTECTED] wrote: I like the numeric plugin:http://www.texotela.co.uk/code/jquery/numeric/ SEAN O

[jQuery] how can 'load on scroll' be achieved in jquery+php

2007-10-18 Thread Bhaarat Sharma
Hi I finally came across a site that demonstrates how to achieve this in CF and Java script. But i dont know CF at all so I'm unable to pick exactly what is going on. Can some one help me explaining this code and converting it to jquery plugin?

[jQuery] Re: AJAX problem on Internet Explorer

2007-10-18 Thread HarryKC
You're welcome, I'm glad I could help. Hrvoje

[jQuery] How to trigger an event/callback if the class(es) of an Element (e.g. div) changes?

2007-10-18 Thread ravenel
Hello, is it possible to trigger an event when the class of an Element has changed? I have an DIV without any class= onclick on that DIV it gets the class=selected is it possible to listen to this change and trigger a function to get all the divs with the class=selected I cannot trigger on

[jQuery] onChange any form field Unsaved Message

2007-10-18 Thread Joshua
I'm wanting to use jquery to make a function where whenever someone changes something in any of the input boxes it changes a div to say Unsaved at #time# This seems easy but I'm new to jQuery and what I thought would work isn't working. Please advise :( Thanks, Josh

[jQuery] Re: How does $(document).ready() work?

2007-10-18 Thread Glen Lipka
I always thought magic jQuery elves were watching the page and had walkie-talkies. Try this one for research: http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready or http://dean.edwards.name/weblog/2006/06/again/ or

[jQuery] Re: How to trigger an event/callback if the class(es) of an Element (e.g. div) changes?

2007-10-18 Thread Glen Lipka
There is a plugin called jQuery Live. it listens for changing dom elements. http://brandonaaron.net/docs/livequery/ Glen On 10/18/07, ravenel [EMAIL PROTECTED] wrote: Hello, is it possible to trigger an event when the class of an Element has changed? I have an DIV without any class=

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Karl Swedberg
Hey Andy, Looks great. I had a feeling there would be some edge cases that didn't work with my regex. Nice improvement there. Glad I could help. :-) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 18, 2007, at 2:54 PM, Andy Matthews wrote:

[jQuery] Re: show/hide based on list selection

2007-10-18 Thread Karl Swedberg
Hi Belinda, As of jQuery 1.2, the @ symbol is deprecated (unless you're using the XPath plugin). So, pre-1.2, use the @, and 1.2+, do not use it. The quotes inside the square brackets are optional. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct

[jQuery] Re: 2007 Web Design Survey

2007-10-18 Thread SterlingK
Wow. I'm not only a white male, but also fall into the highest percentage of just about every other category. I had no idea I was so disappointingly ordinary!

[jQuery] binding dynamically inserted DOM elements

2007-10-18 Thread schmingle
i have a piece of code that inserts new objects into the DOM. these objects are of the same class as other objects already in the DOM to which jquery has bound. how do i get these new objects to bind the same as the existing ones? in other words... let's say i have this:

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-18 Thread Richard D. Worth
You've got 2 options: 1. Call .click on the new element(s) after adding to the DOM 2. Use the Live Query plugin See http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F for more info on both. - Richard On 10/18/07, schmingle [EMAIL

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-18 Thread schmingle
nevermind, i think i found the solution: http://brandonaaron.net/docs/livequery/ are there any other known methods? On Oct 18, 12:59 pm, schmingle [EMAIL PROTECTED] wrote: i have a piece of code that inserts new objects into the DOM. these objects are of the same class as other objects

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-18 Thread James Dempster
I suggest using liveQuery as mentioned and like you've found. On Oct 18, 9:03 pm, schmingle [EMAIL PROTECTED] wrote: nevermind, i think i found the solution: http://brandonaaron.net/docs/livequery/ are there any other known methods? On Oct 18, 12:59 pm, schmingle [EMAIL PROTECTED] wrote:

[jQuery] Re: setInterval not working

2007-10-18 Thread Josh Nathanson
Alexandre, just to clarify: moveDatascape = function(el,mouseX,scrollSteps,stageWidth,frameWidth,maxX,minX) { return (function() { // rest of function follows }); // close the anonymous function } You need the parentheses before and after the anonymous

[jQuery] Re: setInterval not working

2007-10-18 Thread Alexandre Plennevaux
hi Josh, i tried your suggestion but that does not work. all the function parameters get lost somewhere in the cascade of functions... -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: jeudi 18 octobre 2007 18:03 To:

[jQuery] Re: PHP variable into jQuery

2007-10-18 Thread Jake McGraw
Could you possibly give each checkbox the same class? a id=eid_22 class=checkMe/ a id=eid_23 class=checkMe/ a id=eid_24 class=checkMe/ $(function(){ $(input.checkMe).click(function(){ if (this.checked) { $(#eventItems).text(/([0-9]+)$/.exec(this.id)[1]); } else {

[jQuery] Re: PHP variable into jQuery

2007-10-18 Thread James Dempster
If all these checkboxes are in the same container where no other checkboxes are you can use somthing like this $('#id input:checkbox:checked').length Or if there are other checkboxes in the way you can give all these checkboxes the same class name and do $('#id

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Michael Geary
I think this kind of approach is a great idea, but this implementation has serious usability problems: 1) It displays messages at the top and bottom of the screen at the same time, fighting for your attention - and the less important message - the one at the bottom - is more eye-catching because

[jQuery] Re: setInterval not working

2007-10-18 Thread Alexandre Plennevaux
thanks for hanging on Josh _ this is really driving me nuts. i wrote this code in actionscript2 4 months ago and it worked well (see it in action here (wait that all images be loaded, click on the weird image: http://www.thor.be/creation.php?id=3) then move around your mouse, and you 'll see

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Jörn Zaefferer
wattaka schrieb: I think something went wrong with the code merging The metadata had a bugix a while back, it was just named metadata.js instead of jquery.metadata The validation plugin has re-introduced the buf with IE again, validation does not work, this was fixed a while back too

[jQuery] Re: Bind event that should be executed first

2007-10-18 Thread Jörn Zaefferer
Fabien Meghazi schrieb: When using validator.form() the error messages are shown but the first error input is not focussed. Is this the normal behaviour ? If yes, is there a method I can call for validator so it will focus the first error field in case validate fails ? Just call

[jQuery] Re: Accordion setting height: 0px and overflow-y: hidden

2007-10-18 Thread Jörn Zaefferer
gregarious schrieb: Do you have any suggestion on how can avoid this problem? Any help will be very appreciated. In that case you should consider not using the accordion plugin at all, and writing your own solution instead. There are a few accordion related tutorials on learningjquery.com

[jQuery] Re: Superfish: Menu keeps jumping around

2007-10-18 Thread Joel Birch
Hi Dave, Simply apply width:100px (or whatever value) to the .nav element. Joel Birch P.S. sorry to everyone who have posted Superfish help requests lately - I've been so busy and have not had chance to look help out as much as usual. Hopefully this weekend I may find time to answer some.

[jQuery] Re: prevent checkbox to check when click

2007-10-18 Thread james_027
is that different if I use .click() instead of .bind()? because it doesn't work for me thanks On Oct 19, 1:57 pm, Erik Beeson [EMAIL PROTECTED] wrote: Just return false from a click handler. The box will be focused, which will change the way it looks a little, so you may also want to blur

[jQuery] prevent checkbox to check when click

2007-10-18 Thread james_027
hi, how do i prevent the checkbox to be check when click if it doesn't meet certain requirements? Thanks

[jQuery] Re: Case-insensitive version of :contains(text) ?

2007-10-18 Thread RichUncleSkeleton
(bump) anyone have any ideas? On Oct 13, 7:01 pm, RichUncleSkeleton [EMAIL PROTECTED] wrote: The selector :contains(text) appears to be case sensitive (though there's no mention of this in the jQuery docs). Is there a case insensitive version?

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Guy Fraser
Michael Geary wrote: 1) It displays messages at the top and bottom of the screen at the same time, fighting for your attention - and the less important message - the one at the bottom - is more eye-catching because of the animation. Yeah - it would be nice if it the message log was turned

[jQuery] Re: jQuery.AJAX statement

2007-10-18 Thread Sergei NZ
Hey man i'm new to jQuery too. N00b to n00b =D .ajax is a calls the overall main call used by all the .load, .get and so on. .ajax has MANY parameter so that you may craft an ajax call really specific to your unique use. .ajax is explained very well in the jquery docs section -

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

2007-10-18 Thread Ben Spaulding
Hey Remy, thanks for putting this together. But it's not quite working right for me - in Safari it only works when the page is cached. Do you have any ideas what I can do to fix it? Thanks, Ben On Sep 27, 4:29 am, Remy Sharp [EMAIL PROTECTED] wrote: If you're talking about the If I Told You

[jQuery] accordian plugin brings up errors in IE7

2007-10-18 Thread JimD
Using accordian 1.5 and jquery 1.1.2 * $Rev: 3353 $ In IE7 I keep getting the following error when clicking on one of the menu items. it works in FF2 although it stutters a bit. ERRORS: errors at: elem[name] = value; segment of code in jquery: name =

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread HVMDesign
Perfect! Thanks! Cheers, Anthony HVMDesign wrote: Glen, I appreciate your reply. Yes, that is the path I looking for. Now, once it has faded, how can I overlay form buttons on top of that? Glen Lipka wrote: Whipped up a demo. Something like this?

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread HVMDesign
Glen, I appreciate your reply. Yes, that is the path I looking for. Now, once it has faded, how can I overlay form buttons on top of that? Glen Lipka wrote: Whipped up a demo. Something like this? http://www.commadot.com/jquery/hoverFade.php I like how the shadow works on the

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread Glen Lipka
Whipped up a demo. Something like this? http://www.commadot.com/jquery/hoverFade.php I like how the shadow works on the background. Glen On 10/18/07, HVMDesign [EMAIL PROTECTED] wrote: Hello, How can I make it so when I hover over an image, it turns transparent. After it does this,

  1   2   >