[jQuery] Re: [validate] ie6 runtime errors

2008-12-21 Thread Sean Allen
On Dec 21, 2008, at 11:26 AM, DumpsterDoggy wrote: First glance, it looks like your first script tag's src attribute is incorrect: that makes no difference to the error one way or another. http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js "> has the same

[jQuery] Re: Order of hiding container-divs and their content matters on IE6,7

He said that was a demonstration/example. He didn't say that it's his code.   --- On Sun, 12/21/08, Ricardo Tomasi wrote: From: Ricardo Tomasi Subject: [jQuery] Re: Order of hiding container-divs and their content matters on IE6,7 To: "jQuery (English)" Date: Sunday, December 21, 2008, 8:26

[jQuery] Re: jQuery crashing older PCs in Firefox 3.0.5?

I don't question the symptoms that you're seeing, but trust me: jQuery may be triggering the problem, but it isn't *causing* it. jQuery, and JavaScript in general, simply doesn't have the kind of system access needed to cause a crash of this sort. It has to be something along the lines I suggested

[jQuery] Re: jQuery crashing older PCs in Firefox 3.0.5?

What gets me is I've never had this problem with FF before and when it crashes, it's ALWAYS executing jQuery code via a click handler. No problems whatsoever in Opera. On Dec 21, 5:19 pm, Ricardo Tomasi wrote: > Something wrong with your windows or FF install for sure. There is > nothing specia

[jQuery] [autocomplete] country selection add-on

Hi, I just posted an add-on for the excellent jQuery autocomplete plugin. I am looking for feedback on it. http://www.devtaxi.com/2008/12/21/country-jquery-autocomplete-plugin/ Regards

[jQuery] Re: problem in removing and moving

Thanks to Dave Methvin, it runs. I didn't try Kean's solution, Dave's was simpler. And I have one more question: HTML: ...something... ...something... ... ... ... ... JS: if(previous dl is first dl){ ...} else { ... } - how can I write the condition? (e.g. I have this condition in sec

[jQuery] Re: problem in removing and moving

Thanks to Dave Methvin, it runs. I didn't try Kean's solution, because David's was simpler, but thanks too. And I have one more question: ...something... ...something... ... ... ... JS: if(previous dl == first dl) - how can I check if previous of 'this dl' is the first 'dl', e.g. I ha

[jQuery] Re: Order of hiding container-divs and their content matters on IE6,7

Very interesting, it's definitely a IE rendering bug. display:none is actually set, and the elements are not affecting layout, but still visible. Setting visibility:hidden seems to do the job. I guess there's nothing that can be done on jQuery's side, as this affects only this specific case and ca

[jQuery] Re: Order of hiding container-divs and their content matters on IE6,7

He just did. Why not read it? On Dec 21, 10:19 pm, ripple wrote: > How about posting your code? >   >   >   >  http://2whoa.com/dominate > > --- On Sun, 12/21/08, Paul wrote: > > From: Paul > Subject: [jQuery] Order of hiding container-divs and their content matters on > IE6,7 > To: "jQuery (

[jQuery] Re: How to get parts of URL after domain

Wow. Had never seen that construct, very efficient. Learning something new everyday :) cheers, - ricardo On Dec 21, 10:46 pm, "Michael Geary" wrote: > I would think it would make more sense to do this in PHP instead of > JavaScript. You can use PHP code in your Drupal theme. > > If you want to

[jQuery] Re: jQuery crashing older PCs in Firefox 3.0.5?

Something wrong with your windows or FF install for sure. There is nothing special in the way jQuery does animations compared to any other JS scripts. I use FF on an AMD 2.0ghz with 1gb RAM very often and never have any crashes. - ricardo On Dec 21, 12:39 am, Magnificent wrote: > I have an old

[jQuery] Re: jQuery crashing older PCs in Firefox 3.0.5?

The monitor goes black (like a loss of signal), then either nothing, or sometimes it reboots on its own. It only happens when executing jQuery code and I've yet to get a single crash in Opera on the same pages testing the same code. I've never had this problem in Firefox before, either. On Dec

[jQuery] Re: problem with :contains in 'td'

On Dec 20, 10:31 pm, chinnak wrote: > Thanks a lot ricardo.. >         $(':contains("History")','tr').css("background-color","red"); > (WORKS) > > One thing I understood was > :contains uses the context to search in it children.not in the same > element.becoz when I use 'td' as the context td ha

