[jQuery] Re: JS not working

2008-07-12 Thread Hamish Campbell
Not familiar with corners, but the problem is that you're applying corners before the div called differentcorners exists. The line $(#differentcorners).corner(tl 8px).corner(tr br 8px); is being executing once the page is loaded - it searches for the div called 'differentcorners', but at the

[jQuery] Animate Clip CSS Properties

2008-07-12 Thread Wil Everts
Hello All, I've found myself stuck with something. I have an image which has a clip applied to it: #some_image { clip: rect(0px, 150px, 0px, 0px); } and I want to animate it but the .animate function doesn't seem to work using the following: $('#some_image ').animate({clip:rect(0px, 450px,

[jQuery] code.jquery.com CDN fallback?

2008-07-12 Thread DotnetShadow
Hi there, Using code.jquery.com CDN is there any way to actually have a fallback to local file in case the system is down? Thanks in advance Regards DotnetShadow

[jQuery] window focus blur flag

2008-07-12 Thread Nevermeint
I'm working on a ajax-based application and have to know if a window is focused or not. When i try this in firefox or safari it works fine but when i try IE6 or IE7, the focus gets lost when clicking another element in the dom. My doctype is XHTML Transitional. My script: var focusFlag

[jQuery] using jquery CDN and fallback system?

2008-07-12 Thread DotnetShadow
Hi there, (Sorry if this has been posted many times everytime I go to post it never shows up) I'm just wondering with code.jquery.com what fallback strategy do people use if it's down? Regards DotnetShadow

[jQuery] code.jquery.com CDN fallback?

2008-07-12 Thread DotnetShadow
Hi there, I was wondering what strategy people use when pointing to code.jquery.com if it is down etc? Is there any way to fallback to a local version? Regards DotnetShadow

[jQuery] Re: How to know when you can't scroll any further

2008-07-12 Thread fambi
Thanks guys! Special thanks Karl, it works pefectly! On Jul 10, 7:36 pm, Karl Swedberg [EMAIL PROTECTED] wrote: I don't think that is going to work as is, since scrollTop and scrollHeight are DOM properties. You could try it this way instead: $('element').scroll(function() { if

[jQuery] Re: [autocomplete] new matchContains option

2008-07-12 Thread Jörn Zaefferer
Thanks for the idea Aaron, I've commited a patch to add that option to the plugin: http://dev.jquery.com/changeset/5784 Jörn On Wed, Jul 9, 2008 at 10:56 PM, Aaron Barker [EMAIL PROTECTED] wrote: I just wanted to toss out a new feature we added to our local copy. A little history... We are

[jQuery] Re: Validate and localization

2008-07-12 Thread Jörn Zaefferer
The validation plugin bundles various localizations, but you have to implement loading the right one yourself, usually on the serverside. The plugin is server agnostic, therefore no examples for that. Jörn On Thu, Jul 10, 2008 at 7:44 AM, olivierntk [EMAIL PROTECTED] wrote: Hi, I want to use

[jQuery] Re: Jörn Zaefferer Validate has conflict wi th Mootools

2008-07-12 Thread Jörn Zaefferer
http://dev.jquery.com/view/trunk/plugins/validate/ Jörn On Thu, Jul 10, 2008 at 5:36 PM, Alexsandro_xpt [EMAIL PROTECTED] wrote: Ok... thanks Where's SVN trunk url? On 10 jul, 10:22, Scott González [EMAIL PROTECTED] wrote: This has been fixed in SVN already. You can get the current

[jQuery] Re: Validating a form in a tab

2008-07-12 Thread Jörn Zaefferer
Could you provide a testpage? Jörn On Fri, Jul 11, 2008 at 12:50 PM, Bruce MacKay [EMAIL PROTECTED] wrote: Hello folks, I'm finding it difficult to get jquery.validate to work in a form that is within a tab. My code is: $(#editorbox).html(responseText).fadeIn(500); $(#editor

[jQuery] Re: [autocomplete] - Problem with display after upgrading from 1.0 to 1.0.2

2008-07-12 Thread Jörn Zaefferer
The More at the bottom was in version previous to the 1.0 release and got removed in 1.0. You can disable the scrollbars with the scroll option, see http://docs.jquery.com/Plugins/Autocomplete/autocomplete#toptions Jörn On Fri, Jul 11, 2008 at 5:16 PM, rsmolkin [EMAIL PROTECTED] wrote: Hi

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-12 Thread Jörn Zaefferer
Remote json is still rather cumbersome to handle. Here is an example, take a look at the source: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html Jörn On Sat, Jul 12, 2008 at 1:01 AM, shapper [EMAIL PROTECTED] wrote: I also tried the following but until now I wasn't able

[jQuery] Re: jqmodal and jquery ajax request on the same page problem

2008-07-12 Thread Kassan
I found a solution: ajaxStart is global... But why? I am new to jquery, and really don't understand why $('#contactform').ajaxStart(function() { is not attached to #contactform? Please tell me who needs to update all ajax placeholders during ajax request? Funny... ...And thanks for your help

[jQuery] XML Parsing: Getting a node value

2008-07-12 Thread Arun Kumar
I have the following XML File: A os:TestTag10/os:TestTag BJSHDHSKJAD/B /A I want to get the tag os:TestTag value. I am using the following query (This XML is in xmlDoc variable). $(A, xmlDoc).find(os:TestTag).text(); The above query is not working, So I tried the below one: $(A,

[jQuery] Re: Underlay to replace overlay

2008-07-12 Thread Gabriel
Nobody ??? :( On 10 juil, 23:13, Gabriel [EMAIL PROTECTED] wrote: Hi everybody, I was wondering how I can modify Thickbox plugin so that the images do not show up over the gallery (thumb - images) but under the gallery. I call it anunderlay. Thank you very much, Gabriel

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-12 Thread shapper
Hi, I tried to make this work following your example but until now I wasn't able to make this work? Could you, please, help me out? This is what I have at the moment: $(#Tags).autocomplete(/File/GetTags, { autoFill: true, cacheLength: 1, multiple: true,

[jQuery] Re: How far scrolled down the page.

2008-07-12 Thread Dan
I'll answer my own question here... I did some more looking around. $(element).scrollTop(); will get the location of how far the window has scrolled down the document.

[jQuery] Re: Hover does not work with a#someID ... ?

2008-07-12 Thread Ariel Flesler
#pthumbs isn't child of #display. function showPNavi() { $('#pthumbs').css('opacity','0.3').slideDown(); } function hidePNavi() { $('#pthumbs').slideUp(); } -- Ariel Flesler http://flesler.blogspot.com/ On 11 jul,

[jQuery] Re: XML Parsing: Getting a node value

2008-07-12 Thread Ariel Flesler
You should check the rest of the threads. Someone JUST asked the same and got a response. $(A, xmlDoc).find(os\\:TestTag).text(); -- Ariel Flesler http://flesler.blogspot.com/ On 12 jul, 09:12, Arun Kumar [EMAIL PROTECTED] wrote: I have the following XML File: A     os:TestTag10/os:TestTag

[jQuery] Re: XML Parsing: Getting a node value

2008-07-12 Thread Arun Kumar
I searched in Google and I posted a question here. After some time, I saw the same response on Nabble. Any way thank you very much. On Jul 12, 8:43 pm, Ariel Flesler [EMAIL PROTECTED] wrote: You should check the rest of the threads. Someone JUST asked the same and got a response. $(A,

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-12 Thread Jörn Zaefferer
Please upload a testpage and provide a link. There are too many things that can go wrong here. Jörn On Sat, Jul 12, 2008 at 3:32 PM, shapper [EMAIL PROTECTED] wrote: Hi, I tried to make this work following your example but until now I wasn't able to make this work? Could you, please,

[jQuery] Re: code.jquery.com CDN fallback?

2008-07-12 Thread Michael Geary
Using code.jquery.com CDN is there any way to actually have a fallback to local file in case the system is down? code.jquery.com isn't a CDN, or is it? I wouldn't link directly there. No, there's no way to have a script tag fall back to a different file if one can't be reached. If you want

[jQuery] Superfish: strange behavior when including images in menu

2008-07-12 Thread davcar
I am using Superfish to build a dropdown toolbar that has image icons next to text for the menu items. When I use the images, the dropshadow on the sfHover ul gets covered up on the right side. Also the ul's right side jumps wider after it is initially displayed. See a demo of the problem here:

[jQuery] Re: Need Help Filtering Content

2008-07-12 Thread Willie
Thanks. This is all very helpful as I learn to use jquery. Much appreciated. On Jul 11, 12:47 pm, noon [EMAIL PROTECTED] wrote: First of all, you should be assigning your content links (the ones on the left) classes and not IDs.  Not only is it bad practice, but jQuery will stop after it

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-12 Thread shapper
Hi, I can upload the client part but I am generating my JSON using ASP.NET MVC and the project is not finish so I can't upload it because it uses a SQL server. Don't you have any idea what is going on? I set up a page with this and I will try to explain what I get. When I use:

[jQuery] [validate] [metadata] jQuery validator conflicts with metadata

2008-07-12 Thread Dreftymac
Problem: = It appears that jQuery validator plugin always assumes that metadata attached to an element is intended for use by the validator plugin, when metadata is attached to an element and validator plugin does not know what to do with it, it throws an error: TypeError:

[jQuery] [validate] [metadata] jQuery validate apparently monopolizes metadata

2008-07-12 Thread Dreftymac
PROBLEM: Attempting to use metadata plugin and validate plugin at the same time causes validate to assume all metadata is intended for validation. This breaks code where validation is used for other purposes, because validator throws an error when it tries to parse the custom non-validation-

[jQuery] Re: XML Parsing: Getting a node value

2008-07-12 Thread Diego A.
I just release a new plugin last week that might help you do this... XML to JSON plugin v1.0 http://www.fyneworks.com/jquery/xml-to-json/ Assume the XML in your example was store as a string in variable 'str', you could do this: var json = $.xml2json(str); var tagB = json.B; var tagTest =

[jQuery] Jquery AJAX data (querystring restriction)

2008-07-12 Thread raj
Hi Guys, I have been using JQuery for quite some time now but I am now stuck with a problem. I have a form with multiple fields and in one of the field (comments) user can use it to provide huge comments (say more than 2500 characters). I dont know how to send this through JQuery since IE has a

[jQuery] newbie question about assigning a varialbe for use in a selector statement

2008-07-12 Thread jt
I have a form with the following (there are about 20 of these; you can assume that the id value goes up to 706): input id=686 class=add_image type=button value=add image/ add image 2 and beneath it would like to have a form element that is normally hidden: div class=add_image_content 686 hello

[jQuery] Re: Similar Plugins

2008-07-12 Thread Diego A.
Hi all, I also think it's a great idea, but how would it actually work? Will someone over-see the plugin directory and set the relationship between plugins, or will the authors do it themselves? Cheers, Diego A. 2008/7/8 Jörn Zaefferer [EMAIL PROTECTED]: Thanks for sharing the idea. I've

[jQuery] Re: Parsing XML using jQuery

2008-07-12 Thread Diego A.
Hi there, This plugin might be useful: XML to JSON plugin v1.0 http://www.fyneworks.com/jquery/xml-to-json/ Cheers, Diego A. 2008/7/9 Wallonman [EMAIL PROTECTED]: It seems that the DOM parsed 'on the fly' isn't ready for querying. When doing something weird like: var xml = $('rootpHello

[jQuery] Re: Star rating plugin + rails

2008-07-12 Thread Diego A.
Hi JB, Thank you for spotting this problem and posting back with the solution. I've added this fix to the plugin and will publish it on Monday (when I have FTP access). Cheers, Diego A. 2008/7/9 JB [EMAIL PROTECTED]: I figured this out, just in case anyone else has the same problem. The

[jQuery] SITE SUBMISSION: Identi.ca uses jQuery

2008-07-12 Thread Richard D. Worth
Identi.ca is an open source micro-blogging service: http://identi.ca/ See the FAQ for more info: http://identi.ca/doc/faq The software that powers it is Laconica: http://laconi.ca/ - Richard Richard D. Worth http://rdworth.org/

[jQuery] Superfish - strange behavior when including images in items

2008-07-12 Thread davcar
Really liking the Superfish menu plugin...but sure wish I could figure this one out: I am using Superfish to build a dropdown toolbar that has image icons next to text for the menu items. When I use the images, the dropshadow on the sfHover ul gets covered up on the right side. Also the ul's

[jQuery] Need help on repositioning elements ect...

2008-07-12 Thread Aaron
HI ok I am making a website. I am trying to make the css position property like left: and top setting ect variable. That means it can be set to any number. I plan to use javascript to grab the clients browsers setting and use some math formula to position the elements and also resize the

[jQuery] array method on a jQuery object: deleting, adding elements

2008-07-12 Thread wolf
hi all, since a jQuery collection (say, `var j = $( 'div' )`) looks and behaves a bit like a standard javascript array (you can iterate over it, fetch single elements using `j[n]`, delete everything doing `j.length = 0`), what is the preferred way to do other array-like manipulations on it?

[jQuery] Re: array method on a jQuery object: deleting, adding elements

2008-07-12 Thread Erik Beeson
Check out the functions here, particularly under Filtering: http://docs.jquery.com/Traversing --Erik On 7/12/08, wolf [EMAIL PROTECTED] wrote: hi all, since a jQuery collection (say, `var j = $( 'div' )`) looks and behaves a bit like a standard javascript array (you can iterate over

[jQuery] Re: newbie question about assigning a varialbe for use in a selector statement

2008-07-12 Thread Karl Swedberg
I think you can do this a little differently to achieve the effect you're looking for. One thing you should be aware of is that IDs and classes must start with a letter. We won't have to access those numbers in the script anyway. $(document).ready(function() {

[jQuery] Re: Hover does not work with a#someID ... ?

2008-07-12 Thread xbitdesigns
Ah, you're right. That was trivial. Sorry for bothering and thank you for your time. On Jul 12, 5:38 pm, Ariel Flesler [EMAIL PROTECTED] wrote: #pthumbs isn't child of #display.        function showPNavi()         {                 $('#pthumbs').css('opacity','0.3').slideDown();         }

[jQuery] Controlling vidoe - Windows Media Player

2008-07-12 Thread flycast
I am toying with using jquery to display media. I have successfully used it to slideDown a div and show the object/object tag contained within the div. I have a couple of problems. 1) When the video is finished it just sits there. I would like it to slide back up and disappear. Is there a way

[jQuery] Re: [validate] [metadata] jQuery validator conflicts with metadata

2008-07-12 Thread Jörn Zaefferer
Use the meta-option to namespace metadata for the validation plugin: $(...).validate({ meta: rules }); class={rules:{required:true}} Jörn On Sat, Jul 12, 2008 at 7:49 PM, Dreftymac [EMAIL PROTECTED] wrote: Problem: = It appears that jQuery validator plugin always assumes that

[jQuery] Re: [validate] [metadata] jQuery validator conflicts with metadata

2008-07-12 Thread Jörn Zaefferer
That is, just specify the meta-option - if you don't use metadata to specify rules, thats it. Jörn On Sun, Jul 13, 2008 at 12:59 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Use the meta-option to namespace metadata for the validation plugin: $(...).validate({ meta: rules });

[jQuery] Validate Plugin

2008-07-12 Thread [EMAIL PROTECTED]
Hi All, I just started working with the validate plug in and I am having a interesting problem. I am validating input text tag that is the second column in a four column table. The error message is being displayed in the third column. The txtCC2 is the problem at this point. Here is my code.

[jQuery] IE7 can't accept marginRight property

2008-07-12 Thread Paul
Hi all, I was just wondering if anyone's come across this issue or maybe if it's been brought up before. I'm currently working on some small animations and it's seems that Internet Explorer 7 doesn't accept the marginRight. Unfortunately, IE 7 doesn't really have any good built in debugger so

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: [looks like i have to paste bin my

[jQuery] jQuery validate error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){ //

[jQuery] Re: slideToggle flickering in Firefox (jQuery version 1.2.6)

2008-07-12 Thread [EMAIL PROTECTED]
Small update: the problem doesn't seem limited to jQuery. If an end- user is viewing the bottom of a page and is forced to scroll up due to the window height being reduced, Firefox will flash/flicker at the top of the window. I can't figure out a workaround for this, sadly :\. On Jun 30, 7:01

[jQuery] jquery form multiple php variables

2008-07-12 Thread Tom Shafer
Hi, I am trying to use the jquery form plugin and i have 3 form fields i need to go to php and come back and be inserted into a list. I am having trouble getting more than 1 php variable to return. here is the code example i am using $('#addLinks').ajaxForm({ // dataType identifies

[jQuery] jQuery Validation Error

2008-07-12 Thread Sam Washburn
Hello all, I'm using jQuery 1.2.6 and Validation 1.3, and I'm getting an error message in my firebug console when I click (for the first time) any field in my form. Error: validator is undefined /js/jq/jquery.validate.js Line 291 My jQuery code is as follows: $(document).ready(function(){

[jQuery] jquery form multiple php variables

2008-07-12 Thread Tom Shafer
Hi, I am trying to use the jquery form plugin and i have 3 form fields i need to go to php and come back and be inserted into a list. I am having trouble getting more than 1 php variable to return. here is the code example i am using $('#addLinks').ajaxForm({ // dataType identifies

[jQuery] PLUGIN: Select Multiple Control

2008-07-12 Thread Rey Bango
Ryan Cramer released this new plugin: http://www.ryancramer.com/journal/entries/select_multiple/ Code: http://code.google.com/p/jquery-asmselect/ Demo: http://www.ryancramer.com/projects/asmselect/examples/example1.html Rey...

[jQuery] Re: PLUGIN: Select Multiple Control

2008-07-12 Thread Richard D. Worth
This is great. Very nice work Ryan. - Richard On Sat, Jul 12, 2008 at 10:34 PM, Rey Bango [EMAIL PROTECTED] wrote: Ryan Cramer released this new plugin: http://www.ryancramer.com/journal/entries/select_multiple/ Code: http://code.google.com/p/jquery-asmselect/ Demo:

[jQuery] jQuery and RIA design

2008-07-12 Thread john6630
I hope this post is appropriate for the group and if not, I apologize. I would enjoy a dialog concerning the architecture/design of web applications in general and using jQuery, in particular. I am posting to this group because after lurking for the past few weeks I appreciate the skill,

[jQuery] Re: IE7 can't accept marginRight property

2008-07-12 Thread Karl Rudd
This sounds like a IE7 CSS quirk/bug rather than a jQuery/JavaScript problem. Dealing with margins on inline content can be tricky. Karl Rudd On Sun, Jul 13, 2008 at 10:22 AM, Paul [EMAIL PROTECTED] wrote: Hi all, I was just wondering if anyone's come across this issue or maybe if it's been