[jQuery] Re: Switching a tabs content from a remote source to a local source

2009-07-22 Thread Klaus Hartl
That shouldn't happen and a similiar bug was fixed for IE long time ago. Which browser do you encounter this bug in and which version of jQuery UI do you use? --Klaus On 22 Jul., 19:22, WR wrote: > It seems that if you change the url of a tab from a remote source > (ajax request) to a local

[jQuery] Re: li/img click and window.keydown

2009-07-22 Thread Lideln
Up On 20 juil, 18:46, Lideln wrote: > Hi, > > Thanks for the answer. > > Here is a bit of my script : > > [code] > // Constructing the modal... > SModule_gallery.oGalleryModal.jqm({modal: true}) >                         .width((SModule_gallery.GALLERY_COLS * > (SModule_gallery.GALLERY_ITEM_WIDT

[jQuery] Re: Customize Error Labels

2009-07-22 Thread Jules
This should work instead of going through all labels. $('form').validate({ errorPlacement: function(error, element) { $('label[for="' + $(element).attr('id') + '"]').addClass('error'); }); } }); On Jul 23, 4:00 pm, Rizky wr

[jQuery] Re: Catch Exception

2009-07-22 Thread Dhruva Sagar
It all depends on the data that's returning.I believe the exception would certainly have some data/text that you can use to check if it is an exception and then conditionally update the appropriate div. something like : $(document).ready(function() { $('.DOFFDelete').click(function() {

[jQuery] Re: Customize Error Labels

2009-07-22 Thread Rizky
Ahh, Thx for the reply. I get it now :) But my labels isn't always the previous element before the fields. So I changed it to suit my markup. Like this: $('form').validate({ errorPlacement: function(error, element) { $('label').each(function() { var field_for = $(this).attr('for');

[jQuery] Catch Exception

