[jQuery] Re: Filtering charachter input with jquery/javascript

2008-05-16 Thread Giovanni Battista Lenoci
Dan G. Switzer, II ha scritto: Giovanni, You need to use the keypress event if you truly want to know which character was pressed. However, IE6 doesn't register the keypress event for certain non-printable characters (like the backspace, the arrow keys, etc.) So, for IE6 you need to capture

[jQuery] Smooth Text-based fisheye

2008-05-16 Thread eastons
I would like to make a smooth text-based fisheye list. I already am using a image based one seen at my test site: http://britenews.blogsite.org/home britenews.blogsite.org/home As you can see there the text list is too pop-y. I would love for it to grow as a function of distance of mouse to

[jQuery] Re: Switch content of Div

2008-05-16 Thread Gildas
Please answer me! I think it is the html() command that makes problem, but text() doesn't fix it. Any idea? Thanks --Gildas On May 15, 1:09 pm, Gildas [EMAIL PROTECTED] wrote: Hello! I'm trying to switch the content of two div when I drop one on another. Each tbody tr are clickable (and

[jQuery] Create slide box like yahoo

2008-05-16 Thread thiendv
Hi all! I want create slide box like click on More Yahoo! Services in http://www.yahoo.com. Please help me thanks

[jQuery] What is the purpose of th jcarousel this.funcResize() function?

2008-05-16 Thread Domaa
Hi, I've been playing around with the jcarousel plugin for jquery and it works really great. However I am getting annoyed by the fact that every time I open up firebug or resize the window fo my browser, jcarousel automatically forces the prev() function to be executed. I had a look at the

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
anio wrote: Hello group. I changed my web browser from FF2 to FF3 Beta. I develop a Catalyst application with jQuery and im almost done until changed the browser. Now all my functions that using getJSON fails with no callback. I have a similar problem using Ext JS, both with the jQuery

[jQuery] Re: Write to a file?

2008-05-16 Thread Sid
I basically want to make my own Comments system. So, its server side writing. Writing to the client machine is possible using the FileSystemObject, but I don't think its possible on browsers other than IE. On May 14, 7:26 pm, Gordon [EMAIL PROTECTED] wrote: If ou mean writing to a file on the

[jQuery] Re: date picker doesn't work

2008-05-16 Thread macsig
Actually i use the same code in an other page and all works well (the only difference is that in the other page I don't have any scriptaculous or other jquery staff). As you can see in my code I link the required files and the loading script looks fine (at least to me). So where do you think is

[jQuery] Re: date picker doesn't work

2008-05-16 Thread Giovanni Battista Lenoci
macsig ha scritto: Actually i use the same code in an other page and all works well (the only difference is that in the other page I don't have any scriptaculous or other jquery staff). As you can see in my code I link the required files and the loading script looks fine (at least to me). So

[jQuery] Re: Switch content of Div

2008-05-16 Thread Karl Rudd
When you use .html() to replace the contents it removes the old contents, including any event handlers. You will need to reattach the event handlers on the new content. http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F Karl Rudd On

[jQuery] Re: Write to a file?

2008-05-16 Thread Gordon
In that case you want to use $ajax to post to a server side script that'll handle the comment posting and return an XML/JSON response to let the browser know if the operation was a success. On the server side what you do with the AJAX request depends on the scripting language, but if it's PHP

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
Marcus Better wrote: Anyone heard of such a bug in Firefox 3? My Bugzilla searches haven't turned up anything. All I found was this. https://bugzilla.mozilla.org/show_bug.cgi?id=424212 [FIX]xmlhttprequest abort method should set status to 0 when it changes readystate to 4 But it should only

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Bramus!
On May 16, 9:32 am, Marcus Better [EMAIL PROTECTED] wrote: anio wrote: Hello group. I changed my web browser from FF2 to FF3 Beta. I develop a Catalyst application with jQuery and im almost done until changed the browser. Now all my functions that using getJSON fails with no callback.

[jQuery] Re: jqDock doesn't do anything?

2008-05-16 Thread Wizzud
Do you have a web-accessible example I can look at? On May 16, 3:40 am, Davis [EMAIL PROTECTED] wrote: wizzud, thanks for your help. now im using coefficient: 1 and #menu img {padding:0px 2px 0px 0px; } it is work fine in FF2, but still no luck from IE, so you quoted (a) be aware that

[jQuery] Re: Create slide box like yahoo

2008-05-16 Thread andrea varnier
On 16 Mag, 09:05, thiendv [EMAIL PROTECTED] wrote: Hi all! I want create slide box like click on More Yahoo! Services inhttp://www.yahoo.com. Please help me thanks I'd suggest you read this great tutorial by Karl Swedberg http://www.learningjquery.com/2008/02/simple-effects-plugins :)

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread anio
Oh yes. Im running Firefox 3b5 on Linux too. In Firebug i can see the response from server but it seems firefox cant catch it in right way. On May 16, 10:32 am, Marcus Better [EMAIL PROTECTED] wrote: anio wrote: Hello group. I changed my web browser from FF2 to FF3 Beta. I develop a Catalyst

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Bramus!
Oh yes. Im running Firefox 3b5 on Linux too. In Firebug i can see the response from server but it seems firefox cant catch it in right way. If Firebug shows the wrong result when expanding the call in the console, then it's Firebug itself as it has some issues with it (FB 1.1+ at least has).

[jQuery] Changing input value from an array

2008-05-16 Thread XeroXer
Hi there, I feel that I am in need of some help with a jQuery problem. Well right now it's not really jQuery since I haven't done anything, but I want it made for jQuery. This is what I want :) :: I have an array of values and id's in php that I easily can put into jQuery arrays. Let's say I

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
Bramus! wrote: Might be Firebug Itself as builds 1.2a26X and 1.2a27X totally broke XHR. I've confirmed that it was indeed Firebug 1.2a27X. Cheers, Marcus

[jQuery] Re: Re[jQuery] place images

2008-05-16 Thread harmstra
Nobody? -- View this message in context: http://www.nabble.com/Replace-images-tp17228847s27240p17273729.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: jMP3 plugin: Preventing more than one song from playing at the same time.

2008-05-16 Thread Sean O
Hi, It looks like Jeroen's MP3 player has been replaced by a generic media player, but it still seems to use the flash object, so it should be able to be manipulated. There's a page here that demonstrates playing only one media file at a time:

[jQuery] JQuery Help..

2008-05-16 Thread Raghuveer Rawat
Hi, Can someone please help me on below problem? I have a JSON formatted String like below.. * {match:[Chicago,California,Calcutta], ** AllTag:[Newyork,Paris,London,Chicago,California,Calcutta]**}* I have to write a function which will look for string *match* in above JSON formatted string and

[jQuery] Re: Google Maps / JQuery

2008-05-16 Thread [EMAIL PROTECTED]
All not working. Sorry the plugin does not have all features.

[jQuery] Re: [PLUGINS] Two new controls from Filament Group

2008-05-16 Thread Rey Bango
Hi Matthieu, I wish I could take the credit but it was created by the team at the Filament Group. :) Rey Matthieu BARBE wrote: Whou, nice plugin ! Good job rey ;) 2008/5/16 Rey Bango [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Filament Jquery iPod drilldown widget :

[jQuery] Re: trigger event on resize of window

2008-05-16 Thread Eridius
What happens if there is another $(window).resize event in another plugin, does both things happen or only the last one called? Jason Huck wrote: Yes, .resize(): html head script type=text/javascript

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
Marcus Better wrote: I've confirmed that it was indeed Firebug 1.2a27X. And it works again in 1.2.a28X. Marcus

[jQuery] SOLVED - Re: javascript in php loop, want to take if out of the php while statement?

2008-05-16 Thread thekman
Got it working with some help from James over on http://www.jdempster.com/2007/08/11/jquery-cookiejar/#comment-154 On May 16, 2:05 am, thekman [EMAIL PROTECTED] wrote: Hi Scott, got to play around with it a little have some if it figured out, thanks. the json_encode() of my php array returns

[jQuery] Re: javascript in php loop, want to take if out of the php while statement?

2008-05-16 Thread Scott González
you can append the # to the box_id before putting it into the PHP array, resulting in your array looking like: ['#box1', '#box2', '#box3', '#box4'] then you can just do an implode on that array like: $selector = implode(',', $box_array); then just use that selector for your hide call: $(?php

[jQuery] Re: JQuery Help..

2008-05-16 Thread Scott Sauyet
Raghuveer Rawat wrote: {match:[Chicago,California,Calcutta], AllTag:[Newyork,Paris,London,Chicago,California,Calcutta]} I have to write a function which will look for string match in above JSON formatted string and will return JSON array associated with it...so for above string my output

[jQuery] Re: loading content form ajax request in safari

2008-05-16 Thread Eridius
Another weird this is that is seem that not all javascript is include when placed inline. I have code that created a swf object and when the javascript code what inline safari would not load if but FF/IE did but when i placed the javascript is a separate file and included that fine the player

[jQuery] Re: Validate Plugin - Message customization with metadata

2008-05-16 Thread Dane
Ah, agreed. I'll make these changes and send in a ticket. On May 15, 4:20 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: How about this? meta: default class={required:true,minlength:2,messages:{required:'Enter this!',minlength:'Way to short'}} meta: validation

[jQuery] Re: Expanding the clickable region of a checkbox

2008-05-16 Thread Andiih
Thanks guys. That's (give or take an '=' sign) perfect :-) I presme I can acutally lose the 'cb = ' or is there a reason for needing that assignment ? Andrew On May 16, 12:10 am, Wizzud [EMAIL PROTECTED] wrote: Eg.   $('td').bind('click', function(e){       if(e.target===this){        

[jQuery] Re: javascript in php loop, want to take if out of the php while statement?

2008-05-16 Thread thekman
Thanks Scott, What I am now using outside of the php loop is: var cookieJar = $.cookieJar('CookieJar'); $.each(cookieJar.toObject(), function(i, val) { if (val == 'closed') { $('#'+i+' .Content').hide(); } }); this works perfectly, unless you know of any reason I should be doing it

[jQuery] Re: Yet more validation questions

2008-05-16 Thread Gordon
Thanks for the help, it's working now. My finished validation method looks like this: jQuery.validator.addMethod ('ccard', function (value, elem) { var pattern = new RegExp (/\*{9,15}[0-9]{4,4}/i); if (pattern.test (value)) { return (true); }

[jQuery] [Validate] this[0] is undefined error

2008-05-16 Thread Jason Huck
I'm using Jörn's awesome Validate plugin and have accidentally broken something. I have two radio buttons in a fieldset like so: fieldset id=meta26group input id=meta26_3 class=required digits type=radio value=3 name=meta26/ label for=meta26_3Stuff/labelbr/ input id=meta26_5 class=required

[jQuery] Re: Google Maps / JQuery

2008-05-16 Thread [EMAIL PROTECTED]
Alright i made some progress. I load this additionaly. Without it, the code above works flawless. --- function $(element) { return document.getElementById(element); } var Compat = { addEventHandler: function(element, event, handler) { var _tmp, _onevent;

[jQuery] Re: Google Maps / JQuery

2008-05-16 Thread Quinode
try to debuf with FIREBUG jquery code and gmap code alone from each other if javascript has one error, it will block everyhting so find the blocking error first, fix it, and put it alltogether again

[jQuery] Favorite Modal Dialog?

2008-05-16 Thread A13thGuest
Hey all, I'm needing to implement a dialog that will contain an div. I need the rest of the page to go dark and have controls outside the dialog disabled. Are there any existing favorite approaches or plugins? Thanks in advance!

[jQuery] Re: Favorite Modal Dialog?

2008-05-16 Thread mdrisser
Its funny that you should mention that, I just put together my first tutorial, and its concerning implementing the jQuery UI's Dialog component, which has a modal option. You can take a look at it here: http://mdrisser.r1designs.net/blog/ On May 16, 7:57 am, A13thGuest [EMAIL PROTECTED] wrote:

[jQuery] jQuery UI

2008-05-16 Thread mdrisser
I've just started playing around with the jQuery UI and while I was at it I decided to put together a series of tutorials on implenting the UI, I've never written any tutorials before, so it may not be the best, but I hope that it will be useful to someone. You can find it at

[jQuery] Re: Re[jQuery] place images

2008-05-16 Thread Ariel Flesler
Yes, jQuery.Preload http://flesler.blogspot.com/2008/01/jquerypreload.html You'll need to put its settings to work to fit your needs, you should be able to easily handle that with the Rollover/Thumb Mode. You set the option 'find' to /(\d+)\.jpg$/ and 'replace' to 'http://

[jQuery] Re: [Validate] this[0] is undefined error

2008-05-16 Thread Jason Huck
p.s., I was using a slightly older version of the plugin, but updating to the latest made no difference. The rest of the validation (and there's quite a bit of it) is all working just fine. - jason On May 16, 11:09 am, Jason Huck [EMAIL PROTECTED] wrote: I'm using Jörn's awesome Validate

[jQuery] Re: [Validate] this[0] is undefined error

2008-05-16 Thread Jörn Zaefferer
The valid()-method fails when its called without any element selected. So in your case, one of these two selectors seems to find nothing: $('.reqPC') $('.reqPA') Jörn On Fri, May 16, 2008 at 5:34 PM, Jason Huck [EMAIL PROTECTED] wrote: p.s., I was using a slightly older version of the

[jQuery] Re: javascript in php loop, want to take if out of the php while statement?

2008-05-16 Thread Scott González
That's fine too. Since it looks like you're able to do everything you need without using PHP at all, you may want to consider moving that code into a JavaScript file so that it gets cached. On May 16, 10:31 am, thekman [EMAIL PROTECTED] wrote: Thanks Scott, What I am now using outside of the

[jQuery] Re: jqDock doesn't do anything?

2008-05-16 Thread Davis
I tried DOCTYPE transitional xhtml, also no luck. anyway, many thanks for your help. Davis. On May 16, 6:48 pm, Wizzud [EMAIL PROTECTED] wrote: Do you have a web-accessible example I can look at? On May 16, 3:40 am, Davis [EMAIL PROTECTED] wrote: wizzud, thanks for your help. now

[jQuery] ToolTip Sticky

2008-05-16 Thread Demerzel21
I'm trying to get the following functionality I used to get from a Dojo Tooltip v 0.4 I want to have like a mini-form on my tooltip. I would hover over my element and the tooltip would appear. Then I could mouseover the tooltip. To keep it from disappearing I put sticky:true - the thing is, if I

[jQuery] Re: [Validate] this[0] is undefined error

2008-05-16 Thread Jason Huck
Ah, okay. The form is generated dynamically so either of those may not exist in a given instance. Easy enough to code around, though. Thanks, working fine now! Jason On May 16, 11:45 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: The valid()-method fails when its called without any element

[jQuery] Chili 2.0 - New release of the jQuery code highlighter

2008-05-16 Thread aercolino
This is just to let you know that a new version of Chili is out and ready to be downloaded. http://noteslog.com/post/chili-20-released-today/

[jQuery] Re: date picker doesn't work

2008-05-16 Thread macsig
Thanks Giovanni but it's not a typo mistake, I use exactly the same code I'm using in an other page. By the way I tried without capital P and the result is below: $j(.date-pick).datepicker is not a function $j('.date-pick').datepicker(); Any other idea? PS Anche se adesso vivo in

[jQuery] Re: Disable Submit button if no text entered

2008-05-16 Thread sashabe
Yes, but it seems that the script checks the input length only one time at page load, and then button's state doesn't change if you continue to type or delete input's content. Michael E. Carluen-2 wrote: Another suggestion will be to get the length of the field: var t =

[jQuery] Re: Validate Plugin - Message customization with metadata

2008-05-16 Thread Dane
- Avoiding the conflict between a method messages and those actual messages should be easy enough. Should we plan on supporting a simulatanious message method and custom messages in metadata? As stated, I'm still climbing the learning curve :). Before I implement this I just want to make sure

[jQuery] The simplest of questions I'm sure...

2008-05-16 Thread [EMAIL PROTECTED]
I'm brand new to jquery, and found a nice little 10-line accordion- style menu script: $(document).ready(function(){ $(dd:not(#orasm)).hide(); $(dt a).click(function(){ $(dd:visible)).slideUp(slow);

[jQuery] Re: The simplest of questions I'm sure...

2008-05-16 Thread Karl Swedberg
HI Robin, You can check for the visibility of the dd and then only show it if it isn't visible to begin with. Untested and unindented: $(document).ready(function(){ $(dd:not(:first)).hide(); $(dt a).click(function(){ var $next = $(this).parent().next(); if

[jQuery] Autocomplete - is bgiframe required?

2008-05-16 Thread rolfsf
I'm getting a javascript error in Firefox (list.bgiframe is not a function) with the autocomplete plugin if I don't include bgiframe, but the documentation seems to imply that bgiframe is optional. Is bgiframe required?

[jQuery] Easy way to filter and sort a list

2008-05-16 Thread hubbs
I am looking for a way to easily filter, and short a list. I found the tableFilter plugin, but it is an overkill for what I need, and I don't want to use tables. I want to be able to filter a list of items, and also sort this list by ABC. I love the idea of the filtering being linked to an

[jQuery] Highlight code WITHIN a textarea?

2008-05-16 Thread hubbs
Is there a way to highlight code within a textarea block? It would be nice to be able to color code the text, as we have a large textarea that html and javascript is added to. I was looking at using Chili, but it does not seem this would work.

[jQuery] Re: The simplest of questions I'm sure...

2008-05-16 Thread Karl Swedberg
Oops. I didn't close the if condition's parentheses. Sorry about that. This line ... if ($next.is(':visible') { should be ... if ($next.is(':visible')) { --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 16, 2008, at 2:25 PM, Karl Swedberg

[jQuery] Re: The simplest of questions I'm sure...

2008-05-16 Thread Karl Swedberg
Ugh! That's what I get for not testing. Your code had an error: $(dd:visible)) should be ... $(dd:visible) So the whole thing... $(document).ready(function(){ $(dd:not(:first)).hide(); $(dt a).click(function(){ var $next = $(this).parent().next(); if

[jQuery] Re: Highlight code WITHIN a textarea?

2008-05-16 Thread Karl Rudd
You can't style the text within a normal text area. You'd have to use one of the WYSIWYG editors. Karl On Sat, May 17, 2008 at 4:46 AM, hubbs [EMAIL PROTECTED] wrote: Is there a way to highlight code within a textarea block? It would be nice to be able to color code the text, as we have a

[jQuery] Re: Problem launching facebox in Safari

2008-05-16 Thread Nat
Thanks for that. Sorry for the late reply - I have been quite ill and JavaScript has been the last thing on my mind. Is there any chance that I could have a look at your updated facebox.js file so that I can get it going aswell. Thanks. On Apr 9, 2:49 pm, dibeja [EMAIL PROTECTED] wrote:

[jQuery] Re: how to create a container for page flows and history

2008-05-16 Thread YC
Hi - I solved most of the issues below - just want to share with the group (not sure if I double posted...) On May 15, 6:37 pm, YC [EMAIL PROTECTED] wrote: I am wondering if there is an easy way to create a container to contain a series of pages that would be loaded via ajax, possibly with

[jQuery] Jquery Help - Navigation

2008-05-16 Thread bludog
This is probably something very basic, but why does this logic only work for the first section of ul's in the nav and not the next? Please enlighten me. Thanks. style type=text/css body, body * {margin: 0px; padding: 0px;} ul#mainNav li{display: inline;}

[jQuery] Re: how to create a container for page flows and history

2008-05-16 Thread YC
Hi - I figured out most of the issues below - just want to share with the group. On May 15, 6:37 pm, YC [EMAIL PROTECTED] wrote: I am wondering if there is an easy way to create a container to contain a series of pages that would be loaded via ajax, possibly with ability to handle history

[jQuery] Re: Highlight code WITHIN a textarea?

2008-05-16 Thread Gordon
I was having this problem too. There are a couple of javascript editors that'll do the job but none of the ones I've found really do a flawless job of it. EditArea was the most compatible of the ones I found, but was also slow as hell. On May 16, 7:46 pm, hubbs [EMAIL PROTECTED] wrote: Is

[jQuery] Re: ToolTip Sticky

2008-05-16 Thread Karl Swedberg
On May 16, 2008, at 11:58 AM, Demerzel21 wrote: I'm trying to get the following functionality I used to get from a Dojo Tooltip v 0.4 I want to have like a mini-form on my tooltip. I would hover over my element and the tooltip would appear. Then I could mouseover the tooltip. To keep it from

[jQuery] Re: Any way to avoid having this IE warning message?

2008-05-16 Thread Karl Rudd
Chunk the code up using setTimeout(). http://groups.google.com/group/jquery-en/browse_thread/thread/aabbe7e341902100 Karl Rudd On Sat, May 17, 2008 at 5:56 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a page has a lot of data and can run slowly. As soon as I try and load

[jQuery] Re: Jquery Help - Navigation

2008-05-16 Thread Karl Swedberg
On May 16, 2008, at 4:40 PM, bludog wrote: This is probably something very basic, but why does this logic only work for the first section of ul's in the nav and not the next? Please enlighten me. Thanks. You're using multiple elements with the same ID, which is not valid. Instead of

[jQuery] Re: Expanding the clickable region of a checkbox

2008-05-16 Thread Wizzud
No, you can lose the 'cb = ', it was left over from my testing ... sorry. On May 16, 2:55 pm, Andiih [EMAIL PROTECTED] wrote: Thanks guys. That's (give or take an '=' sign) perfect :-) I presme I can acutally lose the 'cb = ' or is there a reason for needing that assignment ? Andrew On

[jQuery] Re: ToolTip Sticky

2008-05-16 Thread Demerzel21
That's kind of what I'm using, but the enhancement I'd really love to see is such that if you do a mouseout on the original text that had the tooltip attached to it - in your case jTip Style clueTip then that would cause the tooltip to disappear too. On May 16, 5:04 pm, Karl Swedberg [EMAIL

[jQuery] No ajax methods working in IE7

2008-05-16 Thread ferdjuan
I wrote a simple little quick contact form using $.post, it works fine on every browser INCLUDING internet explorer 6, however 7 crashes instantly when you click submit. To test and see if it was just my script that was bad I opened http://book.learningjquery.com and went to the section on Ajax

[jQuery] $.post() not sending info

2008-05-16 Thread riscphree
I've got a suggestion form that inserts into a db table when they submit, my jquery is located in a /js folder, while this page is in /, and my db settings are in /includes/ Here is my $.post $.post(../sendsuggest.php, { subject: subjectVal, message: messageVal, theusername:

[jQuery] Looping animate function

2008-05-16 Thread ScottBruin
Hi group, I've been struggling with this problem for a day or two. Situation: - I want to have text slide back and forth across the browser at a rate I set; I'm attempting to use animate to do this, and it works pretty well (though seems very resource intensive). Basically, I take the following

[jQuery] json parser doesn't output

2008-05-16 Thread pedalpete
I've been trying to get this to work following these instructions http://blog.reindel.com/2007/10/02/parse-json-with-jquery-and-javascript/ , but i can't seem to get any output. I am getting json data from google maps getLocations(), so the way I grab the json is a bit different. according to

[jQuery] Re: $.post() not sending info

2008-05-16 Thread Jason Huck
If this code is verbatim, then I would say it's because your $.post() call does not include a submit param, which is what sendsuggest.php is checking for in order to process the submission. - jason On May 16, 7:59 pm, riscphree [EMAIL PROTECTED] wrote: I've got a suggestion form that inserts