[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-11 Thread pd
() - $ (this).outerHeight(); newLeft= $(window).width() - $(this).outerWidth (); Good luck pd On Nov 12, 1:24 pm, CodingCyborg [EMAIL PROTECTED] wrote: I have a script to keep the draggable windows from leaving the main window they are in. When I comment out the code everything else works

[jQuery] Proposal: new method for determining variables without value

2008-10-22 Thread pd
such as: hasValue() This method would simply return a boolean response. What does everyone think? pd

[jQuery] Re: This jQuery mailing list

2007-11-12 Thread pd
I posted a message today and it has not appeared yet. In fact nothing has appeared in the last 10 hours. John have you tightened the control of the list? Is it now more heavily moderated than in the past? pd On Nov 12, 5:06 am, herbasher [EMAIL PROTECTED] wrote: I read somewhere

[jQuery] Re: This jQuery mailing list

2007-11-12 Thread pd
Ooops, sorry all. It seems the group home page is now sorting a little differently. I thought I should see my message at the top but it appears sorted on popularity now? On Nov 13, 1:15 am, pd [EMAIL PROTECTED] wrote: I posted a message today and it has not appeared yet. In fact nothing has

[jQuery] Safari Mac fatal error

2007-11-11 Thread pd
Hi All Had some trouble today with Safari on a crApple. Thought I should pass it on in case anyone else suffers a similar fate and wants to keep what hair they have (if any) on their heads. This is a case of one browser being significantly more strict than several others. So strict it stops

[jQuery] hasLayout question

2007-10-14 Thread pd
in a preference context means no value has been set, or the value is auto. I'd really appreciate if anyone could give me their experiences of what values the IE Dev Toolbar shows and their corresponding real- world meaning. pd

[jQuery] $(document).ready window.history.back() bug?

2007-08-20 Thread pd
Hi All Not sure if this should go straight to the dev list so trying here first. I've just spent two hours debugging a strange issue where the following triggers the back function and ignores the contents of the if condition: $(document).ready( function () { if (window.history.back()) {

[jQuery] Re: $(document).ready window.history.back() bug?

2007-08-20 Thread pd
Hi yeah sorry I only realised the logic you point out immediately after posting. pd On Aug 21, 12:08 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 21, 3:58 am, pd [EMAIL PROTECTED] wrote: Not sure if this should go straight to the dev list so trying here first. I've just spent two

[jQuery] Documentation on $('#foo')[0] or $('#foo').get(0) ??

2007-08-15 Thread pd
this information though I am not convinced I have a complete 'handle' on it. pd

[jQuery] Re: Fwd: jQuery and UTF8

2007-08-15 Thread pd
I can't be sure this will help, but does your server side script return the document with specifically with a utf8 charset header? On Aug 16, 8:05 am, barophobia [EMAIL PROTECTED] wrote: I'm forwarding this email again as it seems that it may not have made its way to the list the first time.

[jQuery] Re: Documentation on $('#foo')[0] or $('#foo').get(0) ??

2007-08-15 Thread pd
this experience! pd On Aug 16, 3:43 am, Michael Geary [EMAIL PROTECTED] wrote: From: pd I've been hacking with jQuery on and off lately and I've now hit the annoying problem of not being able to access simple DOM 0 properties unless, apparently, using either of the following syntaxes

[jQuery] Re: Documentation on $('#foo')[0] or $('#foo').get(0) ??

2007-08-15 Thread pd
before getting distracted. Bizarre that it apparently has something related to this topic? I will have to read the whole thing, it's still open in one of my tabs for when I get the time :) pd On Aug 16, 11:27 am, Erik Beeson [EMAIL PROTECTED] wrote: id is supposed to be unique is it not? My

[jQuery] Re: Documentation on $('#foo')[0] or $('#foo').get(0) ??

2007-08-15 Thread pd
and or explicit. It is short though :) pd On Aug 16, 11:27 am, Erik Beeson [EMAIL PROTECTED] wrote: id is supposed to be unique is it not? My example used the # to refer to a unique id on the page, therefore *not* an array of objects. Wrong, it *is* still an array of objects, it's just an array

[jQuery] use of this in jQuery selectors

2007-08-09 Thread pd
Hi All Can someone clarify the use of the JavaScript keyword this in a jQuery context? I find it strange that the following code doesn't work $(this + '.requiredField') but this does $(this.id + '.requiredField') even when the object calling the code does not have an id attribute! Is

[jQuery] Iteration through multiple class attribute values

2007-07-27 Thread pd
. Thanks pd

[jQuery] Re: Iteration through multiple class attribute values

