Re: [jQuery] Google map plugin idea

2006-09-22 Thread Fil
I can't think of anything that is semantically remotely correct, and while the previously mentioned geo micro format is nice, it's not really what I'm looking for. Why? What are you missing? geo if very small and usually is to be embedded in other microformats, like hCard (for people) or

Re: [jQuery] document.ready IE iframe

2006-09-22 Thread Ⓙⓐⓚⓔ
instead of document, you want the parent of the document.$(document.parent).. sounds like a good try I didn't test... hope it helps.On 9/21/06, Arash Yalpani [EMAIL PROTECTED] wrote: Hi all,I have a page(1) with an iframe, where the iframe loads asecond-party-web page(2). Now, if I

Re: [jQuery] document.ready IE iframe

2006-09-22 Thread Ⓙⓐⓚⓔ
my last idea didn't make much sense after I read ithow 'bout dynamically loading the iframe in the 'ready' you can do it last,On 9/22/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:instead of document, you want the parent of the document. $(document.parent).. sounds like a good try I didn't

Re: [jQuery] document.ready IE iframe

2006-09-22 Thread Newsride | Arash Yalpani
Hi Jake, Ⓙⓐⓚⓔ schrieb: how 'bout dynamically loading the iframe in the 'ready' you can do it last, thanks so much! Some things are so obvious... now it works perfectly across all browsers, loading the comments parallel to the iframed web page: http://newsride.org/discuss/?uriId=17

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Dylan Verheul
I don't think a casual HTML writer is going to use the geo microformat. It's small, but you have to write a lot of HTML to describe a very small piece of information. Maybe I'll give it a go though, since there's nothing better right now. Or I'll go with good old CSV. On 9/22/06, Fil [EMAIL

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Klaus Hartl
Dylan Verheul schrieb: I don't think a casual HTML writer is going to use the geo microformat. It's small, but you have to write a lot of HTML to describe a very small piece of information. I do ;-) - Klaus ___ jQuery mailing list

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Dylan Verheul
You don't count as casual ;-) On 9/22/06, Klaus Hartl [EMAIL PROTECTED] wrote: Dylan Verheul schrieb: I don't think a casual HTML writer is going to use the geo microformat. It's small, but you have to write a lot of HTML to describe a very small piece of information. I do ;-) -

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Fil
I don't think a casual HTML writer is going to use the geo microformat. It's small, but you have to write a lot of HTML to describe a very small piece of information. Well it's not *that* complex, and it has strong grounds, based in real-world examples (at least that's how they're meant

[jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Right, First of id like to give a big thanks to all you on the jQuery list that have helped me while i get my head wrapped around the basics of jQuery, the help ive had of this list has been great and really helped me. For months now i have put of doing anything AJAX related as i just didnt

Re: [jQuery] Fader code I duplicated using JQuery

2006-09-22 Thread Karl Swedberg
On Sep 21, 2006, at 4:53 PM, Rey Bango wrote: I saw this posting: http://mikeomatic.net/techtips/css-crossfader/ and it showed a really cool fader. So I duplicated it using JQuery: http://www.intoajax.com/fade.htm The cool thing is that I didn't need to load scriptaculous to do it. Very

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Dan Atkinson
I would consider hashing the username and password in the script before submitting, as you'd effectively be sending unencrypted personal data over a HTTP connection. That's not so good, and I think users would complain. Mark Harwood-2 wrote: Any help you can provide will be great, as ive not

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Thats very true Dan, but at the moment im just trying to figure out how it all works - security will come once i actualy get my head around AJAX :D -- mark Dan Atkinson wrote: I would consider hashing the username and password in the script before submitting, as you'd effectively be sending

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Hi Mark, I threw up some code so you can see a very simple Ajax call that should help you out: http://www.intoajax.com/harwood.htm Look at the source and the comments will explain whats happening. As for php, one of the community members, Mike Alsup, helped me out with an issue and he sent

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Hi Rey, Thanks alot for that test page, i have just managed to find out about the .val() function on the visualjquery site. It worked wonders and ive got the login page working great now :) But thanks for the page you have knocked up, i shall have a good look at how you have done the AJAX

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Klaus Hartl
Rey Bango schrieb: Hi Mark, I threw up some code so you can see a very simple Ajax call that should help you out: http://www.intoajax.com/harwood.htm Look at the source and the comments will explain whats happening. As for php, one of the community members, Mike Alsup, helped me

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
I'm going to update it again Mark, since I realized that I didn't get you code to serialize your form fields. Rey.. Mark Harwood wrote: Hi Rey, Thanks alot for that test page, i have just managed to find out about the .val() function on the visualjquery site. It worked wonders and ive

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Hi Mark, I updated the sample slightly so you could see an actual ajax call that included serializing form vars and then returning what you typed in. http://www.intoajax.com/harwood.htm HTH. Rey Mark Harwood wrote: Hi Rey, Thanks alot for that test page, i have just managed to find out

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Hi Klaus, Could you elaborate on this a little more? I'm not clear on what you mean by this. I'm all for best practices and I'm definitely interest in this. Thanks, Rey... Here's another tip (to promote good practice right from the beginning): Every Ajax call by jQuery sends a special

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
From what i can tell from that, its basicly a call in the PHP that deals with the submitted data depending on how the form has been submitted. So if the user has JS enabled on the browser they can have nice fancy error checking via AJAX and if not they can get some nice standard PHP based

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mike Alsup
I highly recommend using the form plugin to handle form submission. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Sam Collett
On 22/09/06, Dan Atkinson [EMAIL PROTECTED] wrote: I would consider hashing the username and password in the script before submitting, as you'd effectively be sending unencrypted personal data over a HTTP connection. That's not so good, and I think users would complain. Hashing the

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Klaus Hartl
Rey Bango schrieb: Hi Klaus, Could you elaborate on this a little more? I'm not clear on what you mean by this. I'm all for best practices and I'm definitely interest in this. Thanks, Rey... Here's another tip (to promote good practice right from the beginning): Every Ajax call

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mark Harwood
Hi Mike, Any chance of a link to it? Mike Alsup wrote: I highly recommend using the form plugin to handle form submission. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___

