[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
On Thu, Mar 5, 2009 at 9:41 PM, MorningZ morni...@gmail.com wrote: Can you post (preferably on http://paste.pocoo.org/) what: 1) What both tables look like? (as previously mentioned, your screen shot only shows one table, that doesn't help) 2) how you are assigning the variable $slave_table

[jQuery] Re: Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-06 Thread ggerri
Wick, Rick, Ricardo :-) Thanks a lot for you help, time and explanations guys! You've enlightened me first thing in the morning! Cheers from Switzerland and take care Gerald On Mar 5, 6:36 pm, wick w...@autobeef.com wrote: Cool. By the way, regarding your question about determining the

[jQuery] Re: Required callback [validate]

2009-03-06 Thread Jörn Zaefferer
Did you update to validate 1.5.1? Jörn On Thu, Mar 5, 2009 at 9:22 PM, Nate bobfritzelp...@gmail.com wrote: In firefox 3, jquery 1.3.2, requiredcallback does not seem to work. I have the following: $('form').validate({ element1: {required: function(element) { return false; }}}), and

[jQuery] Re: remote validation (Validation)

2009-03-06 Thread Jörn Zaefferer
You can replace the url-string with ajax-options: remote: { url: filename.php, data: { field2: function() { return $(#field2).val() } } } Jörn On Fri, Mar 6, 2009 at 2:43 AM, danc dgcri...@earthlink.net wrote: Hi: I have a warranty registration form where I am using validate.js to

[jQuery] ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
Hello! I would like to launch a function each time an ajax call is made, that places a loading throbber in the container in which the new content will be inserted. Typically, these will be $('#mycontainer').load() calls. I'm puzzled on how to detect the container upon calling my function.

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
show a 'loading' element just before the ajax request, and hide it again with the callback?

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
oh and it may or may not be any use, but you can grab all manner of nice animated loading graphics here... http://www.ajaxload.info/

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
yes, thanks but that does not help my specific need: what i need to know is if the ajax object stores the container in which it will load the content in a property that i can retrieve, so that the load animation goes on top of it. On Fri, Mar 6, 2009 at 11:11 AM, ryan.j

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
off the top of me head i can't remember if load() ovewrites or appends to an element, if it overwrites you won't need the callback... function load(el, url) { $(el).append('img id=loadImg src=loading.png /') $(el).load(url, function(){ $('loadImg').remove(); }); }

[jQuery] Re: [validate] Group highlighting fix?

2009-03-06 Thread Jörn Zaefferer
You could modify your unhighlight-function to check if an element of the group is marked as invalid. Something like this: unhighlight: function(element, errorClass) { if (element[0].name == 306 $(#301).is(.error)) return; if (element[0].name == 301 $(#306).is(.error)) return;

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
but since you already specify the target element for the .load() at some point, you'll already have it to put in the callback?

[jQuery] Re: An animated gif in the middle

2009-03-06 Thread phicarre
I supposed that someone knows a plugin who does that ... On 6 mar, 00:39, dawnerd dawn...@gmail.com wrote: What you are trying is more CSS based than jquery based. You can set the images css to margin:0 auto; which will center align it. Then set some top padding or margin to vertically align

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
but since you already specify the target element for the .load() at some point, you'll already have it to put in the callback? function doLoad(el, url) { var contEl = $(el) contEl .append('img id=loadIcon src=loading.png /'); contEl .load( url, function(){ contEl .remove('#loadIcon');

[jQuery] Re: An animated gif in the middle

2009-03-06 Thread ryan.j
$(img#loadingImg).attr(margin-top, (($(window).height()/2)-($ (window).height()/2)) );

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
uuh, the callback is wrong though. you'll want to do somethign like contEl.children(#loadIcon).remove();

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
thanks ryan, but i want to set it generically for all ajax calls, for instance, via ajaxStart() instead of having to attach the behaviour to every single trigger element. On Fri, Mar 6, 2009 at 11:30 AM, ryan.j ryan.joyce...@googlemail.com wrote: but since you already specify the target

[jQuery] Re: An animated gif in the middle

2009-03-06 Thread ryan.j
$(img#loadingImg).attr(margin-top, ( ( $(window).height()/2 ) - ( $ (img#loadingImg).height()/2) ) ); On Mar 6, 10:26 am, phicarre gam...@bluewin.ch wrote: I supposed that someone knows a plugin who does that ... On 6 mar, 00:39, dawnerd dawn...@gmail.com wrote: What you are trying is more

[jQuery] Re: An animated gif in the middle

2009-03-06 Thread ryan.j
give the element a CSS attribute of margin: 0 auto; and then set the top margin with.. var a = $(window).height() var b = $(img#loadingImg).attr(height) $(img#loadingImg).attr(margin-top, ((a/2)-(b/2)) ); On Mar 6, 10:26 am, phicarre gam...@bluewin.ch wrote: I supposed that someone knows a

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
just in case it helps, here is the code i have so far: var $loadAnim = $('div id=loadAnimimg src=ajax-loader_light2.gif //div').appendTo('body'); $loadAnim.ajaxStart(function(el) { // the following behavior will be done each time an ajax call is

[jQuery] Re: OnMouseDown = create draggable, OnMouseUp = create droppable

2009-03-06 Thread delphilynx
At this moment, I havent found a solution. Can jQuery not such things. I thought it was realy simple for jQuery. But in the documentation there is not mentioned such a solution. Can anyone say what I have to do to get the right Ajax/Drag n Drop functionality?

[jQuery] Re: Ajax Dot Net Plugin

2009-03-06 Thread Jon
I've been trying to solve this and i just cannot find the solution. The service is a WCF Service - .svc if that effects anything? There is definitely no authentication on the application. It's off in web.config. I have tried everything i can find - including reinstalling IIS. After doing that i

[jQuery] Re: html() in an iframe

2009-03-06 Thread mani ashok
Hi webdeveloperintexas , I am trying to set the value of FCKEditor through javascript/jquery, but it could it reflect in that FCKEditor. Can you please tell me how to set the value of FCKEditor through javascript/jquery. Thanks in Advance. Ashok On Tue, Feb 17, 2009 at 8:42 AM,

[jQuery] Slide : Making it go from right to left

2009-03-06 Thread Martin
Hello All, I am not sure if this question has been asked before, but I'm new to Jquery. I am currently using 'slide' and I want the slider to go from right to left. I have read in many posts you can make the slider, slide up or down. But no where can I see any instructions on how to make it

[jQuery] Re: An animated gif in the middle

2009-03-06 Thread Martijn Houtman
On Mar 6, 12:33 am, phicarre gam...@bluewin.ch wrote: How to show IN THE MIDDLE OF THE SCREEN an animated gif (with jquery effects) during a long operation ? I tried several methods but never compatible with, at least, FF and IE ... Why not just use CSS background-position: 50% 50% and use a

[jQuery] jQuery v1.3 incompatible with jQuery backgroundPosition plugin

2009-03-06 Thread Yu Woon
Hi, I've been using this plugin: http://dev.jquery.com/browser/trunk/plugins/backgroundPosition/jquery.backgroundPosition.js?rev=6073 Using it together with jQuery 1.2.6 and works nicely. I can animate the backgroundPosition of my backgroundImages. This plugin doesn't work together with jQuery

[jQuery] Re: Strange double hits on selectors?

2009-03-06 Thread RobertS
I'm having the exact same issue with jQuery.. I use the enter key to submit, and I can't find any way to make it not double submit once and a while. Hope someone can figure this out. On Feb 26, 7:56 am, Dragan Espenschied d...@a-blast.org wrote: Dear List, i am using jquery 1.3.1 and

[jQuery] jquery tablesorter

2009-03-06 Thread Prafull
jquery tablesorter documents are not visible as perfect and seems to upadate. I tried to make demo with assign a id for a table and added content using thead and tbody. Sorting start working but asc/desc images are not appearing. I got the issue after explore the other examples online and

[jQuery] Is it possible to covert entire html code inside a div into json, using Jquery or any Json plug in ???

2009-03-06 Thread sure
Hi to all , Is there any plug in to covert html code in to Json format. If anything is there, please tell that name. I have to store my html data into json file format. If there is nothing regarding this, please suggest what should i do for this. with Regards sure.

[jQuery] Waiting on ajax request before form submit

2009-03-06 Thread Bober
I have a form. Before submit it I would like send ajax request. Based on the ajax request answer I would like to send form or not. How can I do this? Code: $(#invoice_form).submit(function() { $.get(/test, function(data) { console.log(get answer); });

[jQuery] IE7 removes whitespace from HTML

2009-03-06 Thread martijn.hout...@gmail.com
Hello, Just wanted to document this bug/feature in IE7: alert($(divfoo\nbar/div).html()); This gives foo bar in IE7 and foo\nbar in FF. It might be related to http://groups.google.com/group/jquery-en/browse_thread/thread/6f03f58ac517aea9/0141d95da1ab6644?lnk=gstq=whitespace#0141d95da1ab6644

[jQuery] Re: Waiting on ajax request before form submit

2009-03-06 Thread Mike Alsup
Before submit it I would like send ajax request. Based on the ajax request answer I would like to send form or not. How can I do this? Code: $(#invoice_form).submit(function() {         $.get(/test, function(data) {                console.log(get answer);         });        

[jQuery] Multipart forms, file uploads and the accept header

2009-03-06 Thread Chris Roos
Morning, I have a simple file upload form. It works exactly as expected without javascript. It *almost* works as expected when I convert it to an ajax form, with something like form.ajaxSubmit(options). My options contain a dataType definition, {'dataType' : 'json'}. I believe that this

[jQuery] [Validate] Modifying validate options after page load.

2009-03-06 Thread Mark Perry
Hi This is a strange question I know but I would like to modify the validate options to my form based on a click of a button. For example my default onload code sets up the .validateI() class with my options then based on a user clicking a button I want to override the submitHandler options with

[jQuery] Re: Multipart forms, file uploads and the accept header

2009-03-06 Thread Mike Alsup
I have a simple file upload form.  It works exactly as expected without javascript.  It *almost* works as expected when I convert it to an ajax form, with something like form.ajaxSubmit(options).  My options contain a dataType definition, {'dataType' : 'json'}.  I believe that this directly

[jQuery] jcarousellite css width issue?

2009-03-06 Thread jon randahl
Hello all! I was wondering if anyone could shed some light on a problem I'm facing? I'm using Ganeshji Marwaha's jcarousellite to create a slide show of three (possibly more later) definition lists for client contact details. Each DL contains three contacts. Each DL is held within an LI which is

[jQuery] Re: Waiting on ajax request before form submit

2009-03-06 Thread Bober
On 6 Mar, 13:01, Mike Alsup mal...@gmail.com wrote: Before submit it I would like send ajax request. Based on the ajax request answer I would like to send form or not. How can I do this? Code: $(#invoice_form).submit(function() {         $.get(/test, function(data) {            

[jQuery] Re: [Validate] Modifying validate options after page load.

2009-03-06 Thread Jörn Zaefferer
Try this: var validator = $(#myform).validate(...); $(.button).click(function() { validator.settings.submitHandler = function() { ... }; }); Jörn On Fri, Mar 6, 2009 at 1:02 PM, Mark Perry markperr...@googlemail.com wrote: Hi This is a strange question I know but I would like to modify

[jQuery] Re: Matching on style attribute bug?

2009-03-06 Thread ml1
Thank you for that. Just out of curiosity, why doesn't the [style=] form work?

[jQuery] $.post() callback

2009-03-06 Thread bart
Hi all, I'm running into some trouble using the jquery $.post function. I'm using it in my CMS to delete a page record and after the deletion to display the updated page with the just deleted page removed ofcourse. Needless to say AJAX comes in handy here because of the page refresh. Here's my

[jQuery] Re: IE7 removes whitespace from HTML

2009-03-06 Thread Martijn Houtman
On Mar 6, 12:20 pm, martijn.hout...@gmail.com martijn.hout...@gmail.com wrote: Just wanted to document this bug/feature in IE7: alert($(divfoo\nbar/div).html()); This gives foo bar in IE7 and foo\nbar in FF. It might be related

[jQuery] Re: [Validate] Modifying validate options after page load.

2009-03-06 Thread Mark Perry
Yup that worked after I got the scoping right $('#myButton').click(function(){ var validator = $(#myForm).validate(); validator.settings.submitHandler = function() {alert('new submithandler involed');}; }); Thanks Jorn. Mark On Mar 6, 12:39 pm, Jörn Zaefferer

[jQuery] ANNOUNCE: jQuery UI v1.7 Released

2009-03-06 Thread Rey Bango
We're proud to announce that the jQuery UI team has released v1.7 of the UI controls and effects library. This release marks a major achievement in the history of the jQuery UI project, introducing a host of new features and a greatly revamped architecture. You can read more about it on the

[jQuery] [Validate]

2009-03-06 Thread knal
Hi there, I was wondering if there's some kind of flag, or variable that i can check, to see if a user has already tried to submit a form which is validated with Validate. Because only after the first submit i would like to call $ (.fields).valid(); on certain fields. Thanks, Knal

[jQuery] Problems with input type='file' /

2009-03-06 Thread Renato Bezerra
Hi, I'm having problems with componente input type=file. I'm using the jQuery for cleaning his field, for example: HTML: input type=file id=fileName / jQuery Script: $('#button').click(funtion(){ $('#fileName').val(''); }); In the Firefox it works, but in the IE7 don't works.

[jQuery] Re: Problems with input type='file' /

2009-03-06 Thread Martijn Houtman
On Mar 6, 2:24 pm, Renato Bezerra bezerra.ren...@gmail.com wrote: $('#button').click(funtion(){         $('#fileName').val(''); }); In the Firefox it works, but in the IE7 don't works. I believe this is a security issue, where the browser does not allow you to set the value for a file

[jQuery] can I capture highlighted text?

2009-03-06 Thread hybris77
is there any way of, using jquery preferably, catching text that is highlighted by the user ?

[jQuery] jQuery Help Please

2009-03-06 Thread tfat
Hi, Just wondering if the following is possible using jQuery – if so, would really appreciate your help: 1) I have a menu within a DIV that I would it to slide in when a user hovers over a hot zone in the top left hand corner. Initially this hot zone is invisible but as the user moves the mouse

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread MorningZ
I don't know if you copy and pasted that code right from your tool of choice, but you've got single and double quotes mixed up at div id='table_container and th id=col_1 class='ColumnHeader use single quotes or double quotes, but not one of each, that will cause major issues also, your code

[jQuery] Re: jQuery Help Please

2009-03-06 Thread hybris77
it can be done, anything you can think of is possible, to certain extents of course my suggestion is looking into the tutorials on the jquery website or get someone who knows to give you a beginners class good luck

[jQuery] Re: [Validate]

2009-03-06 Thread Jörn Zaefferer
You can use validator.submitted, which maps the fields already submitted. For example, the default onclick handler: onclick: function(element) { if ( element.name in this.submitted ) this.element(element); } Instead of this, reference the validator object: var

[jQuery] Re: superfish - nav-bar style hover intent problem

2009-03-06 Thread greggo
BTW...I've implemented this now with Wordpress and the most recent iteration can be viewed here: http://97.107.131.227:8000 thanks, gregg On Mar 5, 11:38 pm, greggo gosof...@gmail.com wrote: Thanks Brian! On Mar 5, 3:25 pm, Brian Cherne br...@cherne.net wrote: Currently you get two

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread David Muir
Alain Roger wrote: On Fri, Mar 6, 2009 at 4:16 AM, David Muir davidkm...@gmail.com mailto:davidkm...@gmail.com wrote: So you're saying you need to use js to sync the two tables so that you can use different styling for the header? Sounds like you should be updating your html

[jQuery] Re: [Validate]

2009-03-06 Thread knal
Hi Jorn, Thanks for the quick reply! I will check it out later on. Thanks, Knal On Mar 6, 3:28 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You can use validator.submitted, which maps the fields already submitted. For example, the default onclick handler: onclick:

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
On Fri, Mar 6, 2009 at 3:05 PM, MorningZ morni...@gmail.com wrote: I don't know if you copy and pasted that code right from your tool of choice, but you've got single and double quotes mixed up at div id='table_container and th id=col_1 class='ColumnHeader use single quotes or double

[jQuery] Re: Problems with input type='file' /

2009-03-06 Thread Renato Bezerra
Hi, Martijn Houtman Thanks for help me. I look for a other solution for my problem. Thank you so much. Bye. On 6 mar, 10:29, Martijn Houtman martijn.hout...@gmail.com wrote: On Mar 6, 2:24 pm, Renato Bezerra bezerra.ren...@gmail.com wrote: $('#button').click(funtion(){        

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
I knew you had 2 tables, and sorry if I came across as condescending (a lot of people don't realize tables can have a header section). I'm just trying to figure out why you need to have it split into two tables. Are you trying to have the header cells follow the page as you scroll? If so,

[jQuery] [validate] required that select input's option is anything other than default

2009-03-06 Thread noon
I'm trying to throw the field is required option on a select when its selected option is my default option of dashes/0. I might be going about this the complete wrong way with the required (dependency- callback). Help is appreciated. My HTML/JS may make more sense than this quesiton HTML:

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Rick Faircloth
Mmmm...would this be a case of creating a global variable for use in all cases as opposed to a local variable for the animation code? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Friday, March 06, 2009

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
that crossed my mind, but from the comments above i think he he wants multiple content boxes being populated from a number of different triggers, although he's using an id (of which he can only have one instance of anyway) as the identifier for the loading icon. i'm not sure this is the best way

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
hi there, well, i trigger the ajax request much like this: no matter what they role is, all my interface buttons finish by an action called UI.refresh({section:'projects', sortby:'time', item:'love-me'}); this function compares the sent properties to the current UI stored properties, and if

[jQuery] Re: required that select input's option is anything other than default

2009-03-06 Thread MorningZ
why not use simple JavaScript? required: function(element) { return element.selectedIndex 0; } (Note: i don't use that plugin, but i assume returning true is pass validation) On Mar 6, 9:50 am, noon nun...@gmail.com wrote: I'm trying

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread MorningZ
from my point of view it's enough when i scan the header table and (whatever is column width in slave table) to allocate this width to the data cell (slave table). am I wrong ? What if the data table's first column is not wider than the header table's first column? then you'll be smushing the

[jQuery] Re: [validate] required that select input's option is anything other than default

2009-03-06 Thread Jörn Zaefferer
Set value= for the first option and required:true for the field, thats all. Jörn On Fri, Mar 6, 2009 at 3:50 PM, noon nun...@gmail.com wrote: I'm trying to throw the field is required option on a select when its selected option is my default option of dashes/0.  I might be going about this

[jQuery] Re: Matching on style attribute bug?

2009-03-06 Thread MorningZ
It's probably because style isn't a simple string parameter in HTML DOM world, it's a collection On Mar 6, 7:46 am, ml1 tsummer...@gmail.com wrote: Thank you for that. Just out of curiosity, why doesn't the [style=] form work?

[jQuery] Re: Slide : Making it go from right to left

2009-03-06 Thread Karl Swedberg
Hi Martin, Maybe this tutorial will help: http://www.learningjquery.com/2009/02/slide-elements-in-different-directions --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 6, 2009, at 4:51 AM, Martin wrote: Hello All, I am not sure if this question has

[jQuery] Validate issue with firefox

2009-03-06 Thread BSpizzle
I'm running into some issues and I was hoping that someone could shine a light on what's happening, I am using ASP.Net and the following controls seem to work for all other pages I have which submit (the following is from the rendered page, not the aspx): input id=_ctl0__Footer_cmdSave

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Rick Faircloth
Is anything in your code dependent on your loading graphic id, or would a class identifier be sufficient? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Friday, March 06, 2009 10:31 AM To:

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
no, nothing depend on it. I see now that there is a potential problem with the way i set up my throbber logic: there is only one available loading div for several zones. So if one zone is loading and another call is triggered, the loading panel will move to the second zone before zone1 is

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
yeah, thats basically what i was thinking. personally i'd try to track the container and use a generic piece of code for the the loading image. that way you could just use $ (container).child(.loading) to traverse the DOM. or if for any reason you want to make them unique perhaps even build an

[jQuery] Subtract part of url to pass new url to variable

2009-03-06 Thread whoisonfirst
I have an image url --- it is enclosed in a href. images/flavor/websites/oranges_id_t.jpg title=oranges How do I get the url MINUS the _t so it ends up being images/flavor/websites/oranges_id.jpg title=oranges that I can pass to a variable of this ? -- View this message in context:

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
yeah, thats basically what i was thinking. personally i'd try to track the container and use a generic piece of code for the the loading image. that way you could just use $ (container).children(.loading) to traverse the DOM. or if for any reason you want to make them unique perhaps even build

[jQuery] Re: Subtract part of url to pass new url to variable

2009-03-06 Thread MorningZ
var FullImageLocation = img.src.replace('_t.', '.'); On Mar 6, 11:34 am, whoisonfirst bp.ly...@gmail.com wrote: I have an image url --- it is enclosed in a href. images/flavor/websites/oranges_id_t.jpg  title=oranges How do I get the url MINUS the _t so it ends up being

[jQuery] Re: Subtract part of url to pass new url to variable

2009-03-06 Thread ryan.j
var u = $(a#oranges).attr(href) u.split(_t)[0] or u.instring( 0, u.lastIndexOf(_t) ) On Mar 6, 4:34 pm, whoisonfirst bp.ly...@gmail.com wrote: I have an image url --- it is enclosed in a href. images/flavor/websites/oranges_id_t.jpg  title=oranges How do I get the url MINUS the _t so

[jQuery] CSS top seems ignored by blockUI

2009-03-06 Thread Chuck
Hi, I'm passing to blockUI an array of options: {top: '150px', width: '40%', padding: '2px', border: 'none'}; And top appears to be completed ignored! The other options are used, but the message is consistently drawn centered vertically; no matter what I pass as the value for top.

[jQuery] [cycle] trouble with transparent png in IE when using the cycle plugin

2009-03-06 Thread Michael Smith
Hi I'm having some trouble with transparent pngs and the jquery cycle plugin on IE7: If you view the following: http://www.dianomioffers.co.uk/smartads.epl?id=100 you'll see that just when the images cycle, the transparent area goes black. I know that IE has some issues with png's but I

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread ryan.j
make it !important or possibly even try a negative margin-top if all else fails. On Mar 6, 4:45 pm, Chuck kaspers...@gmail.com wrote: Hi, I'm passing to blockUI an array of options:         {top: '150px', width: '40%', padding: '2px', border: 'none'}; And top appears to be completed

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread ryan.j
also, semi-colons ;) On Mar 6, 4:48 pm, ryan.j ryan.joyce...@googlemail.com wrote: make it !important or possibly even try a negative margin-top if all else fails. On Mar 6, 4:45 pm, Chuck kaspers...@gmail.com wrote: Hi, I'm passing to blockUI an array of options:         {top:

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
Thank you Ryan, Thus my initial question becomes : does jquery stores somewhere all dom elements in the process of being updated by an ajax call ? like $.ajax.processingElements = ['container1','container2']; if not, i guess that i could turn this into a plugin that adds on ajaxStart() an

[jQuery] Re: IE7 removes whitespace from HTML

2009-03-06 Thread brian
Does this work? alert($(divfoo\nbar/div).text()); (I'm in no mood to boot Windows just now, sorry ;-) On Fri, Mar 6, 2009 at 8:02 AM, Martijn Houtman martijn.hout...@gmail.com wrote: On Mar 6, 12:20 pm, martijn.hout...@gmail.com martijn.hout...@gmail.com wrote: Just wanted to document this

[jQuery] Re: can I capture highlighted text?

2009-03-06 Thread brian
On Fri, Mar 6, 2009 at 8:57 AM, hybris77 dist...@yahoo.com wrote: is there any way of, using jquery preferably, catching text that is highlighted by the user ? Have a look at this article: http://www.quirksmode.org/dom/range_intro.html

[jQuery] Re: jQuery Help Please

2009-03-06 Thread Jack Killpatrick
This may give you a little bit of a headstart: http://www.ihwy.com/Labs/demos/Current/image-hover-menu.aspx - Jack tfat wrote: Hi, Just wondering if the following is possible using jQuery – if so, would really appreciate your help: 1) I have a menu within a DIV that I would it to slide in

[jQuery] Re: $.post() callback

2009-03-06 Thread James
I don't see any issues with the code you posted. I suggest try removing some code from inside-out to debug. Start by removing the AJAX portion. Does it still follow through on the href? If not, it's the AJAX. Is so, something else is wrong. Remove the confirm, and test. Etc. On Mar 6, 2:56 am,

[jQuery] Re: get img id and slide up div with same name

2009-03-06 Thread James
Just so you know, you cannot have two elements on the same page with the same id. You can have the same class though. img src=... id=one class=myImg / img src=... id=two class=myImg / div id=div_one.../div div id=div_two.../div $(function() { $(.myImg).click(function() { var

[jQuery] Re: getJSON url variable broken

2009-03-06 Thread James
Yes, David is right. My example would not work. Sorry about that. For other jQuery AJAX functions, there's an option to set 'async' to false if you do want to let your script halt until the AJAX response is received. I don't think there's an option for getJSON for that, so you'll have to do

[jQuery] Re: Problems with input type='file' /

2009-03-06 Thread Rob
IE allows users to type in the value in a file field, it's Firefox that prevents that. Also I think the syntax there may be wrong. I would use the name of the file field and change it's value attribute to blank. HTML: input type=file name=fileName id=fileName / jQuery (using 1.3.x)

[jQuery] New JQuery User, How do I call this function with timed Interval

2009-03-06 Thread Timz66
I am trying modify Photo gallery and I want it to rotate through the images, I currently use setInterval(document.getElementById('sliderotate').click(), 5000); but of course this does not work in FireFox. As much as I an tell the click is bind in a js file here: init: function(opt) { opt =

[jQuery] Hide/Show glossary page require for website using jQuery

2009-03-06 Thread JP
Hi There I am trying to implement a glossary page (A-Z) for a website. Basically when I user clicks a letter e.g A all the glossary terms listed under A will appear below and all other glossary terms will be hidden. I have a very simple working version below, but at the moment I am having to

[jQuery] jQuery UI Datepicker MySql PHP Events

2009-03-06 Thread bzin
Hello, I've got a mysql table that keeps dates of events: CREATE TABLE `events` ( `id` int(11) NOT NULL auto_increment, `id_place` int(11) NOT NULL, `eventDate` datetime default NULL, `eventHour` varchar(10) collate latin1_general_ci default NULL, `enabled` tinyint(1) NOT NULL

[jQuery] getJSON being ignored

2009-03-06 Thread Hill
This is probably a simple problem, but I can't seem to find the fix. I have three getJSON events that work inside of a tab like form on a page. I load the page and navigate to the first tab, each tab has its own getJSON request. The first tabs getJSON does not fire and is ignored. Then I move to

[jQuery] Re: jQuery Help Please

2009-03-06 Thread Timz66
Tfat, I am new too, The best tutorial I found to get started was http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-video-series/ Tim66 On Mar 6, 8:57 am, tfat tony.fatou...@gmail.com wrote: Hi, Just wondering if the following is possible using jQuery – if so, would really

[jQuery] [validate] different validation based on clicked button

2009-03-06 Thread Dan
I'm using ASP.NET, jquery and this http://bassistance.de/jquery-plugins/jquery-plugin-validation/ validation plugin. I have several asp:Button objects on my page. I have the validation working almost the way I want. I have several buttons that cause the form to postback to the server and I only

[jQuery] $.get xml document with xhtml fragments in IE

2009-03-06 Thread dbu
hi group, i try to use jquery to insert xhtml fragments into my html dom at various places. the fragments are found in a large xml document i get using ajax. the line that fails in IE (6 7) is: $(#+x).append($(text,node).children()); with x being the id name for the element and node a

[jQuery] Re: can I capture highlighted text?

2009-03-06 Thread vkuryat...@gmail.com
you can try this plug in - http://laboratorium.0xab.cd/jquery/fieldselection/0.2.3-test/test.html On 6 Бер, 15:57, hybris77 dist...@yahoo.com wrote: is there any way of, using jquery preferably, catching text that is highlighted by the user ?

[jQuery] Simple animation fix

2009-03-06 Thread bradharr...@hotmail.com
I have this simple animation that I need help with. Basically it is a square that moves left to right. It is controlled by a left and a right button. The only problem is that I need the square to stop once it reaches a certain distance. Right now it will just keep going and going as far as you

[jQuery] Lopping scrolling menu that doesnt scroll back

2009-03-06 Thread JohneeM
Hi, Notice on the www.bbc.co.uk ( iplayer section ) and on http://www.designsensory.com/ their menus dont coarsely scroll back to the start, they simply loop with the end option joining together with the first option. Both examples are done in jquery, can someone point me to the script please.

[jQuery] problen with jQuery.noConflict(); help please!!!

2009-03-06 Thread porkproductpete
okay, so i'm running proto/jquery together and it works fine on Safari and FF with out having to add jQuery.noConflict(); but it won't work on IE6/7... separately both scripts work fine in IE6/7. When I open my page in IE6/7 the jquey.js works but the proto/scriptac opens my lightbox in a new

[jQuery] New JQuery User, How do I call this function with timed Interval

2009-03-06 Thread Timz66
I am trying modify Photo gallery and I want it to rotate through the images, I currently use setInterval(document.getElementById('sliderotate').click(), 5000); but of course this does not work in FireFox. As much as I an tell the click is bind in a js file here: init: function(opt) { opt =

[jQuery] z/OS install

2009-03-06 Thread Martin, Larry D
I am brand new to jquery - not even new yet. I have downloaded both jquery-1[1].3.2.js and jquery-1[1].3.2.min.js and have FTP'ed binary to Unix Systems Services on both z/OS 1.9 and 1.10. When I issue the make command I get one of two results: For jquery-1[1].3.2.js I get: make:

[jQuery] Re: trouble with transparent png in IE when using the cycle plugin

2009-03-06 Thread Mike Alsup
Have you tried using the cleartype option? $('.hero').cycle({ fx:'fade',pause:1,cleartype:true }); On Mar 6, 11:45 am, Michael Smith smi...@gmail.com wrote: Hi I'm having some trouble with transparent pngs and the jquery cycle plugin on IE7: If you view the following:

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread Mike Alsup
Try setting the 'centerY' property to false: $.blockUI({ css: {top: '150px', width: '40%', padding: '2px', border: 'none'}, centerY: false }); On Mar 6, 11:45 am, Chuck kaspers...@gmail.com wrote: Hi, I'm passing to blockUI an array of options:         {top: '150px', width: '40%',

  1   2   >