[jQuery] Issue with css() when appending marginLeft

2009-12-30 Thread Luke Dyson
nsolidate, it ignores it, like so: $("#aDiv").css("bottom","40px","position","fixed","marginLeft", "-176px"); Does anyone know why? Cheers, Luke

[jQuery] jQuery Clash with other javascript?

2009-08-10 Thread luke
Hi, So I'm trying to create a simple overly but I think i'm doing something wrong with the ordering of my javascript or something, the page is http://blackpaint.co.uk/BlackPaint09/offline/flash-background/index.html here is the overlay by itself (working version) http://blackpaint.co.uk/BlackPai

[jQuery] Re: [validate plugin] contain number

2009-01-15 Thread Luke Adamis
now but I check the password thing. Luke On Jan 15, 2009, at 1:25 PM, Jörn Zaefferer wrote: digits requires digits only, eg. 123, number requires a decimal number, eg. 500.1. This extension might be a good starting point: http://view.jquery.com/trunk/plugins/validate.password/ The password rules ar

[jQuery] [validate plugin] contain number

2009-01-15 Thread Luke Adamis
string to be all numbers. I thought the digit() would require all characters to be numbers and the numbers() would check if the string has numbers. Thanks for help, Luke

[jQuery] jQuery Interface - Multiple Windows (Chrome/Safari problems...)

2009-01-13 Thread Luke Moody
I have a feeling that it's a CSS-based issue, but it's incredibly perplexing. Any help on this would be very welcome indeed. Let me know if code samples or any further info is needed. Thanks in advance, Luke.

[jQuery] jQuery Interface - Multiple Windows (Chrome/Safari problems...)

2009-01-13 Thread Luke Moody
I have a feeling that it's a CSS-based issue, but it's incredibly perplexing. Any help on this would be very welcome indeed. Let me know if code samples or any further info is needed. Thanks in advance, Luke.

[jQuery] Re: working with appended elements

2009-01-06 Thread Luke Adamis
never mind livequiery did the trick. L. On Jan 6, 2009, at 11:08 AM, Luke Adamis wrote: first time I am working with append(). If I create an element with append(): $('#box').append('Hide Me'); then I need that element to be clickable. $('#hideme').cli

[jQuery] working with appended elements

2009-01-06 Thread Luke Adamis
't there when the script was initially loaded. any idea what is the solution here? or how can I create elements that later I can use? thanks, Luke

[jQuery] validate plugin date()

2008-12-23 Thread Luke Adamis
t? do I need to write my own rule for that? thanks Luke

[jQuery] Re: IE problem

2008-12-05 Thread luke adamis
it duplicates the ids and classes I put into the template. since JQuery relies on classes and ids of DOM elements we get a conflict there. Safari, Firefox are smart enough to deal with the conflict. IE6 and IE7 mess up. L. On Dec 5, 2008, at 10:12 AM, luke adamis wrote: test page

[jQuery] Re: IE problem

2008-12-05 Thread luke adamis
test page: http://kitchenshop.ebeacon.net/catalog/ thanks, luke On Dec 4, 2008, at 6:29 PM, Michael Geary wrote: It doesn't seem to work for me in Firefox either. For some reason, $('.promotion_content').length evaluates to 0. Oh! I get it. I'm missing the HTML code!

[jQuery] IE problem

2008-12-04 Thread luke adamis
.click (function () { tab_content.hide().filter(this.hash).fadeIn('slow'); $('#promotion_holder > #promotion_navigation > ul > li > a').removeClass('selected'); $(this).addClass('selected'); n = $(this).attr('name') - 1; return false; }).filter(':first').hover(); }); both the random selection and the clicking on the next previous buttons are messed up in IE6, IE7. if I set var e = $ ('.promotion_content').length; to a fixed number, the script works. but I need to count the elements somehow first. thanks, luke

[jQuery] Re: using depends method with Validate() plugin

2008-12-03 Thread luke adamis
ut I would rather have it in the rules. Is there any way to do that? L. On Dec 3, 2008, at 11:30 AM, Jörn Zaefferer wrote: I guess you have to escape that ID: jQuery interprets that as "element with id product_interest and an attribute named '0'". Jörn On Wed, Dec 3, 2

[jQuery] Re: using depends method with Validate() plugin

2008-12-03 Thread luke adamis
cks 'other' , #product_interest[0] then user must fill the text filed: other_product_interest. Thanks, Luke

[jQuery] Re: using depends method with Validate() plugin

2008-12-02 Thread luke adamis
Thanks! I found the page as well: http://docs.jquery.com/Plugins/Validation/Methods/required#dependency- expression I wonder how I could miss this page. Luke On Dec 2, 2008, at 2:05 PM, Jörn Zaefferer wrote: Either depends: "#countrycode[value=1]" or depends: function(

[jQuery] Re: using depends method with Validate() plugin

2008-12-02 Thread luke adamis
#countrycode:'1'" } }, Luke On Dec 2, 2008, at 11:44 AM, luke adamis wrote: Hi, I am using the Validate() plugin for various forms and I run into this issue with the depends method on various places. So far I found only two references

[jQuery] using depends method with Validate() plugin

2008-12-02 Thread luke adamis
ndent: { dependsOn: { el: '#emailMethod', being: ':checked' }, email: true }, I am not a javascript wizard so this method writing is getting my head dizzy. Can anyone tell me if there is a simple way of using depends in rules for validate() plugin? Thanks, Luke

[jQuery] Re: Validate plugin - help with name vs Id for rules; checkbox in strange format