[jQuery] Re: Can I "access" and change content loaded dynamically after jQuery.js?

If you add the event handlers to the callback you can get it working: $("#content").load(loadLink, function(){ hideLoader(); $('.details').hide(); $('.showDetails').click(function() { $('.details').slideToggle('slow'); return false; }); }) On Dec 21, 4:20 pm, suntrop

[jQuery] Re: jQuery crashing older PCs in Firefox 3.0.5?

jQuery is just JavaScript code. As such, it isn't capable of crashing your PC on its own. And it runs fine on much older PCs than yours. Also, what kind of crash are you talking about? A blue screen? A frozen system but not a blue screen? Or what? Something else much be very wrong with your mach

[jQuery] Re: How to get parts of URL after domain

I would think it would make more sense to do this in PHP instead of JavaScript. You can use PHP code in your Drupal theme. If you want to do it in JavaScript, you don't need jQuery, regular expressions, or indexOf. window.location (or just location) has several properties that give you different

[jQuery] Re: How to get parts of URL after domain

Why not get the url and test it?   if (url.indexOf("services") > 0) {  do this } else if (url.indexOf("about-us") > 0) {  do this } That's one way to do it.     http://2whoa.com/dominate     --- On Sun, 12/21/08, Wonder95 wrote: From: Wonder95 Subject: [jQuery] How to get parts of URL af

[jQuery] Re: Order of hiding container-divs and their content matters on IE6,7

How about posting your code?         http://2whoa.com/dominate --- On Sun, 12/21/08, Paul wrote: From: Paul Subject: [jQuery] Order of hiding container-divs and their content matters on IE6,7 To: "jQuery (English)" Date: Sunday, December 21, 2008, 7:10 PM In IE, when having elements containi

[jQuery] Order of hiding container-divs and their content matters on IE6,7