2009-07-22 Thread Kris-I
Hello, In my code (ASP.NET MVC using Nhibernate) , I do this : $(document).ready(function() { $('.DOFFDelete').click(function() { var id = $(this).attr("id"); $.post("/Customer/DayOffDelete", { customerid: getCustomerId(), doffId: id }, function(data) {

[jQuery] Re: Superfish Features highly desired/needed.

2009-07-22 Thread JC
Hmmm.. I thought superfish was supposed to be sort of supported on this forum. I kind of was hoping for an answer from the developer. Charlie wrote: > curious what makes you want it to become the "defacto solution" yet > this is second time in 24 hours you've complained about it > > Supersubs plu

[jQuery] Re: Customize Error Labels

2009-07-22 Thread Jules
Read errorPlacement on validate docs. $(document).ready(function() { $("form").validate({ errorPlacement: function(error, element) { $(element).prev().addClass("error"); } }); }); Input: On Jul 23, 3:03 pm, Rizky wrote: > Hi, > >

[jQuery] Re: jQuery validation custom method doesn't work

2009-07-22 Thread Jules
Your code should have been: $.validator.addMethod('myEqual', function (value, element, param) { return value >= $(param).val(); // this works know }, 'Please enter a greater year!'); On Jul 23, 12:21 pm, Erwin Purnomo wrote: > Hello all > > I have added a method on jQuery

[jQuery] [Validate] Customize Error Labels

2009-07-22 Thread Rizky
Hi, I need help with the Validation plugin. I want to disable the generated error labels and I need to find a way to add the class "error" to existing form labels instead. Currently I don't use it and simply want to add highlighting to the existing fields and labels. My forms already contain fie

[jQuery] Re: (Validate) Validation is only occuring the first time "Submit" is clicked

2009-07-22 Thread Joe Devon
Thanks for coming back...I'm having the same problem and your solution doesn't work for me.

[jQuery] Re: Jquery Validation How To

2009-07-22 Thread Jules
The validation is only triggered during submit event which is fine to me. I don't like interactive validation as it creates distraction to the users. $("form").validate( { errorLabelContainer: "#errMsg", wrapper: "li" });

[jQuery] Re: Looking for some help converting this to jquery

2009-07-22 Thread RobG
On Jul 23, 6:42 am, sleepwalker wrote: > Hi, > I have a old script that adds a class to a button/submit/reset based > on the length of its value and I'd like to convert it to jquery. I'm > just looking for any suggestions on the best way to rewrite it. Instead of code, can you provide a concis

[jQuery] jQuery validation custom method doesn't work

2009-07-22 Thread Erwin Purnomo
Hello all I have added a method on jQuery validator like this $.validator.addMethod('myEqual', function (value, element) { return value == element.value; // this one here didn't work :( }, 'Please enter a greater year!'); $.metadata.setType("attr", "validate"); $("

[jQuery] Superfish via PixoPoint menu w/background images problem

2009-07-22 Thread mpmch...@gmail.com
Hello, I'm hoping someone can shed some light on this. I'm setting up a Wordpress site, using the Pixo Menu Plugin to auto generate the top menu. It integrated Superfish out of the box. I'd already designed the site, and successfully adapted the css to match, using background images for the back

[jQuery] Re: any plugin for twitter+flickr+fb+delicious+tagged

2009-07-22 Thread Veeru
any advices?

[jQuery] Re: extend an Object

2009-07-22 Thread Jules
Something like this? function person(name, address) { this.name = name; this.address = address; this.whoAmI = function() { if (this.creditLimit) alert(this.name + ' address:' + this.address + 'credit limit:' + this.creditLimit);

[jQuery] Re: JQuery IE Bug? trigger with TABLE Element

2009-07-22 Thread amuhlou
a link to the page where it's happening (or a test page where you replicate the problem) would help. On Jul 22, 9:31 am, Diogo wrote: > Hi, > > I am having trouble with the Trigger in JQuery 1.3.2 and IE. It works > in FireFox but breaks in IE6 and 8. > > JQuery.js line 2644 > if ( (!elem[type]

[jQuery] increment a date inside of an array fetched by json and processed by plugin

2009-07-22 Thread marksimon
I'm using this plugin 'fullCalendar" (http://arshaw.com/fullcalendar/ docs/) that is a very nice jquery plugin. It has some parameters for events where the end date of the event is displayed as the day before the end date of the data that feeds the calendar. Not sure why that is but I need a worka

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread MorningZ
$.getJSON( "url_of_json_request", function(json) { $.each(json, function(i) { json[i] // current top level index }) } ) On Jul 22, 7:30 pm, Ajay Sharma wrote: > even am having issue with a simple GET request using the GETJSON > method...could anyone please p

[jQuery] Re: Google Maps and JQuery,

2009-07-22 Thread Charlie
you can wrap jquery around the gMaps APi functions to make it easier to create jQuery interactions from markers to other parts of your page( click functions etc) , manipulating  marker window content, using AJAX etc. The mapping functions like drag markers are done using gMaps API. What is you

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread Ajay Sharma
even am having issue with a simple GET request using the GETJSON method...could anyone please provide me with the sample code ? On Thu, Jul 23, 2009 at 4:58 AM, MorningZ wrote: > > "I want to parse it with jquery , I searched in the web but it's seems > my json file is a bite complicated" > > Wh

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread MorningZ
"I want to parse it with jquery , I searched in the web but it's seems my json file is a bite complicated" What is that supposed to mean? *what do you want to accomplish?* "i want to parse" doesn't really mean anything and other than there are a lot of characters, there's nothing overly compl

[jQuery] Google Maps and JQuery,

2009-07-22 Thread pennfoli0
Hi, I want to know if this can be done using jQuery and Google Maps. In my website I have a Google map where users could add new markers with a description on it and the marker they put would be permanent on my map, meaning if they comeback they would still see the markers they added. I also wa

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread James
What exactly do you want to do? How is the JSON content stored? In a separate file? On the document? Is it introduced through jQuery's getJSON()? Is it stored as a string in some variable? On Jul 22, 5:17 am, Abraham Boray wrote: > As U can see guys , I got that json structure , & I want to pars

[jQuery] Re: Switching a tabs content from a remote source to a local source

2009-07-22 Thread Charlie
#myLocalContentDiv is not a URL so how can you construe this as a bug? Your best bet is to ask fo help on the jQuery UI list which focuses on UI issues but you will need to provide more info than what you've presented here.  What do you mean by "change the URL"? for example. A simplified break

[jQuery] Looking for some help converting this to jquery

2009-07-22 Thread sleepwalker
Hi, I have a old script that adds a class to a button/submit/reset based on the length of its value and I'd like to convert it to jquery. I'm just looking for any suggestions on the best way to rewrite it. Thanks in advance for any help function setbuttonclass() { if(docu

[jQuery] [autocomplete] Dynamic textboxs

2009-07-22 Thread escriba
I can't put autocomplete working with dynamic textboxs. I have a javascript function to add dynamic textboxs, but when i attach the autocomplete function to the dynamic textboxs, it doenst work. Some work that might help this issue: // Javascript function that adds dynamicly textboxs var initia

[jQuery] Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread Abraham Boray
As U can see guys , I got that json structure , & I want to parse it with jquery , I searched in the web but it's seems my json file is a bite complicated :S here is the picture more clear thatn the file down ! http://www.zshare.net/image/63013802b34a7372/ Here is my plane JSON file [{"Post":{"

[jQuery] Superfish - speed problem

2009-07-22 Thread benH
Hi there, I'm trying to get my Superfish menu to display the instant that I hover over it. However there is a slight pause before the menu is displayed. I am using supersubs as well, this is the set-up call I am using. $(document).ready(function(){ $('ul.sf-menu').supersubs({ minWi

[jQuery] JQuery IE Bug? trigger with TABLE Element

2009-07-22 Thread Diogo
Hi, I am having trouble with the Trigger in JQuery 1.3.2 and IE. It works in FireFox but breaks in IE6 and 8. JQuery.js line 2644 if ( (!elem[type] || (jQuery.nodeName(elem, 'a') && type == "click")) && elem["on"+type] && elem["on"+type].apply( elem, data ) === false ) The elem[type] give a "

[jQuery] Zend Framework and chained dropdowns

2009-07-22 Thread Anthony Smith
I almost have this I am just stuck. I have two dropdowns. The first one determines what goes in the second on.e When I select the first one, it has an onChange event and it calls an action which returns my data. I have no idea on how to make this data update my second dropdown box. Should the dat

[jQuery] Re: slideToggle() behavior change between 1.3.2 and 1.2.6

2009-07-22 Thread knightkato
I discovered it today as well, after a much too long bug-finding journey, anyone else?

[jQuery] How do I implement this jQuery/AJAX effects on my page?

2009-07-22 Thread elggtester
If you go here, http://demo2.analoganalytics.net/publishers/7/offers and click on Email and Txt for any coupon offer, I would like to duplicate that exactly on my page. By looking at their script, it looks like they're using Prototype. However, I'm new to jQuery and wondering can the almost exa

[jQuery] Jquery Validation How To

2009-07-22 Thread kmac
Hi, I have a form that includes four text fields for phone numbers: Business, Home, Cell and Fax A user must fill in at least one phone number. How would I set up the validation for this? Cheers

[jQuery] Switching a tabs content from a remote source to a local source

2009-07-22 Thread WR
It seems that if you change the url of a tab from a remote source (ajax request) to a local source i.e. ('#myTabs').tabs('url', 1, '#myLocalContentDiv'); When you then click on this tab, it makes an ajax request (to http://myURL/#myLocalContentDiv) rather than simply showing the local content. Th

[jQuery] Re: plugin - is there any rule like notEqual

2009-07-22 Thread Cam
I've done this, perhaps not the best way. Seems to work. See below. Add this method to the validator object: $.validator.addMethod("notEqualTo",function(value, element, params) { return this.optional(element) || value != params; }); And then add the rule: $("#form_id").validate({ ru

[jQuery] animate & fade stop() problem

2009-07-22 Thread Denis Abramov
Hello over there! The problem is: when I start hovering in and out very fast, the new div block appears before previous one dissapears. How to get rid of that effect? I heard that there is stop() event, how to implement it in the current situation? I tried to put it before animate, but that doe

[jQuery] resizeable stops working

2009-07-22 Thread robing
I have a layout with a resizable div which works fine initially. When I load some html in to the resizable div I can no longer resize the div even though when i look at the div in firebug the div still has the resizable classes added to it. I dont think it is a css issue from my testing. What do

[jQuery] Re: Delay a swap of a DIV

2009-07-22 Thread Mats
Hi James, I know how long the movies are and can activate the button som e20-30 seconds before each part ends. This worked so thanks alot! /Mats/ On Jul 22, 10:19 pm, James wrote: > window.setTimeout(function() { >     $('#main-nobut').hide('slow'); >     $('#main-but').show('slow'); > > }, 500

[jQuery] Re: Dialog and document.write

2009-07-22 Thread Greg Evans
Thanks, that worked like a charm :) On Jul 22, 2009, at 12:42 PM, Eric Garside wrote: Don't use document.write If you're using jQuery, you can insert the text using jQuery's "html" function. On Jul 22, 3:08 pm, Greg Evans wrote: Thanks for all the help everyone, the last problems are solve

[jQuery] Re: Delay a swap of a DIV

2009-07-22 Thread James
window.setTimeout(function() { $('#main-nobut').hide('slow'); $('#main-but').show('slow'); }, 5000); 5000 is 5000ms, or 5 seconds. Do you have a way to retrieve this time on when you want it to appear? On Jul 22, 9:57 am, Mats wrote: > How do I bind this in with the show/hide using jQue

[jQuery] Re: converting an html table to json

2009-07-22 Thread noagbodjivictor
yes, that actually sounds simple. let me give a try. On Jul 22, 11:54 am, FrenchiInLA wrote: > is up to you how you would like to make your json format, but you can easily > loop between your table's row, and td then add the format you like. > something like: > var $table = $('#tableid'); > $('t

[jQuery] Seeking XHTML inplace editor

2009-07-22 Thread Steve Hueners
Just stepped over to http://plugins.jquery.com/search/node/editor - lots and lots of choices - and if to judge by the dates, many new offerings. I'm hoping someone can help me narrow down the field according to these priorities... Stability & Well-formed XHTML (might argue against some of the mo

[jQuery] Re: Delay a swap of a DIV

2009-07-22 Thread Mats
How do I bind this in with the show/hide using jQuery ? $(document).ready(function(){ $('#main-but').hide(); // This step should be Triggered one time afer X minutes $something(){ $('#main-nobut').hide('slow'); $('#main-but').show('slow'); }); }); On Jul 22, 12:58 am, He

[jQuery] Re: Should this work?

2009-07-22 Thread Rick Faircloth
Thanks, Liam...I decided to the jQuery UI. It's working well. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Liam Byrne Sent: Wednesday, July 22, 2009 3:08 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Should this work? Th

[jQuery] Dialog and document.write

2009-07-22 Thread Greg Evans
Thanks for all the help everyone, the last problems are solved and a new one has cropped up. I now have all the proper variables passing where they need to go, etc, which, seems like a miracle considering my inexperience with js and jQuery :) but hey, the listmembers have been great, so h

[jQuery] Re: Should this work?

2009-07-22 Thread Liam Byrne
Think there's a color plugin that will make this work ? http://plugins.jquery.com/project/color L Rick Faircloth wrote: NM…”Only properties that take numeric values are supported (e.g. backgroundColor is not supported).” *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.co

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread evanbu...@gmail.com
Yes, it does. Thanks. On Jul 22, 2:49 pm, Michael Lawson wrote: > Np, let me know if that works for you! > > cheers > > Michael Lawson > Development Lead, Global Solutions, ibm.com > Phone:  1-276-206-8393 > E-mail:  mjlaw...@us.ibm.com > > 'Whether one believes in a religion or not, > and whet

[jQuery] Textarea autogrow plugin: IE6, IE7, IE8 and Opera problems

2009-07-22 Thread kyleduncan
Hi everybody, i am having trouble getting the autogrow.js plugin to work properly in all versions of IE (of course!) and Opera. plugin link: http://plugins.jquery.com/project/autogrow Opera just seems to make the textareas ridiculously tall for some reason, but IE actually throws up a scripting

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread Michael Lawson
Np, let me know if that works for you! cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and whether one believes in rebirth or not, there isn't anyone who doesn't appreciate kindness

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread evanbu...@gmail.com
Thanks. I've been looking for an example of this for a long time. On Jul 22, 2:33 pm, Michael Lawson wrote: > No, i was thinking something like this > > > function getDirectorIds() { >         var result = ""; >         $(".chkDirector:checked").each(function() { >             result = result

[jQuery] ajaxStart() and ajaxStop(): Any way to know the type of the request?

2009-07-22 Thread Rafael Soares
What I want to do is simples, or at least I thought it was. I need to show a #loading div for GET requests and a #saving div for POST ones. I then realized that the ajaxStart/Stop callbacks do not receive any parameter (at least it's what is stated on the API Reference)... If it received a "request

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread Michael Lawson
No, i was thinking something like this function getDirectorIds() { var result = ""; $(".chkDirector:checked").each(function() { result = result + $(this).val() + ","; }); // place the selected id_individual values in the label control lblCheckedDirecto

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread evanbu...@gmail.com
Is this the right way to do it ? // this gets all of the director id_individual values $(document).ready(function() { function getDirectorIds() { var result = ""; $(".chkDirector:checked").each(function() { result = result + $(this).val() + ",";

[jQuery] Toggle Div Based on Value

2009-07-22 Thread evanbu...@gmail.com
Hi I'm not sure how to approach this. I want to toggle each div with a checkbox or hyperlink which shows/hides every div where the RelStatus value = 'retired'. I'm able to see the value of each RelStatus value using the code below. The id of each div and the RelStatus value of each span is set s

[jQuery] Re: toggle() won't hide

2009-07-22 Thread HelloBird
How odd, I never would have thought to include that but it worked perfectly. This issue was actually only present in FireFox/Safari, IE handled it as expected (a first for me). - Derek On Jul 22, 11:21 am, gil wrote: > Hi, > This could worke, try adding this to the div style overflow:hidden

[jQuery] Re: datepicker

2009-07-22 Thread gil
Can you provide sample code or a link? Thanks On 22 jul, 00:51, acatejr wrote: > I am using the jQuery datepicker.  When the user selects an item in a > drop down list box the selectable dates in the calender in the > datepicker get updated with all selectable dates associated with the > select

[jQuery] Re: toggle() won't hide

2009-07-22 Thread gil
Hi, This could worke, try adding this to the div style overflow:hidden Ex: Regards On 22 jul, 01:22, sccr410 wrote: > http://www.erikaashauerphoto.com/blog/ > > At the end of each post there is the link to the comments, clicking > uses the jQuery toggle() function. This works perfectly to sho

[jQuery] Re: CSS height/width function value

2009-07-22 Thread gil
Try the first link it mentions a JS function that could help you convert pixels to ems On 21 jul, 18:16, FirefoxRocks wrote: > I don't need to manually convert stuff, I need the retrieve a value of > ems from the jQuery or otherwise use a function to convert from pixels > to ems. > > On Jul 21,

[jQuery] Re: jquery, php question (Probably the wrong place to ask)

2009-07-22 Thread Greg Evans
Thanks a bunch. I didn't even notice that I had forgot to close stuff, I am sure that error would have been glaring out at me had I paid closer attention. :) Next question, and I am now going to make an ass of myself more than I already have and assume that this part actually does relate

[jQuery] Re: Truncate plugin - Alternatives?

2009-07-22 Thread sso
On Jul 22, 12:08 pm, Charlie wrote: > http://plugins.learningjquery.com/expander/ > I've had good success with it > sso wrote:I posted a while ago about the Truncate plugin not preserving html > links in FF. I like the plugin, but it needs to present properly in FF. I > couldn't figure it out

[jQuery] Re: Truncate plugin - Alternatives?

2009-07-22 Thread Charlie
http://plugins.learningjquery.com/expander/ I've had good success with it sso wrote: I posted a while ago about the Truncate plugin not preserving html links in FF. I like the plugin, but it needs to present properly in FF. I couldn't figure it out and nobody responded. Is there any ot

[jQuery] Re: converting an html table to json

2009-07-22 Thread FrenchiInLA
is up to you how you would like to make your json format, but you can easily loop between your table's row, and td then add the format you like. something like: var $table = $('#tableid'); $('tr', $table).each(function(i, item){ // here you can add whatever you like for each TR, then you can b

[jQuery] Re: Jquery Ajax Postbacks

2009-07-22 Thread FrenchiInLA
What exactly do you like to do? Ajax call do not Post back, but Call back. do you like to post back in .net application? just call the javascript __doPostBack('Yourcontrol','ypurArgument'); gladrinkz wrote: > > > can ant one tell me or give me some shot example regarging jquery ajax > post ba

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread Michael Lawson
Maybe you should pull the definition of the function out of the document ready definition? cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and whether one believes in rebirth or not

[jQuery] Re: Calling other functions inside a function

2009-07-22 Thread evanbu...@gmail.com
Thank you. The Firebug suggestion was helpful. The error message is saying that getDirectorIds() is not defined. // make sure at least one checkbox is checked function validateSubmit() { if( $("input:checkbox:checked").length == 0 ) { alert( "Please select at least one section for your PDF pro

[jQuery] Truncate plugin - Alternatives?

2009-07-22 Thread sso
I posted a while ago about the Truncate plugin not preserving html links in FF. I like the plugin, but it needs to present properly in FF. I couldn't figure it out and nobody responded. Is there any other plugins that provide similar funcationality? Thanks! :)

[jQuery] Re: JQuery Message with Validate Plugin

2009-07-22 Thread Cesar Sanz
Hello Check out this demo http://jquery.bassistance.de/validate/demo/marketo/ - Original Message - From: "pocket" To: "jQuery (English)" Sent: Sunday, July 19, 2009 11:00 AM Subject: [jQuery] JQuery Message with Validate Plugin I am currently using the validate plugin and I need

[jQuery] Re: update several divs within a .each() loop

2009-07-22 Thread Daniel
notice: if i do an alert() with the response just before i update the content of the div, everything works fine... On Jul 22, 1:58 pm, Daniel wrote: > Hi everybody! > > I want to update the contents of several divs periodically with the > response i get from a php-script. the number of divs is c

[jQuery] Re: shifting a box sideways and making it gradually dissapear

2009-07-22 Thread Simon
Thanks! I had no idea the overflow property even existed. You've saved me a lot of head scratching. Cheers, Simon On Jul 22, 4:49 am, Paul Mills wrote: > Hi, > Try this. > Add overflow:hidden to #box and then animate the left of #innerbox: > > #box{ >   width:800px; >   height:400px; >   borde

[jQuery] Re: Should this work?

2009-07-22 Thread Rick Faircloth
Thanks, Richard. From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Richard D. Worth Sent: Wednesday, July 22, 2009 8:59 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Should this work? jQuery UI Effects has color animation support: http://docs.jquer

[jQuery] Re: jquery ui dialog get element from button

2009-07-22 Thread Carlo Landmeter
Sorry i forgot to add it. The button is placed before the dialog div. Carlo On Tue, Jul 21, 2009 at 2:43 PM, Mean Mike wrote: > > Carlo buddy where is the button with the id that your looking for ? > > On Jul 21, 5:06 am, Carlo Landmeter wrote: >> I'm not able to send the whole html but i ca

[jQuery] Jquery Ajax Postbacks

2009-07-22 Thread gladrinkz
can ant one tell me or give me some shot example regarging jquery ajax post backs or related some documents it will great help for me Thanks in Advance gladrinkz

[jQuery] Re: Should this work?

2009-07-22 Thread Richard D. Worth
jQuery UI Effects has color animation support: http://docs.jquery.com/UI/Effects/animate http://jqueryui.com/demos/animate/ - Richard On Tue, Jul 21, 2009 at 8:56 PM, Rick Faircloth wrote: > NM…”Only properties that take numeric values are supported (e.g. > backgroundColor is not supported).”

[jQuery] Re: Programmatically Resize a resizable element

2009-07-22 Thread Richard D. Worth
I don't know if anyone has worked on doing this using methods or event triggering, but you could certainly do it the way we do in unit tests - simulate the drag on the resize handle. We use the simulate plugin for that: http://jqueryjs.googlecode.com/svn/trunk/plugins/simulate/jquery.simulate.js

[jQuery] Re: jQuery Cycle Plugin and Links

2009-07-22 Thread Charlie
the details you want to display can also be contained elsewhere if you want by using the index of the current slide to  match the index of another set of containers function onAfter(curr, next, opts) {              var index = opts.currSlide;            // use index to refernece other contai

[jQuery] Re: Ajax call Scope - Module Pattern and non singleton pattern

2009-07-22 Thread quiKe
I realized that using the engfer(s)´s module pattern (http:// www.engfers.com/code/javascript-module-pattern/) i can access only using "async:false" attribute for the ajax call. If i use the "async:true" i don´t get the params. But it is not a well done practice.

[jQuery] Re: Detect Enter event with Jquery on Linux

2009-07-22 Thread Michael Lawson
Try checking for 28 instead of 13 cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Whether one believes in a religion or not, and whether one believes in rebirth or not, there isn't anyone who doesn't appreciate kindness and

[jQuery] error

2009-07-22 Thread nagarjuna. atluri
jCarousel: No width/height set for items. This will cause an infinite loop. Aborting... i am geetting the above error msg can anybody help me

[jQuery] Detect Enter event with Jquery on Linux

2009-07-22 Thread Shi Zhuguo
Hi there, I am using jquery to make a Comet chat client. But I have problems to detect "press enter" event on Linux. It's really strange. The same code runs well on windows: j.input.bind("keydown", function(l) { if (l.keyCode == 13) { //doing some stuff h

[jQuery] converting an html table to json

2009-07-22 Thread noagbodjivictor
hi, i'm new to jquery and i was wondering how i can use it to convert an html table into a json format. i found a lot of help for doing the reverse (json to html table) but couldn't get much help with this one. thanks a lot in advance.

[jQuery] update several divs within a .each() loop

2009-07-22 Thread Daniel
Hi everybody! I want to update the contents of several divs periodically with the response i get from a php-script. the number of divs is changing depending on what the user has chosen before. i store the variable part of the ids in a hidden input field. this input field may look like this: to

[jQuery] Re: Superfish Wordpress

2009-07-22 Thread Charlie
you're php always assigns current page class to Home "current_page_item">Home try this:   >Home if you use the pathClass option properly you can shorten the superfish constructor $('ul.sf-menu') .superfish({     pathClass : 'current_page_item' delay:   500, speed:   'f

[jQuery] extend an Object

2009-07-22 Thread jeanluca
Hi All I tried to add functions to an object like function User(n, a) { this.name = n ; this.aux = a ; } function auxis() { alert(this.aux); } $(document).ready( function() { var u = new User("Jack") ; u.extend({

[jQuery] Re: jquery, php question (Probably the wrong place to ask)

2009-07-22 Thread p_W
lol forgot to close the tags myself... document.write(""); or document.write(""); On Jul 22, 7:22 am, p_W wrote: > I'm not quite sure about your question, but I will say that I see some > problems with your code... > > In the document.write(); function, I see 2 main problems... > > one is

[jQuery] Re: jquery, php question (Probably the wrong place to ask)

2009-07-22 Thread p_W
I'm not quite sure about your question, but I will say that I see some problems with your code... In the document.write(); function, I see 2 main problems... one is that it doesn't look like you are closing your tags...after the input tag you should add The other is in the name="" attribute o

[jQuery] Ajax call Scope - Module Pattern and non singleton pattern

2009-07-22 Thread quiKe
Hi, my problem is due to the scope. Using the module pattern following the Eric´s design explained on the Amazon Books widget example(http:// net.tutsplus.com/tutorials/javascript-ajax/create-an-amazoncom-books- widget-with-jquery-and-xml/) we have something similar to this: var BOOKS = function(

[jQuery] Re: validate : check if email @ domain (website)

2009-07-22 Thread Jörn Zaefferer
There is no built-in support for that, so you need to write a custom method: http://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Wed, Jul 22, 2009 at 11:20 AM, Mahmoud M. Abdel-Fattah wrote: > > I've 2 inputs (email & website) and using Validate Plugin. I want to > check if the

[jQuery] validate : check if email @ domain (website)

2009-07-22 Thread Mahmoud M. Abdel-Fattah
I've 2 inputs (email & website) and using Validate Plugin. I want to check if the email is on same domain .

[jQuery] Re: UI Tabs and xStandard Object

2009-07-22 Thread blackmetaluk
Bug fix for more than two tabs $('#tabs').tabs({ select: function(event, ui) { // GET AND SET OBJECT PARAM VALUE AND STORE IN STANDARD HIDDEN INPUT WHEN SELECTING TABS content = $("#content").val(); if(ui.index==0) { // SET

[jQuery] Re: shifting a box sideways and making it gradually dissapear

2009-07-22 Thread Paul Mills
Hi, Try this. Add overflow:hidden to #box and then animate the left of #innerbox: #box{ width:800px; height:400px; border:1px solid #444; overflow:hidden; } $("#toggle").toggle(function(){ $("#innerbox").animate({ left: '180px' }, 'slow'); },function(){ $("#innerbox").animate({ left: '0

[jQuery] Re: Input fields bug

2009-07-22 Thread Kozie
Thanks a lot gil, tried it and it worked immediately! Thanks again! On Jul 21, 4:02 pm, gil wrote: > Hi Koos, > > It might be this: > > When you open the pop up it adds some divs, but there is one that > doesn't disappear when you click exit. > > Disable the div with id=overlayButtonPlaceholder

[jQuery] toggle() won't hide

2009-07-22 Thread sccr410
http://www.erikaashauerphoto.com/blog/ At the end of each post there is the link to the comments, clicking uses the jQuery toggle() function. This works perfectly to show the comments below, but clicking on the link again does not hide the comments as expected. This is using jQuery in noconflict