2007-07-27 Thread pd
the elements of a given array. Since a string is an array of characters (try alert(bar[1]) if you don't believe it), each is iterating over each character. Maybe try splitting the classes on space characters? Maybe something like this: $.each(foo.className.split(' '), ...); --Erik On 7/26/07, pd

[jQuery] Re: ContextMenu plugin r2 released!

2007-07-16 Thread pd
a user's viewpoint, don't know it's a great idea. Nefarious websites could re-use your code to exploit people. I understand this is a grey area and I'm not having a go at anyone, just wondering about the topic. pd On Jul 16, 1:05 pm, cdomigan [EMAIL PROTECTED] wrote: Version r2 of the ContextMenu

[jQuery] dimensions plugin documentation

2007-06-07 Thread pd
Hello Apologies if I've missed something simple but I can't seem to find simple documentation for dimensions.js other than that inside the actual file. I need a bit more than that. Am I missing something or is this plugin lacking a bit of documentation (no doubt due to over-worked,

[jQuery] PNG hack that works for repeated background images?

2007-06-04 Thread pd
Hello I've been trying to implement this 'plugin' 'hack': http://khurshid.com/jquery/iepnghack/ to get a repeated background effect in IE6 and decent browsers. It appears this plugin does not work with repeated background PNG images. Instead the image is shown just once. Can anybody confirm

[jQuery] Re: Can JQuery do this?

2007-06-04 Thread pd
Might want to try the .empty() method, on the div containing the image, before you load in the next one. http://docs.jquery.com/DOM/Manipulation#empty.28.29 On Jun 4, 4:47 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm pretty sure it can since jquery is so sweet, but here's what I am

[jQuery] Re: PNG hack that works for repeated background images?

2007-06-04 Thread pd
with conditional comments too, so you don't have to dirty up your code with too many IE6 hacks. --Erik On 6/3/07, pd [EMAIL PROTECTED] wrote: Hello I've been trying to implement this 'plugin' 'hack': http://khurshid.com/jquery/iepnghack/ to get a repeated background effect in IE6 and decent

[jQuery] Re: PNG hack that works for repeated background images?

2007-06-04 Thread pd
Thanks everyone, absolutely great to be able to get quick accurate answers like this.

[jQuery] getting DOM values

2007-05-29 Thread pd
Hi BjQ (before jQuery) I can do this: document.getElementById('foo').clientWidth to get a DOM value that Firebug tells me is set to something other than 'undefined'. I can't figure out how to the do same in AjQ (after jQuery). I've tried the following: $('#foo').attr('clientWidth') but

[jQuery] CSS3 support

2007-05-28 Thread pd
Hi All I know I'm dreaming and it's probably not realistic but on the front of the jQuery site is the following proclamation: CSS3 Compliant · Supports CSS 1-3 and basic XPath Should that proclamation really say CSS3 Compliant (selectors) because AFAIK jQuery doesn't appear to support any CSS3

[jQuery] Re: CSS3 support

2007-05-28 Thread pd
is one of them:http://www.malsup.com/jquery/corner/ -- Brandon Aaron On 5/28/07, pd [EMAIL PROTECTED] wrote: Hi All I know I'm dreaming and it's probably not realistic but on the front of the jQuery site is the following proclamation: CSS3 Compliant · Supports CSS 1-3 and basic XPath

[jQuery] Re: datePicker v2 beta

2007-05-21 Thread pd
Is there any particular reason why your plugin doesn't have an option for specifying time as well as date? I'd like to use this plugin but need time functionality. On Apr 24, 7:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, I'd like to announce the beta release of v2 of my datePicker plugin

[jQuery] Re: Help Test jQuery 1.1.3

2007-05-20 Thread pd
I've tested it and zebra striping is fine, mouseover/out highlighting is fine, getJSON is still fine as well. Tested with Fx 2.0.0.3, IE7 and IE6 (SP2) on Windows XP. On May 21, 11:29 am, John Resig [EMAIL PROTECTED] wrote: Hi Everyone - A test build of the upcoming 1.1.3 release is ready

[jQuery] Re: .ready() unreliable due to IE6 inconsistencies?

2007-05-14 Thread pd
. In the end instantiating swfobject with script tags at the end of the document body worked though. Perhaps this is an indication of what you suggested regarding .ready() being a different (more tolerant?) beast now than in June 2006. Thanks for your time pd On May 14, 1:44 pm, John Resig [EMAIL

[jQuery] .ready() unreliable due to IE6 inconsistencies?

2007-05-13 Thread pd
Hello The following site uses progressive enhancement to zebra style alternative table rows, centre some text in table cells, reveal JS- only functionality hidden by default in the style sheet, etc etc Unfortunately it appears that the $(document).ready() method we have wrapped all our onload

[jQuery] Re: Selectors: x td in all rows of a table

2007-05-07 Thread pd
was close with :nth haha. I'm surprised both textAlign and text-align work as .css() properties. That is really developer friendly, sensational. jQuery is the best thing since sliced bread. Mr Resig and colleagues are gods! On May 8, 11:10 am, pd [EMAIL PROTECTED] wrote: Hello I've looked up http

[jQuery] Re: Selectors: x td in all rows of a table

2007-05-07 Thread pd
solution would work better for me. Is this possible? Thanks pd On May 8, 11:20 am, Karl Swedberg [EMAIL PROTECTED] wrote: If I understand your situation correctly, you might be looking for :nth-child() You could, for example, get the 2nd cell of each row this way: $('td:nth-child(2)').css

[jQuery] Re: Selectors: x td in all rows of a table

2007-05-07 Thread pd
Hi Karl I can't explain why but the code appears to be working as it should now. Rather strange but all is well that ends well. Thanks again for your excellent, considered and patient help. pd On May 8, 1:37 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hmmm. I'm not sure what could be causing