In IE, when having elements containing other elements, ie. a div containing images, when attempting to hide a content-element of a hidden container-div, this won't work, it won't even be possible anymore after re-showing the div. This problem occurs: - only on IE6,7 (didn't try IE8), the problem

[jQuery] Re: How can I write this function without hard-coding the input and error names?

> Here's the code that I'd like to make flexible to handle > all the input id's and error message id's.  How could I write it? Here's one way to do it: $('#street_number, #street_name, #city').blur(function(){ $(this.id.replace(/_/g, '-')+'-error') [this.value.length? 'fadeOut' : 'fadeIn

[jQuery] Re: How to get parts of URL after domain

if (url.indexOf("services") >0) { --- On Sun, 12/21/08, Wonder95 wrote: From: Wonder95 Subject: [jQuery] How to get parts of URL after domain To: "jQuery (English)" Date: Sunday, December 21, 2008, 5:10 PM I"m sure this is easy to do, but I can't figure it out for some reason. I'm writ

[jQuery] Re: How to get parts of URL after domain

if (url.indexOf("services") >0) {   --- On Sun, 12/21/08, Wonder95 wrote: From: Wonder95 Subject: [jQuery] How to get parts of URL after domain To: "jQuery (English)" Date: Sunday, December 21, 2008, 5:10 PM I"m sure this is easy to do, but I can't figure it out for some reason. I'm writing

[jQuery] Re: How to get parts of URL after domain

I'm not sure what happened there with my multiple replies.   Sorry   --- On Sun, 12/21/08, Wonder95 wrote: From: Wonder95 Subject: [jQuery] How to get parts of URL after domain To: "jQuery (English)" Date: Sunday, December 21, 2008, 5:10 PM I"m sure this is easy to do, but I can't figure it

[jQuery] Re: Spammer bypassing JQ Validate to register?

> So, this dude from Poland managed to register without a first name, > without a last name and likely without an invitation code. I'll deal > with the EE issues separately, but is there a known issue where > someone can mess with the jquery in the page to bypass the validation > that is running?

[jQuery] Re: Spammer bypassing JQ Validate to register?

Client side validation is just there to provide a nicer experience for humans. If there are conditions that you need to enforce for the sake of your server-side code or database, then you must do that in your server-side code. Nothing stops a hacker from doing a raw submit to your server-side pag

[jQuery] How to get parts of URL after domain

I"m sure this is easy to do, but I can't figure it out for some reason. I'm writing a simple little function in Drupal (in script.js in my theme) to display a different banner image (as a background for an element) based on the URL. So, for instance, if the URL is http://www.mysite.com/services,

[jQuery] Spammer bypassing JQ Validate to register?

I have a site built in ExpressionEngine. I am using JQ Validate to check the form fields before submission. There are 3 fields in particular that are interesting to me as they are required by EE and they are on the list of fields required by JQ Validate. First Name Last Name Invitation Code (pr

[jQuery] Re: What is causing this error?

Nope...I guess Google strips it out... > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Dave Methvin > Sent: Sunday, December 21, 2008 3:43 PM > To: jQuery (English) > Subject: [jQuery] Re: What is causing this error? > > > > Di

[jQuery] Re: Can I "access" and change content loaded dynamically after jQuery.js?

Try the liveQuery plugin: http://docs.jquery.com/Plugins/livequery On Dec 21, 1:20 pm, suntrop wrote: > Sorry for that, but how can I bind the event after I call $ > ("#content").load(loadLink,"",hideLoader);? > > Do I have to replace hideLoader with a function that contains all the > "new" code

[jQuery] How can I write this function without hard-coding the input and error names?

Here's the code that I'd like to make flexible to handle all the input id's and error message id's. How could I write it? Thanks, Rick $('input#street_number').blur(function() { if (this.value.length == 0)

[jQuery] Re: What is causing this error?

> Did [Validate] get stripped out? Yeah it's strange, when I look at the topic list the [validate] isn't there, but it is when I view the thread list. Do you see it in this view? http://groups.google.com/group/jquery-en/topics

[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

Thanks you very much ! Hope to read more from you. Bye ! Crowebster

[jQuery] Re: What is causing this error?

Your reduction works well, Dave...thanks. As far as the subject line... I had [Validate] at the beginning of it, which is what Jorn requested if the email has to do with his plug-in. Did [Validate] get stripped out? And concerning the error, it's got to do with the validation events. I'm trying

[jQuery] Re: Error on validation plugin documentation?

Fixed! Thanks for reporting. Jörn On Sat, Dec 20, 2008 at 3:51 PM, Giovanni Battista Lenoci wrote: > Hi, I'm tryng for the first time the validation plugin, I was looking at the > doc here: > > http://docs.jquery.com/Plugins/Validation/validate > > In the "invalidHandler" sample code there is: >

[jQuery] Re: Google Reader style endless scroll library?

Check out this, think it's what you are looking for http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/ /Uffe On 20 Dec, 22:47, Eeby wrote: > Hey y'all. I'd like to provide "endless scrolling" of search results > in the manner of Google Reader. The thing where an AJAX ca

[jQuery] Re: Can I "access" and change content loaded dynamically after jQuery.js?

Sorry for that, but how can I bind the event after I call $ ("#content").load(loadLink,"",hideLoader);? Do I have to replace hideLoader with a function that contains all the "new" code? Thanks for your help! On 21 Dez., 17:30, DumpsterDoggy wrote: > You can't bind any events to the controls o

[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

> Now could you explain it to me how does the code works ? Yeah, it is kind of crazy... :-) > var $sequence = $('div[id$=_div]').hide() Grabs all the divs and hides them, then assigns the jQuery object with all the divs to the $sequence variable. > , div = 0; Just sets the div variable to 0

[jQuery] Re: replacing more than once

On Dec 21, 7:49 am, Dave Methvin wrote: > > Why does replaceAll only seem to work once in this example? > > I guess you meant replaceWith? > Yes, my mistake. > > $("#hello").replaceWith("foo"); > > Once this code executes, it has replaced the element with > id="hello" (and any children) w

[jQuery] Re: Can I "access" and change content loaded dynamically after jQuery.js?

You can't bind any events to the controls on $(document).ready() if the html isn't there. I would try binding the event after you call $ ("#content").load(loadLink,"",hideLoader); On Dec 21, 10:17 am, suntrop wrote: > Hi there. > > I am loading some content into my page … > >   $("#content").loa

[jQuery] Re: How to fade in next div after previous div faded in upon document.ready ?

Thanks ! Works perfectly ! Now could you explain it to me how does the code works ? So I could learn (comprehend) ? Thanks again !

[jQuery] Re: [validate] ie6 runtime errors

First glance, it looks like your first script tag's src attribute is incorrect: > Sean Allen wrote: > posted previously without proper [validate] in title.. > > reposting... > > -- > > i have this code: > > > > >