[jQuery] Re: Applying a string as a function?

2007-10-09 Thread Pops
You kidding me? Thats way too easy! :-) From now on, if I'm working on something and it takes me more than 10 minutes, I'm posting the question. :-) Question: I was thinking usng .apply here. But I wasn't 100% sure how that worked. In general, if I see something like this:

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-09 Thread Wessa
Thanks Joel. appreciate the response. I have used a hybrid of a slide out menu and a drop down as the third level. I had cleared my cache, used the alt/refresh technique etc. and still cannot see the drop down portion of the menu. I had a collegue do the same and he can see what I see which as

[jQuery] Re: Applying a string as a function?

2007-10-09 Thread Pops
How do you passing parameters via the settings? An example is passing the speed var settings = { ... show: slideDown(50), ... }; I get a syntax error for: $box[ settings.show || 'show' ](); I guess I have to passing the parameter as setting? var

[jQuery] Re: Applying a string as a function?

2007-10-09 Thread Michael Geary
From: Pops How do you passing parameters via the settings? An example is passing the speed var settings = { ... show: slideDown(50), ... }; I get a syntax error for: $box[ settings.show || 'show' ](); I guess I have to passing the

[jQuery] Re: Applying a string as a function?

2007-10-09 Thread Michael Geary
You kidding me? Thats way too easy! :-) You win some, you lose some. Next time it will be browser inconsistencies! :-) I was thinking usng .apply here. But I wasn't 100% sure how that worked. In general, if I see something like this: xxx.apply(x,[y,z]); From what I am

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-09 Thread Wessa
Actually it is sorted now... using ul.SubCategories{margin: 0px;height:800px} So it was a css issue. Thanks anyways for the help. Cheers, Wes Wessa wrote: Thanks Joel. appreciate the response. I have used a hybrid of a slide out menu and a drop down as the third level. I had

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-09 Thread Joel Birch
Ah okay I see now. I thought you meant the second level of menu was not appearing and I wasn't aware of the third level. I now do see that your third level menus are not responding to the IE z-index fix, and fortunately I can see why. An element needs to be position:relative or absolute to have

[jQuery] Re: jQuery (Superfish) conflicting with swfobject

2007-10-09 Thread Joel Birch
On 10/9/07, Wessa [EMAIL PROTECTED] wrote: Actually it is sorted now... using ul.SubCategories{margin: 0px;height:800px} So it was a css issue. Okay so applying that height sort of gets around the IE bugs, but it is not a good solution because then the ul.subCategories have 800px height and

[jQuery] Re: JSS - New Plug-in