[jQuery] fadeIn() changes display to 'block'

2006-09-22 Thread George Adamson
It would seem that the fadeTo() method changes the element.style.display to 'block'. Is this by design? It messes up inline elements. One workaround for the time being might be to wrap an inline element inside another before fading it. Cheers, George DaveG-2 wrote: I was looking at

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Mike Alsup
Any chance of a link to it? The form plugin is available here: http://jquery.com/dev/svn/plugins/form/form.js?format=txt Sample usage can be found here: http://malsup.com/jquery/form/ ___ jQuery mailing list discuss@jquery.com

[jQuery] .toggle crashing IE

2006-09-22 Thread digital spaghetti
Hey folks, I am working on a Wordpress/Canvas theme that exclusivly uses jQuery for it's JS functions. I have added 2 toggle areas, one at the top that by default is hidden, and one at the bottom that by default shows up. I also have my comment area hidden by default but it's only shown if you

Re: [jQuery] jQuery::PeriodicalUpdater ?

2006-09-22 Thread Jason Levine
Thanks for finding that. (I had previous called it Heartbeat but decided to rename it to JHeartbeat.) It should be fixed now. - Original Message From: Will Arp [EMAIL PROTECTED] To: jQuery Discussion. discuss@jquery.com Sent: Thursday, September 21, 2006 11:48:59 PM Subject: Re:

[jQuery] Hiding multiple elements, then showing one

2006-09-22 Thread Brian Litzinger
I have a little bit of code that I want to hide x amount of divs, then when they're all hidden to show a specific one. Right now I have this... // hide all found divs $(settings.slide).hide(); // get the slide that i want shown div = $(settings.slide).get(i); // show the slide when everything is

Re: [jQuery] Hiding multiple elements, then showing one

2006-09-22 Thread Blair Mitchelmore
.get() breaks the chain returning the actual DOM element. .eq() does something similar without breaking the chain $(settings.slide).hide().eq(i).fadeIn(); should work -blair Brian Litzinger wrote: I have a little bit of code that I want to hide x amount of divs, then when they're all hidden

Re: [jQuery] New Plugin: newsticker

2006-09-22 Thread Andy Matthews
Very nice! Do the news items pull from a database or from the existing code? Are they random or in order? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original

Re: [jQuery] .toggle crashing IE

2006-09-22 Thread Dave Methvin
Now, in IE6 (at least in my copy) the bottom toggle bar works fine, so does the comments area - but the top bar keeps crashing IE6 - however it works fine in Firefox. Same here. The crash is in MSHTML.DLL, which is bad news. Even if you caused it indirectly, it shouldn't result in a crash

[jQuery] jQuery with Drupal (Was: Re: input.setAttribute is not a function)

2006-09-22 Thread Dave Cohen
half_brick, See this thread: http://groups.drupal.org/node/1008, and in particular my comment here: http://groups.drupal.org/node/1008#comment-3690 -Dave On Thursday 14 September 2006 03:06, half_brick wrote: The Jquery works for the stuff I'm using it for, but it seems to clash with the

Re: [jQuery] Visual jQuery Magazine

2006-09-22 Thread Klaus Hartl
Yehuda Katz schrieb: The release of the first issue of the Visual jQuery Magazine is official. Also, make sure to digg the magazine http://digg.com/programming/Visual_jQuery_Magazine_Released. Dugg! Well done Yehuda! Klaus PS: I'm already looking forward to the next issue ;-)

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Klaus Hartl
Michael Geary schrieb: just a little thing: I'd check additionally for existence of GBrowserIsCompatible just in case the google maps script is not loaded for whatever reason: if (GBrowserIsCompatible !GBrowserIsCompatible()) ... I changed the check to // If we aren't supported,

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Tom Holder
Thought I would mention... yesterday we found a bug with JQuery and Google Maps, if the placement of the google maps .js library is wrong it was stopping us hiding a class with jquery. We are going to try and investigate a bit more if we get a chance, but just incase anyone starts experiencing odd