2008-10-30 Thread luke BAKING barker
I have found the method countUnchecked() / :unchecked , but am unsure how to use it in this context. I could do that for the form I suppose, and block a validation if it does not find zero unchecked elements. could someone give a quick example of how I might apply this to my form? Luke On Oct

[jQuery] Re: Validate plugin - help with name vs Id for rules; checkbox in strange format

2008-10-30 Thread luke BAKING barker
like os - 'data[Cover][agreed]': { required:true } Is that the correct way to test a checkbox? I must apologise as I posted another message esterday, as google groups didnt show me my post had worked, even 30 minutes later! thanks, Luke On O

[jQuery] Re: [validate] Ignore hidden form fields from the validation

2008-10-29 Thread luke BAKING barker
in, so I realise I am probably missing something simple! the problem is that CakePHP checkbox creates 2 checkboxes, with same name, but different ID. I realise it is not possible to use the ID in Validate plugin. thank you for a great plug-in by the way, Luke On Oct 10, 12:07 pm, "Weyert de Boe

[jQuery] Validate plugin - help with name vs Id for rules; checkbox in strange format

2008-10-29 Thread luke BAKING barker
round addressing the $(#CoverAgreed) . validate() but could not be successful either. Any ideas for a workaround? thank you in advance for any help you may be able to give Luke --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[jQuery] Select nodes with namespaced attribute

2008-09-03 Thread Luke Van In
rk in jQuery. Does anyone have any advice on how to do this? -- Luke Van In Alio Technologies www.aliotech.com

[jQuery] Selecting elements by namespace and namespace URI

2008-08-29 Thread Luke
I have an Atom service XML document (example at end of post) and I need to select tags by name and with a specific namespace URI. The equivalent to the following in normal DOM JS: someXML.getElementsByTagNameNS( "http://www.w3.org/2005/Atom";, "title" ); Is this possible in JQuery, or do I have

[jQuery] Re: bugs

2008-06-26 Thread Luke
OK, so nobody could address this very basic issue. I think this a major one for jquery. so I replaced $(document).ready( with window.onload = and it might be a bit slower but it works. maybe a preloader looks prettier but this one works just fine. and it is very simple. cheers luke

[jQuery] Re: bugs

2008-06-24 Thread Luke
what's the point of the $(document).ready(function() if I pre load my images? I thought the idea is to load the page then find images and then modify their properties. with a pre loader I would pre load the images then modify their properties then load the page. am I right? luke. On Jun

[jQuery] Re: bugs

2008-06-20 Thread Luke
thanks MorningZ, but no luck here. on refresh safari ignores positioning and messes up image resizing. l. // create gallery images $(document).ready(function(){ var max_width = 310; var max_height = 310; var selector = 'img.medium'; $(selector).each(functio

[jQuery] Re: bugs

2008-06-20 Thread Luke
Thanks, but no luck. still messed up in Safari after page refresh. l. // create gallery images $(document).ready(function(){ var max_width = 310; var max_height = 310; var selector = 'img.medium'; $(selector).each(function() { var width

[jQuery] bugs

2008-06-20 Thread Luke
help appreciated! luke here is my code: // create gallery images $(document).ready(function(){ var max_width = 310; var max_height = 310; var selector = 'img.medium'; $(selector).each(function() { var width = $(this).width();

[jQuery] Superfish appears behind Flash in IE7

2008-01-07 Thread Luke Brookhart
perfish_problem.html Luke Brookhart

[jQuery] Events/error example does not work

2007-12-30 Thread Luke Brookhart
The following example that's given in the Event/error page at (http:// docs.jquery.com/Events/error) does not work. Based on my understand of the example, this is supposed to bind the function to the browsers "onerror" function and pass the msg, url, and line. Instead of doing this, it just passes

[jQuery] Superfish submenus flowing outside of browser window

2007-12-19 Thread Luke Brookhart
menu tight against the width of the text in each menu link). Here's a screenshot link: http://dev.pureagent.net/overflow_issue.png Thanks, Luke Brookhart

[jQuery] .ajaxError

2007-11-17 Thread luke
HI, The documentation says that the $.ajaxError () is triggered when an error occurs. Is this error sam as the http - response code or is it some internal JS error ?

[jQuery] Re: Fastest method to create table rows

2007-08-08 Thread Luke Lutman
h a DOM node in the first place if at all possible. Cheers, Luke Josh Bush wrote: > Well, I feel stupid. it's not the join that's taking so long, it's > the $( "really big DOM string with 1,000 rows and 3 columns") that > takes so dang long on IE7. After all of

[jQuery] Re: How to get font size in pixels?

2007-08-01 Thread Luke Lutman
wn bug is that it won't work for elements that don't accept content, like or . Cheers, Luke

[jQuery] Making internet explorer behave with jquery

2007-07-09 Thread Luke
Basically what I'm trying to do is apply a .text and a .textFocus to certain elements. for example: input and input:focus, respectively. So what I've done is this: I am not concerned with the focus portion at this point... only with applying the correct class to the correct elements. For some rea

[jQuery] Re: problem using jquery.flash plugin in my plugin

2007-06-22 Thread Luke Lutman
7;); $el.html(''+this.innerHTML+''); $el.prepend($$.transform(htmlOptions)); jQuery(this) .after($el) .remove(); }; $('#example').flash({ src: 'jqUploader.swf' }, { version: 8 }, replace); (I haven't tested the replace function above, but

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Luke Lutman
ght want to use the DOM methods (i.e. $(document.createElement('table')) for creating certain elements -- table, thead, tr, etc. --, it's much faster than $('') in Safari. Cheers, Luke Kelvin Luck wrote: Hi, I'd like to announce the beta release of v2 of my dat