2007-10-09 Thread R. Rajesh Jeba Anbiah
On Oct 8, 3:42 pm, Andy Kent [EMAIL PROTECTED] wrote: snip Yep, absolutely. If you have any ideas on how we could test a browsers support for a selector without maintaining a hard coded list then I would love to hear them. snip $(document).ready(function () { $('body').append( 'div

[jQuery] Re: Getting a specific option in a select

2007-10-09 Thread Giovanni Battista Lenoci
It was a mistake in cut paste... Tryed also without the star, but I can't get the option. :-( On Oct 8, 9:18 pm, motob [EMAIL PROTECTED] wrote: Try removing the colon (:) after the option element, like so: $('option[value*=\'2\']', $('#category_1')).size() On Oct 8, 12:11 pm, Giovanni

[jQuery] Re: JSS - New Plug-in

2007-10-09 Thread Andy Kent
Ok, I'm pleased to say I have updated the plugin and we are now at 0.3 This brings a whole bunch of tweaks but mainly it (hopefully) fixes the IE issues that people where having. Ta, Andy. On 9 Oct, 08:56, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: On Oct 8, 3:42 pm, Andy Kent [EMAIL

[jQuery] Re: IE6 Stylesheet Woes

2007-10-09 Thread Andy Kent
Thanks a heap for your help James, after lots of trial and error I managed to track down the source of the problem. It's a very curious IE issue, your examples work fine provided you don't try to access document.stylesheets first, if you do then that seems to kick IE off on a parsing spree. Oh

[jQuery] Re: IE6 Stylesheet Woes

2007-10-09 Thread James Dempster
Hmm interestingly odd issue. Boo Boo to M$ IE /James On 10/9/07, Andy Kent [EMAIL PROTECTED] wrote: Thanks a heap for your help James, after lots of trial and error I managed to track down the source of the problem. It's a very curious IE issue, your examples work fine provided you don't

[jQuery] How width/height is calculated? [2]

2007-10-09 Thread Michael Schwarz [MVP]
Hi, I have the same problem and didn't find a solution yet. Is there any way that I can get the height of elements not visible (because their display css property is set to none or because parent elements properties hide this element, too). Michael On Jun 17, 4:50 am, Fred Janon [EMAIL

[jQuery] Re: How width/height is calculated? [2]

2007-10-09 Thread Michael Schwarz [MVP]
Ok, I got it... thanks to extJS ;) var changed = null; function beginMeasure(el) { if(el.length == 0) return; changed = []; while(!el.is(body)) { if(el.css(display) == none) { changed.push({el: el, visibility:

[jQuery] Re: jQuery and .Net Postbacks

2007-10-09 Thread RDO
Jeff, Thank you much. However, I'm handcuffed wrt releasing code/links to the public. It's a proprietary web app -- which makes it really hard to get third-party support :/ Anyway, as I said, thank you much. All I can say is that our app deviates from the plain-vanilla C#.net and is using a

[jQuery] Re: Session management in an Ajax app

2007-10-09 Thread Penner, Matthew
There are actually two things to think of here. I don't know about CF specifically but it seems that most web servers should update their session timeout if data has been accessed in any way. I would assume that any AJAX request to the server by the browser would update this status. If

[jQuery] jQuery CSS and Superfish not working w/IE

2007-10-09 Thread befidled
I've got the following site I am working on ( http://www.tolerase.com/test2.php ) and the drop down nav is working as intended on Firefox but in IE it is all over the place. I know the problems are CSS related, can anybody with experience with Superfish and CSS help me understand how I need to

[jQuery] appending html from ajax call

2007-10-09 Thread [EMAIL PROTECTED]
Hi, New to JQuery, got some questions: $.ajax({ url: MyPage, success: function(msg){ $(msg).appendTo('body'); } msg is a html page, and it works, now I try to get only the 'h1' elements by doing this:

[jQuery] Re: Permission denied to get property Window.node Type

2007-10-09 Thread SMA
Please help me about this problem. SMA wrote: Inside http://www.insiderec.com/ When I clicked on the bottom left text to open a popup image the following error occurs, Permission denied to get property Window.node Type. With the alert which is indicated only in firefox. Working fine with

[jQuery] opacity in animations

2007-10-09 Thread Greg Warner
When I call superfish like this: $(.nav).superfish({animation : {opacity: .5}}); ... it always animates from dark to light on the first time you access a menu, and then on subsequent accesses, it's already at opacity: .5, so it doesn't animate anything. So, how can I achieve what I want, which

[jQuery] Weird problems in IE7 using blur() and $, ff to slow?

2007-10-09 Thread devzero
I have a table full of cells where i want the user to be able to click on a cell to convert it to an input box for editing (ala excel editing). When the user leaves the cell (onblur event) i want to check the content of the input for any changes, and if changed post it to the server with an .ajax

[jQuery] superfish: how do I turn off animations

2007-10-09 Thread Greg Warner
Silly Question: How do I call superfish so that it doesn't animate anything? I tried passing it an empty object {}, but that didn't work. Thanks!

[jQuery] accessing offsetHeight

2007-10-09 Thread Merc70
I'm new to Javascript and jQuery, so I'm sorry if this is basic stuff. How do I access offsetHeight for an element? This is what I have, but offsetHeight comes up undefined: var headerElem = $(#header); var headerHeight = headerElem.offsetHeight; whereas this works: var

[jQuery] Re: jqGrid new version

2007-10-09 Thread Jiming
Hi Tony, Great job, thanks! May I suggest that in multiselect, support SHIFT and CTRL, just like GMail does. Which means that you can press SHIFT and select a range of items. Jiming Tony wrote: I have released a new version of jqGrid. Demo page here: http://trirand.com/jqgrid/jqgrid.html

[jQuery] Re: Interface v1.2 Error with jQuery v1.2.1

2007-10-09 Thread PaulS
Turn off any fx options you have. I had the same problem but then removed Slide and it worked fine. On Sep 18, 3:48 am, moltar [EMAIL PROTECTED] wrote: Hi, I am using the latest jQuery v1.2.1 and the latest available Interface v1.2. Here is the sample code that I have broken down to:

[jQuery] How to push data to parent iFrame?

2007-10-09 Thread bencal
I have a page that opens an iFrame with selection information on it. When the user selects one of the options, it needs push certain data back to the parent frame regarding what was choosen (i.e. a description to a textarea, option id, etc). How do I reference the parent frame's fields to change

[jQuery] Chaining actions event handling, newbie.

2007-10-09 Thread ClapClap
Hi, One year since I discovered jQuery, it's quite the time to use it. So... Let's go... I'm in trouble with a little ajax i'm trying to set up. How to apply an event handler on ajax loaded content ? In my case, I've got a link which load a form in a div with $.get(). In the success callback,

[jQuery] Re: need a simple jquery alert or prompt example with ok or cancel choices

2007-10-09 Thread trent
It looks like the syntax you are using is from jQuery's Impromptu plugin ( http://trentrichardson.com/Impromptu/ ), if this is what you're using then you need $. infront of the prompt like so: $.prompt(Are you sure you want to delete?, { buttons: {Ok:true,Cancel:false } }); otherwise just

[jQuery] Chaining actions event handling, newbie.

2007-10-09 Thread ClapClap
Hi, One year since I discovered jQuery, it's quite the time to use it. So... Let's go... I'm in trouble with a little ajax i'm trying to set up. How to apply an event handler on ajax loaded content ? In my case, I've got a link which load a form in a div with $.get(). In the success callback,

[jQuery] Re: safari (win, mac) issues with fadeIn + callback

2007-10-09 Thread Bircha
Hi, I googled this thread (having the same problem) and it seems that Safari won't render images that have the CSS-property display: block set. See this site: http://f6design.com/journal/2006/09/29/image-source-swapping-css-and-safari/ This is a serious issue cause the whole library runs on

[jQuery] Re: how does jQuery's timeout used?

2007-10-09 Thread [EMAIL PROTECTED]
A timeout is not an error?? On 17 ago, 07:42, Erik Beeson [EMAIL PROTECTED] wrote: I guess thetimeoutjust means it will stop trying to complete the request. I've never actually tried to use it. To get an alert like you want, you might try using your own timer (untested): var ajax_timeout;

[jQuery] Re: jQuery Datagrid Plugin v.7

2007-10-09 Thread Phunky
Very interesting little plugin - this may just be what i am after for a project i am currently working on :) I will be looking at this over the next couple of days, hoping that this works with JSON dataset :D then my dreams would be answered!

[jQuery] Re: Any server status if use script tag for XSS?

2007-10-09 Thread Matt
Maybe you could attach an onload or onerror event to your html element (script) ? Anyway, jQuery has a home made method to let you do this, cross-browser: See http://docs.jquery.com/Ajax/jQuery.getScript#urlcallback Matt 2007/10/9, Jacky [EMAIL PROTECTED]: Hi, I would like to call crossite

[jQuery] Re: Using multiple versions of jQuery on the same page

2007-10-09 Thread airslim
I have exactly the same problem as Glen, that leads me to ask the same question, which is still unanswered: How does it know which jQuery to blow away and which to leave alone ?

[jQuery] [NEWS] jQuery Crash Course Article

2007-10-09 Thread Rey Bango
My buddy Nick Dominguez sent this over to me: jQuery Crash Course http://www.digital-web.com/articles/jquery_crash_course Rey

[jQuery] Re: Rotate an Image 90 Degrees with jquery-rotate plugin

2007-10-09 Thread Andy Matthews
No demo? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cfdvlpr Sent: Monday, October 08, 2007 5:12 PM To: jQuery (English) Cc: jquery-rotate Subject: [jQuery] Rotate an Image 90 Degrees with jquery-rotate plugin I started a rather lengthy

[jQuery] Re: Session management in an Ajax app

2007-10-09 Thread Dan G. Switzer, II
Rey, A buddy of mine, Raymond Camden, posted an interesting question on his blog: How can you timeout a session in an Ajax-based application? http://www.coldfusionjedi.com/index.cfm/2007/10/8/Ask-a-Jedi-How-can-you- timeout-a-session-in-an-Ajaxbased-application The gist is that if you have a

[jQuery] Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Rick Faircloth
Hi, all. I'm trying to figure out which version of Joern's validation plug-in works with jQuery 1.2.1 for use with IE 7. Validation version 1.1 works with 1.2.1 on FF2, but not IE 7. Clues, anyone? Rick

[jQuery] Re: Getting a specific option in a select

2007-10-09 Thread Karl Swedberg
Hi Giovanni, What are you trying to do with the $('#category_1') part? Is that meant to be a contextual selector? If so, you might have better luck trying it one of these ways: $('option[value*=\'2\']', '#category_1').size() $('#category_1 option[value*=\'2\']').size()

[jQuery] jquery to center a block element, footer bottom

2007-10-09 Thread crybaby
I have two questions: How do you center a block as browser window resized? How to make the footer stay bottom of viewport?

[jQuery] Re: Using multiple versions of jQuery on the same page

2007-10-09 Thread George
After looking at the code it seems quite straight-forward. Someone correct me if I've got the wrong end of the stick. Summary: The first version you include will get reinstated, the second version getting blown away. How it works: When you include jQuery, it makes a copy of the window.$ and

[jQuery] Superfish embed flash object

2007-10-09 Thread Mark
Hi Joel, I am using superfish on a page with an embeded flash object, the menu displays behind the flash. Do you know a way to make it show in front of the flash object? See an example of what I mean here. http://www.newportmirage.com.au/files/VirtualTour/low/virtual-tour-low-res.html I have

[jQuery] animating multiple items at the same time

2007-10-09 Thread petrozza
Hi! I am relatively new to jQuery and recently ran into the following problem. Let's say I have a few DIVs of the same dimensions on top of each other. I need to expand/shrink them at the same time. I tried running a loop through these DIVs and doing something like: for(i=0;i5;i++){

[jQuery] Re: accessing offsetHeight

2007-10-09 Thread Karl Swedberg
Hi Merc, If you want an integer, try this: var headerElem = $(#header); var headerHeight = headerElem.height(); If you want the value with px, try this: var headerElem = $(#header); var headerHeight = headerElem.css('height'); Hope that helps. --Karl

[jQuery] Re: Any server status if use script tag for XSS?

2007-10-09 Thread Scott Trudeau
I actually posted to the dev list about a similar issue (using JSONP, which is script-like). I'd like to put a short timer on the script calls and receive a timeout if the callback function fails to fire. Scott On 10/8/07, Jacky [EMAIL PROTECTED] wrote: Hi, I would like to call crossite

[jQuery] Enable/Disable extension

2007-10-09 Thread Daddy Fastman
Am I re-inventing the wheel here? I just want a simple extension to test if a control is enabled and to set jQuery objects quickly. If this has already been done, could you point me to it? If not, please offer comments on my approach. Thanks, Dave jQuery.fn.enabled = function(enableIt) {

[jQuery] Re: animating multiple items at the same time

2007-10-09 Thread Andy Matthews
Simplest way might be to assign a class to each of them. This way you can reference them individually by ID or as part of a group by classname. Or put them all in a parent container and reference them with child selectors: $('#container div') andy -Original Message- From:

[jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in IE 7...

2007-10-09 Thread MichaelEvangelista
Yeah, that was the one. It didnt work in IE. I got the september 25 version (on the 26th, I think!) and viola, it worked in IE. Stupid question but - are you sure you're linking to the correct js file, it exists on the server, etc? Here's the one I am using

[jQuery] Re: Chaining actions event handling, newbie.

2007-10-09 Thread Glen Lipka
There is a plugin for that called LivejQuery. http://blog.brandonaaron.net/2007/08/19/new-plugin-live-query/ It does exactly what you want. Glen On 10/9/07, ClapClap [EMAIL PROTECTED] wrote: Hi, One year since I discovered jQuery, it's quite the time to use it. So... Let's go... I'm in

[jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in IE 7...

2007-10-09 Thread Rick Faircloth
Here's something a little strange. Now, in both FF2 and IE 7, the validation doesn't until I hit enter to submit or click the submit button/ Once that happens, all validation messages show up, and from then on the validation happens as it should. Here's my validation code, js file references,

[jQuery] apply a class to the active sub menu

2007-10-09 Thread xni
Hello, I would like to apply a class to the active sub menu. I used previously to select the sub menu with this: var $path = location.pathname.substring(1); $('#nav [EMAIL PROTECTED]' + $path + ']').addClass('active'); But it failed with the last jquery version I tried: $('#nav a[href=' + $path +

[jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in IE 7...

2007-10-09 Thread MichaelEvangelista
Hi Rick - let me say right up front I'm no expert. But - have a look at my page's source (link in post above, in this thread) I am calling the rules a bit differently, using the class and title of the input itself, and actually have the onKeyUp validation turned off in this case, so mine

[jQuery] Re: Rotate an Image 90 Degrees with jquery-rotate plugin

2007-10-09 Thread cfdvlpr
I couldn't find one. :(

[jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in IE 7...

2007-10-09 Thread Rick Faircloth
Yes, your validation and error display is quite different from mine, but I think the major difference in the validation is what triggers it... for yours its after the form is submitted... for mine it keyup. However, the keyup is only kicking in after I submit the form once. It's not terrible

[jQuery] Re: accessing offsetHeight

2007-10-09 Thread Michael Geary
I would change the name of the headerElem variable too. That name clearly indicates that it's supposed to be a DOM element, but it isn't. This will lead to much confusion. $() does not return a DOM element, it returns a jQuery object, which is an array of DOM elements (even in the case where

[jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in IE 7...

2007-10-09 Thread MichaelEvangelista
Have you tried a post on Joern's plug in page? He answers those posts pretty frequently. -- -- Michael Evangelista, Evangelista Design Web : www.mredesign.com Newsgroups: news://forums.mredesign.com Blog : www.miuaiga.com Rick Faircloth [EMAIL PROTECTED] wrote in message news:[EMAIL

[jQuery] Re: 1.2 and XPath Contains Predicate Selector

2007-10-09 Thread corpore
checked it today - Yep - it did the trick! Thanks Karl! Karl Swedberg-2 wrote: Hi there, In 1.2.x, you would use the CSS equivalent: $(a[id *= smenu]) Or, you could use the Basic XPath plugin. http://jquery.com/plugins/project/xpath Hope that helps, --Karl

[jQuery] Re: jQuery 1.2.1 and Validation Plug-in won't run in IE 7...

2007-10-09 Thread Rick Faircloth
Not yet... but that sounds like a good idea. I thought maybe he might chime in here. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MichaelEvangelista Sent: Tuesday, October 09, 2007 12:09 PM To: jquery-en@googlegroups.com Subject:

[jQuery] Re: Any server status if use script tag for XSS?

2007-10-09 Thread Jacky
If the server return something like 404/500 page, I guess it would cause a javascript error when browser try to evaluate, and the try-catch method could work. Timer would be a good idea, but to determine the time to wait would require some specific measure. -- Best Regards, Jacky 網絡暴民

[jQuery] Re: Any server status if use script tag for XSS?

2007-10-09 Thread Jacky
If I remember correctly, getScript can't do cross site. -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net On 10/9/07, Matt [EMAIL PROTECTED] wrote: Maybe you could attach an onload or onerror event to your html element (script) ? Anyway, jQuery has a home made method to let you do this,

[jQuery] Improvements to the docs

2007-10-09 Thread [EMAIL PROTECTED]
Wouldn't it be a good idea to mention what version of jQuery functions are available in above each function, much like the PHP docs?

[jQuery] Re: Validation madness

2007-10-09 Thread Steve Blades
How about these? - beforeSubmit: called before the validation starts - success: called when the form is valid - submitHandler: replaces the default submit, handler must do an ajaxSubmit or whatever Sounds outstanding, as long as the submitHandler only covered an ajaxSubmit. If it was an all

[jQuery] Re: Validation madness

2007-10-09 Thread Steve Blades
Whoops! One last thing. An 'onValidationFailure' type of method, allowing someone to run some scripting should the validation fail (like resetting data changes one might have made in the beforeSubmit call). You may even want to split things further, with a 'beforeValidation' (occurring prior to

[jQuery] Replacing text based on language selection

2007-10-09 Thread Danjojo
I think what I need to do will work... I just ran into a road block. One of my co-workers has filled out an XML sheet for me, with REAL japanese values i.e. subAboutLocUSロケーション/subAboutLoc subAboutWWグローバルロケーション/subAboutWW

[jQuery] Re: Any server status if use script tag for XSS?

2007-10-09 Thread Karl Swedberg
Hey Jacky, it can now. :-) from http://docs.jquery.com/Ajax/jQuery.getScript#urlcallback: Before jQuery 1.2, getScript was only able to load scripts from the same domain as the original page. As of 1.2, you can now load JavaScript files from any domain. --Karl _ Karl

[jQuery] Re: Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hi, all… I’m trying to figure out which version of Joern’s validation plug-in works with jQuery 1.2.1 for use with IE 7. Validation version 1.1 works with 1.2.1 on FF2, but not IE 7. Clues, anyone? Until validation 1.2 is released, give the latest revision a try:

[jQuery] Re: Validation madness

2007-10-09 Thread Jörn Zaefferer
Steve Blades schrieb: Whoops! One last thing. An 'onValidationFailure' type of method, allowing someone to run some scripting should the validation fail (like resetting data changes one might have made in the beforeSubmit call). You may even want to split things further, with a

[jQuery] Re: Session management in an Ajax app

2007-10-09 Thread Michael Geary
I noticed one error in the $.expire function I posted in the previous message. It doesn't pass through the return value from the original function. This line: fn.apply( this, arguments ); should be: return fn.apply( this, arguments ); Worse, this solution doesn't

[jQuery] Re: Validation madness

2007-10-09 Thread Josh Nathanson
- onsubmit: Boolean, default true - validate on form submit (similar to onkeyup/onblur) - beforeValidation: Callback, called before doing any validation - beforeSubmit: Callback, called before submitting the form (default submit or calling submitHandler, if specified) I'm not sure yet if

[jQuery] Re: Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Rick Faircloth
Hi, Jorn... I tried the latest revision below, but it's performing the same way... no validation until the form is submitted, even though validation is set to be triggered on keyup. After the form is submitted, it works perfectly. Rick -Original Message- From:

[jQuery] Re: Replacing text based on language selection

2007-10-09 Thread Danjojo
Update: I figured out it is actually working , but only in FireFox 2+ ANything I can do differently to adjust it to work in IE7 and IE6? We can always fall back and demo in FireFox, but I would rather learn of the solution. THanks guys. On Oct 9, 1:53 pm, Danjojo [EMAIL PROTECTED] wrote: I

[jQuery] Re: Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hi, Jorn... I tried the latest revision below, but it's performing the same way... no validation until the form is submitted, even though validation is set to be triggered on keyup. After the form is submitted, it works perfectly. Thats supposed to be a feature. The

[jQuery] Re: Session management in an Ajax app

2007-10-09 Thread Bil Corry
Michael Geary wrote on 10/9/2007 1:27 PM: It's still an interesting bit of code (of course I would say that!) - the $.expire function shows how easy it is to augment an existing JavaScript function with new behavior. It *is* interesting, thanks for sharing the code. We display a countdown

[jQuery] Re: Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Josh Nathanson
Thats supposed to be a feature. The assumption: Its very annoying if the validation starts whining about invalid fields before the user even had the chance to enter a correct value. As long as a field isn't marked as invalid (eg. before first submit or blur with a non-empty invalid field),

[jQuery] Re: Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Rick Faircloth
I said earlier to Michael, that the way it's working now is not too bad... A user has a chance to complete the form and submit before getting any messages. At that point, on keyup validation kicks in and basically guides the user through changing the errant input data. So, if that's the way

[jQuery] Re: Validation madness

2007-10-09 Thread Jörn Zaefferer
Josh Nathanson schrieb: - onsubmit: Boolean, default true - validate on form submit (similar to onkeyup/onblur) - beforeValidation: Callback, called before doing any validation - beforeSubmit: Callback, called before submitting the form (default submit or calling submitHandler, if specified)

[jQuery] Re: Validation madness

2007-10-09 Thread Josh Nathanson
Nope, that wasn't included. I see the point though. Does it make more sense to run that before displaying error messages, or afterwards? How to name it? beforeErrorDisplay? afterValidation? beforeFailure? Either before or after would be fine I think. The reason is that you might want to

[jQuery] Re: JSS - New Plug-in

2007-10-09 Thread hj
On Oct 9, 12:56 am, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: On Oct 8, 3:42 pm, Andy Kent [EMAIL PROTECTED] wrote: snip Yep, absolutely. If you have any ideas on how we could test a browsers support for a selector without maintaining a hard coded list then I would love to hear

[jQuery] Re: Replacing text based on language selection

2007-10-09 Thread James Dempster
Do you have an example of the problem you are getting? Do you get any javascript errors? Have you ensured characters are correctly encoded? On Oct 9, 7:44 pm, Danjojo [EMAIL PROTECTED] wrote: Update: I figured out it is actually working , but only in FireFox 2+ ANything I can do differently

[jQuery] Re: Replacing text based on language selection

2007-10-09 Thread Danjojo
Well right now my only problem is that the above Jquery code example in my original post, does not work in Internet Explorer 7. It does re-write the entire page in Japanese (good enough for my demo, later I will use a database) in FireFox browser. Any ideas how to update the Jquery code to work

[jQuery] good but could be better blur() form submit

2007-10-09 Thread FrankTudor
Hi guys/gals, Here is a snip of code I was testing for a part of my application. It is very neat but doesn't meld well with my other session stuff. Basically if you remove focus from the text box using blur(), it submits the form and sets the Coldfusion variable. Take a look and see if this

[jQuery] Re: Which Validation Verison with jQuery 1.2.1?

2007-10-09 Thread Rick Faircloth
Could be, Josh... I've gone back-and-forth between onblur and onkeyup. The only consideration is that with onkeyup the user's attention is still on that field, whereas with onblur, the user's attention has gone on to the next field even before the tab takes place. I think it's so close it

[jQuery] Re: Any server status if use script tag for XSS?

2007-10-09 Thread Jacky
Thanks. After look into the getScript code, I tried to play around with the readyState of the script elements. script.onload = script.onreadystatechange = function(){ try{ document.body.innerHTML += p + this.readyState + /p;

[jQuery] Re: animating multiple items at the same time

2007-10-09 Thread petrozza
Ok. But what code do I use to animate a group of items at the same time? Let's say I have 5 DIVs with the same class called 'box'. How do I animate all of these items instantaneously? Thanks On Oct 9, 10:28 am, Andy Matthews [EMAIL PROTECTED] wrote: Simplest way might be to assign a class to

[jQuery] Re: animating multiple items at the same time

2007-10-09 Thread petrozza
I tried that but there's still a slight delay between elements On Oct 9, 10:28 am, Andy Matthews [EMAIL PROTECTED] wrote: Simplest way might be to assign a class to each of them. This way you can reference them individually by ID or as part of a group by classname. Or put them all in a

[jQuery] animating multiple items at the same time

2007-10-09 Thread petrozza
Hi! I am relatively new to jQuery and recently ran into the following problem. Let's say I have a few DIVs of the same dimensions on top of each other. I need to expand/shrink them at the same time. I tried running a loop through these DIVs and doing something like: for(i=0;i5;i++){

[jQuery] Re: animating multiple items at the same time

2007-10-09 Thread petrozza
Ok, but how do I animate multiple all items with the same class instantaneously? Thanks On Oct 9, 10:28 am, Andy Matthews [EMAIL PROTECTED] wrote: Simplest way might be to assign a class to each of them. This way you can reference them individually by ID or as part of a group by classname. Or

[jQuery] scrolling the browser

2007-10-09 Thread [EMAIL PROTECTED]
hi, I appended a html page to a DIV near the end of page: $(msg).appendTo($('#new_comments').empty()); however the user has to scroll down to view, is there a way to scroll the browser to the last in jquery/javascript? Thanks. A.C.

[jQuery] Re: Keeping the calendar plug in open?

2007-10-09 Thread 1Marc
jQuery calendar has inline display - click the inline tab on the demo page: http://marcgrabanski.com/code/jquery-calendar All you have to do is simply attach the calendar to a span or div instead of an input. Vualah! On Oct 7, 3:31 pm, iain duncan [EMAIL PROTECTED] wrote: On Sun, 2007-07-10

[jQuery] scrolling the browser

2007-10-09 Thread [EMAIL PROTECTED]
hi, is there a way to scroll to the bottom of the page? a.c.

[jQuery] How to get the value of radio button

2007-10-09 Thread Johny
For example I have a group of radio buttons and would like to get value of the selected radio button. div id='Details'input type=radio value=Buttername=Food input type=radio value=Breadname=Food /div IHow to get the value using jQuery? Thanks for reply L.

[jQuery] jQuery Calendar v2.7 and custom date ranges

2007-10-09 Thread pixelwizzard
Hi All, Does anyone know how to get the date range to work for the calendar? I tried adding this code, but maybe I put it in the wrong place or something. Please help. script $(document).ready(function(){ $('.calendarRange').calendar({fieldSettings: customRange, autoPopUp: 'focus',

[jQuery] Re: Keeping the calendar plug in open?

2007-10-09 Thread 1Marc
jQuery calendar also has inline display. Click the inline tab on the demo page to view it: http://marcgrabanski.com/code/jquery-calendar/ All you have to do is simply attach the calendar to a span or div instead of an input. Vualah! And as far as which calendar to choose - be happy you have

[jQuery] Overriding jQuery Function

2007-10-09 Thread NeilM
I would like to be able to 'override' a standard jQuery function to provide it with customised features and/or functionality whilst still being able to call the base/original function from within the new function to do the majority of the work. Is there a recommended approach to achieving this

[jQuery] Re: Superfish embed flash object

2007-10-09 Thread cbs1918
For your embeded flash object set your wmode to transparent. On Oct 9, 9:50 am, Mark [EMAIL PROTECTED] wrote: Hi Joel, I am using superfish on a page with an embeded flash object, the menu displays behind the flash. Do you know a way to make it show in front of the flash object? See an

[jQuery] Re: Superfish embed flash object

2007-10-09 Thread brianfidler
I don't believe this has anything to do with Superfish or jQuery. Try adding the following code to your HTML where your Flash movie is embedded: param name=wmode value=transparent / and add the following to the embed src=... wmode=transparent so this will be your full code for embedding your

[jQuery] What is the JQuery's equipvalent of this?

2007-10-09 Thread [EMAIL PROTECTED]
Hi, I have following javascript to jump to an anchor point: window.location.hash=mycomments; what is the JQuery's equivalent? the above code works in all the browser, also Safari except safari will be always in a 'loading' mode, any idea? Thanks. A.C.

[jQuery] Superfish, jQuery and flashing menu...

2007-10-09 Thread befidled
http://www.tolerase.com/test2.php The navigation for the site above works fine in Firefox. In IE however, the menu rollover blinks everytime a submenu list element is rolled over. What can I do to fix this? Also, in Safari the full width of the submenu does not display until the user rolls over

[jQuery] Re: animating multiple items at the same time

2007-10-09 Thread petrozza
I did that but there's still a noticeable delay between animations On Oct 9, 10:28 am, Andy Matthews [EMAIL PROTECTED] wrote: Simplest way might be to assign a class to each of them. This way you can reference them individually by ID or as part of a group by classname. Or put them all in

  1   2   >