Re: [jQuery] toggleClass and removeClass

2006-09-22 Thread Jörn Zaefferer
Mark D. Lincoln schrieb: I have found a couple of fixes for the problem of using toggleClass and removeClass in Internet Explorer (IE). It seems the root of the problem is that when you have multiple classes assigned to the className property of an element in IE (“class1 class2”) and you

Re: [jQuery] [EMAIL PROTECTED] selector broken for radio buttons?

2006-09-22 Thread Jörn Zaefferer
Jay Gooby schrieb: I'm using build 249: In pre-1.0.1 builds $(this).find([EMAIL PROTECTED]) Hey Jay, as 'checked' is the name of the attribute, your selector would have to look like this: $(this).find([EMAIL PROTECTED]) But as Klaus mentioned, you should prefer the pseudoclass

[jQuery] bug when using Object.prototype ?

2006-09-22 Thread Carlos Aguayo
Hi everyone, If I attach a function to Object.prototype outside the $(document).ready function, it gets executed when I load the page, is this a bug? Example: html head %@ include file=/jquery/jquery-1.0.1.js % meta http-equiv=content-type content=text/html / /head body script

Re: [jQuery] bug when using Object.prototype ?

2006-09-22 Thread Jörn Zaefferer
Carlos Aguayo schrieb: Hi everyone, If I attach a function to Object.prototype outside the $(document).ready function, it gets executed when I load the page, is this a bug? I guess this is not a bug, it is by design. It is quite likely that jQuery iterates over all properties (functions)

Re: [jQuery] bug when using Object.prototype ?

2006-09-22 Thread Carlos Aguayo
I noticed this behavior when I was playing with a deep cloning utility that I found at: http://www.bigbold.com/snippets/posts/show/749 so I just wanted to report it. But yes, there has to do deep cloning, thanks! Carlos John Resig wrote: It has to do with the fact that extending the

Re: [jQuery] toggleClass and removeClass

2006-09-22 Thread Brandon Aaron
This solved my problems. Thanks! Brandon On 9/22/06, Jörn Zaefferer [EMAIL PROTECTED] wrote: Mark D. Lincoln schrieb: I have found a couple of fixes for the problem of using toggleClass and removeClass in Internet Explorer (IE). It seems the root of the problem is that when you have

Re: [jQuery] New Plugin: newsticker

2006-09-22 Thread Sam Collett
On 22/09/06, Andy Matthews [EMAIL PROTECTED] wrote: Very nice! Do the news items pull from a database or from the existing code? Are they random or in order? Just from a basic list, not random, but in the order they are on the page (at least that is the case from the testing I have done) ul

Re: [jQuery] Visual jQuery Magazine

2006-09-22 Thread Justin Carter
On 9/23/06, Yehuda Katz [EMAIL PROTECTED] wrote: The release of the first issue of the Visual jQuery Magazine is official. The mag is excellent Yehuda, congrats! I even joined digg just to digg it :) I guess we will see a flood of posts in the mailing list in the coming days/weeks! Justin

Re: [jQuery] New Plugin: newsticker

2006-09-22 Thread sunsean
Cool, this looks like an improvement to the quick news ticker code I threw on the mailing group a while ago. Props ~Sean ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Visual jQuery Magazine

2006-09-22 Thread limodou
On 9/23/06, Yehuda Katz [EMAIL PROTECTED] wrote: One of the nice things about having a *digital* publication is that I can make these changes :). Expect an updated copy of the Visual jQuery Magazine in a few days for archival purposes. I know about the semantically incorrect XHTML. While

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Michael Geary
if (!window.GBrowserIsCompatible || !GBrowserIsCompatible()) return this; Is also possible? if ( !(window.GBrowserIsCompatible GBrowserIsCompatible()) ) If you don't say yes my headache gets worse! Don't get a headache, Klaus, that is fine and reads better too. After all, !( a b )

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Rey Bango
Awesome explanation Klaus and what you're saying makes total sense! You should definitely speak with Yehuda about doing a writeup on this. This is great info. Rey... Rey, sure. To make forms accessible with and without Ajax, I start with building the form as if I were building a

Re: [jQuery] Visual jQuery Magazine

2006-09-22 Thread Karl Swedberg
On Sep 22, 2006, at 6:11 PM, Yehuda Katz wrote:One of the nice things about having a *digital* publication is that I can make these changes :). Expect an updated copy of the Visual jQuery Magazine in a few days for archival purposes.Well done, Yehuda! I've just posted an announcement about Issue 1

Re: [jQuery] Google map plugin idea

2006-09-22 Thread Dylan Verheul
OK, no idea if this is what you'relooking for, but I added something: http://www.dyve.net/jquery?googlemaps The markers can now be provided in geo microformat. I don't usually do much XML processing (with or without jQuery), so my methods may be weird, but it seems to work. The old method (an