[jQuery] Re: Jquery doesn't work with mod_rewrite ?

2007-07-22 Thread Nico
Hello, I've got two parts in my file. When I access my website by typing my.site.com, JQuery doesn't work even in the file jquery.js is correctly loaded. However, when I am on www.site.com, everything works perfectly. RewriteCond %{HTTP_HOST} ^my\.site.com [NC] RewriteRule ^inscription.html$

[jQuery] Re: Selector Optimisation Question

2007-07-22 Thread NeilM
Thanks Guys, That has been very helpful. On Jul 12, 4:52 pm, Michael Geary [EMAIL PROTECTED] wrote: Yeah, as Klaus mentioned, it is a tiny bit faster if you leave out the 'img'. The real optimization you can do is to avoid using the same selector repeatedly. In a way, jQuery makes it too

[jQuery] ptTimeSelect plugin with focus() on form input

2007-07-22 Thread Spencer
I would appreciate any help trying to understand how I'm supposed to solve this problem with jQuery and the ptTimeSelect jQuery plugin. The ptTimeSelect plugin works as it is designed by clicking the icon which appears to the right of the input field. However, I would like this to work similar

[jQuery] Re: Jquery doesn't work with mod_rewrite ?

2007-07-22 Thread Nico
Hello; I've got two parts in my file. The first part is : RewriteCond %{HTTP_HOST} ^my\.site.com [NC] RewriteRule ^inscription.html$ /home/site/www/index.php?op=inscription [L] RewriteRule ^inbox.html$ /home/site/www/index.php?op=zm_msg [L] And the second part is : RewriteCond

[jQuery] Re: Jquery doesn't work with mod_rewrite ?

2007-07-22 Thread Remy Sharp
Try opening your site in Firefox, open Firebug and click on the scripts tab - have a look at what the jquery.js file is being served up as. It sounds like your mod_rewrite rules may be redirecting the the request for the jquery.js library to another (wrong) location. On Jul 22, 10:21 am, Nico

[jQuery] Re: Click to Call a Function: The Movie

2007-07-22 Thread Dan G. Switzer, II
Mitchell, This looks better on a big screen but do I have this right? http://www.whatbird.com/wwwroot/images/addClass.gif From that image, it looks like you understand the basic concepts. I'm just adding some notes below that you might find useful/helpful: * For a real word example, you'll

[jQuery] Re: Jquery doesn't work with mod_rewrite ?

2007-07-22 Thread Nico
That works now :) The bug was because of the base / tag. Thank You ! Nico.

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Alan
I don't have a place to put up a demo page since it's a internal project for the company where I encountered the problem. I agree that it's sort of hack to replace the plugin's event handler with mine, but that's the only solution I can think of (unless I can re-order the event handlers so mine

[jQuery] Re: What am I missing from this plugin?

2007-07-22 Thread Stephan Beal
On Jul 22, 2:16 am, barophobia [EMAIL PROTECTED] wrote: I think I understand but how do I handle the #passwordField part within the plugin? In your plugin implementation, simply store a reference to the #passwordField passed to your plugin. For example, if you plugin looks like this:

[jQuery] jquery + splitter plugin problems

2007-07-22 Thread new_developer
Hi, I am trying to get the splitter plugin to work with jquery, but I am having some problems getting it to work, so any help would be greatly appreciated. I have the following in my index.php file: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/html4/strict.dtd html

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Alan
So is there a way for me to access these event handlers as they are not available through the onXXXEvent attributes anymore? Thanks, On Jul 21, 10:57 am, Gordon [EMAIL PROTECTED] wrote: My understanding is that element.onevent isn't used anymore in jQuery. As of 1.1.3 it uses addEventListener

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Stephan Beal
On Jul 21, 2:15 pm, Rob Desbois [EMAIL PROTECTED] wrote: Try this: if (typeof myFunction === undefined) { Shouldn't that be: if( typeof myFunction === undefined ) or if( typeof myFunction == undefined ) ??? i don't think === is what you want when comparing different string instances,

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Dave Methvin
The question is actually separated with the above problem. Many event handlers are registered using the bind() call. In those cases, how can we further manipulate them using JQuery? Such as replace them, or change the invoking order of these handlers? Notice that the docs for

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread March
but the $.getScript() has a weakness, cross domain restrict... that's really bad... On 7/22/07, Stephan Beal [EMAIL PROTECTED] wrote: On Jul 21, 2:15 pm, Rob Desbois [EMAIL PROTECTED] wrote: Try this: if (typeof myFunction === undefined) { Shouldn't that be: if( typeof myFunction ===

[jQuery] Re: jquery + splitter plugin problems

2007-07-22 Thread Dave Methvin
The only obvious problem I see is that you're not calling the .splitter() plugin anywhere. Also you are missing the basic css required to show the splitbar etc.; see the sample pages and get it from there. I would load splitter.js through a normal script tag on the page, there's no reason to

[jQuery] Re: jquery + splitter plugin problems

2007-07-22 Thread Dave Methvin
Whoops, I see you're doing a three-pane now. Get the sample code and css from the demo page and run it in your ajax handler.

[jQuery] Re: Click to Call a Function Part 2

2007-07-22 Thread Brandon Aaron
Wait ... trees don't have one branch!? Actually, I tend think of the html as the whole tree and the head tag as the roots of the tree. The body tag is the trunk and all the tags within make up the branches of the tree. But up is still down and down is still up. Perhaps I'm just brainwashed into

[jQuery] Borderline jquery/css query about textareas

2007-07-22 Thread Howard Jones
I'm not sure if this is something that jQuery can really help me with, but I suspect it's something that someone here may have solved before. I've just added some functionality to my map editing web app to allow you to edit sections of the text config directly - it uses jQuery to fetch a

[jQuery] Re: Click to Call a Function Part 2

2007-07-22 Thread Karl Swedberg
Interesting. I see what Mitchell means about the tree metaphor. But the family tree metaphor works perfectly for me. I guess it's because I'm already used to thinking of elements as siblings, children, parents, etc. --Karl _ Karl Swedberg www.englishrules.com

[jQuery] Re: Click to Call a Function Part 2

2007-07-22 Thread Mitchell Waite
If the model is window.document.one.two.three then could it be a tree were the roots are 'window', the trunk is 'document' and the branches are all the divs. Since they can have siblings parents and ancestors I think that analogy works. From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Rob Desbois
Stephan, The only time that == or != should be used (IMO anyway) is when you explicitly *want* type conversion to take place. Otherwise, it's safest (and faster) to use === or !== Zacky, One cross-domain AJAX jQuery plugin: http://trainofthoughts.org/repo/export/jquery/jquery.xsajax.html Can't

[jQuery] Re: Click to Call a Function Part 2

2007-07-22 Thread Glen Lipka
How about this. http://www.askmehelpdesk.com/attachments/toys/789d1144140946-cup-toys-russian_dolls_natasha_c.jpg Glen On 7/22/07, Mitchell Waite [EMAIL PROTECTED] wrote: If the model is window.document.one.two.three then could it be a tree were the roots are 'window', the trunk is

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Stephan Beal
On Jul 22, 8:15 pm, Rob Desbois [EMAIL PROTECTED] wrote: Stephan, The only time that == or != should be used (IMO anyway) is when you explicitly *want* type conversion to take place. Otherwise, it's safest (and faster) to use === or !== The way i've always understood it (perhaps incorrectly)

[jQuery] Re: ajax newsticker does not work in IE. Any clue?

2007-07-22 Thread GianCarlo Mingati
Hi Benjamin, thanks for the reply. Now i fixed the script it has to do with the lack of another contanier set as a mask... come css trickery and it's ok. I hva a strange behaviour aniway, not in this case wich is ok, you can see it in action:

[jQuery] iPhone and jQuery

2007-07-22 Thread Goofy
I am trying to get jQuery to work on the iPhone I can view this simple demo just fine on my server: http://www.whatbird.com/wwwroot/music.html#_home ] I downloaded the source of the page and necessary files. When I open the page on my PC server (local) the lists appear to all be open! Any

[jQuery] Re: repeated click when using .show(slow)

2007-07-22 Thread Ganeshji Marwaha
try setting a boolean to flag if animation is in progress and dont execute animation on repeated clicks if the boolean is set. Something like this... Eg: var animating = false; $(button).click(function() { if(!animating) { animating = true; $(this).show(slow, function() { animating =

[jQuery] Re: Problem with IE6 FadeIn and FadeOut

2007-07-22 Thread Ganeshji Marwaha
Upgrading to version 1.1.3.1 may fix your problem (as opposed to downgrading to 1.1.2) -GTG On 7/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Quick update, I reverted to 1.1.2 and the above script works fine (the example link still uses 1.1.3 for reference). Does anyone know if fadein

[jQuery] Re: Borderline jquery/css query about textareas

2007-07-22 Thread Ganeshji Marwaha
why dont u try tinymce or fckeditor or some rich text editor like that. -GTG On 7/22/07, Howard Jones [EMAIL PROTECTED] wrote: I'm not sure if this is something that jQuery can really help me with, but I suspect it's something that someone here may have solved before. I've just added some

[jQuery] Re: repeated click when using .show(slow)

2007-07-22 Thread Glen Lipka
I know the Tabs plugin used to do this, and then it got fixed. Might want to check out how that works. http://www.stilbuero.de/jquery/tabs/ Also there is an animation queue plugin. I wonder if it could be used for something like this.

[jQuery] Re: Borderline jquery/css query about textareas

2007-07-22 Thread Howard Jones
Ganeshji Marwaha wrote: why dont u try tinymce or fckeditor or some rich text editor like that. Because it's not for editing HTML, it's for editing a text config file. The program uses text config files to produce a graphical output. The editor lets you edit parts of the config visually,

[jQuery] Re: How to get a ref to the event handler registered via the bind() function?

2007-07-22 Thread Alan
I totally agree with all of your comments. Specifying invocation order of the event handlers is not reliable and leads to more problems. I can hook up event handlers to all my date input text fields that uses a date picker to update the range of the date picker whenever there is a change to the

[jQuery] Re: What am I missing from this plugin?

2007-07-22 Thread Klaus Hartl
Stephan Beal wrote: On Jul 22, 2:16 am, barophobia [EMAIL PROTECTED] wrote: I think I understand but how do I handle the #passwordField part within the plugin? In your plugin implementation, simply store a reference to the #passwordField passed to your plugin. For example, if you plugin

[jQuery] New Site and Drag/Drop Problem

2007-07-22 Thread Glen Lipka
Calmont Preschool Nursery Website http://www.carlmontparents.org Admittedly, a low traffic site. :) It has a problem though. The drag and drop is all jacked in IE. Anyone have the fix? Does the draggable script for jQuery UI work? Glen

[jQuery] PNGFix comments need updating

2007-07-22 Thread Glen Lipka
The source code found here for the jQuery pngFix http://khurshid.com/jquery/iepnghack/jquery.iepnghack.1.4.js has the following example in the comments: * @example * * $('[EMAIL PROTECTED], #panel').iepnghack(); This should be updated. the function is called pngFix now I guess. Glen

[jQuery] [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Brandon Aaron
The 1.0 release of Dimensions is finally here. It has been a long time in the making. Thanks to everyone who helped me test it! You can get the details and see an example using the new position method over at my blog: http://blog.brandonaaron.net/2007/07/22/dimensions-10/ You can download

[jQuery] What are most commonly-used menu plugins?

2007-07-22 Thread Rhapidophyllum
I'm simply looking for a stable menu plugin. Of the various menu plugins available, which are most commonly used/most stable?

[jQuery] Re: New Site and Drag/Drop Problem

2007-07-22 Thread Rey Bango
Hey Glen, Where's the DnD happening? Its probably something obvious and I'm just being dense. Rey.. Glen Lipka wrote: Calmont Preschool Nursery Website http://www.carlmontparents.org http://www.carlmontparents.org Admittedly, a low traffic site. :) It has a problem though. The drag and

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Ganeshji Marwaha
Amazing work brandon... Dimensions has been my saviour quite a few times, and i am sure 1.0 is going to increase my dependency even more.. Keep up the good work. BTW, isn't margin considered part of the element itself as per the box model. If that is the case, why doesn't the outerHeight() and

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Scottus
there are many ways to do it. the most common is probably loading the script as text ajax style the using eval() to turning the text into javascript. I personally don't like using eval. what I prefer to do is to use the dom to add a script tag. You have to use dom methods innerhtml

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Felix Geisendörfer
You rock! I cannot imagine working without your plugin on complex/fancy UI stuff anymore ; ). -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Brandon Aaron wrote: The 1.0 release of Dimensions is finally here. It has been a long

[jQuery] Re: New Site and Drag/Drop Problem

2007-07-22 Thread Ganeshji Marwaha
The drag n drop is for the images of the kids... -GTG On 7/22/07, Rey Bango [EMAIL PROTECTED] wrote: Hey Glen, Where's the DnD happening? Its probably something obvious and I'm just being dense. Rey.. Glen Lipka wrote: Calmont Preschool Nursery Website http://www.carlmontparents.org

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Karl Swedberg
Fantastic news, Brandon! This is an amazing plugin. Congrats on the 1.0 release! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 22, 2007, at 7:24 PM, Brandon Aaron wrote: The 1.0 release of Dimensions is finally here. It has been a long time in

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Mike Alsup
Nice work, Brandon. It must feel good to get the 1.0 release out. Now go have yourself a cold, Texas-size beer! Mike On 7/22/07, Brandon Aaron [EMAIL PROTECTED] wrote: The 1.0 release of Dimensions is finally here. It has been a long time in the making. Thanks to everyone who helped me test

[jQuery] Re: What am I missing from this plugin?

2007-07-22 Thread Stephan Beal
On Jul 22, 11:57 pm, Klaus Hartl [EMAIL PROTECTED] wrote: IMHO it is bad practice to store that element in the self, i.e. jQuery, object. ... A simple var should be sufficient. jQuery.fn.myPlugin = function(targetField) { var textfield = jQuery(targetField); ... }; Assuming we

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Stephan Beal
On Jul 23, 12:53 am, Rob Desbois [EMAIL PROTECTED] wrote: ... So theoretically: if (typeof someUndefined == 'fuzzyDuck') should return true also. I won't try it now but see what happens! It's turning my brain all wahoonie-shaped, but here's what it looks like: [EMAIL PROTECTED]:~$

[jQuery] Re: Loading Javascript Dynamically (in other words, as needed)

2007-07-22 Thread Dave Methvin
All of those results make sense. print( (new String('foo') === new String('foo'))) false Those are two different objects, even though they have the same value; object1 !== object2 by definition of the === operator. In real code, I have never seen a good reason to use 'new String()' rather

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Fred Janon
Looks good, Brandon. Does it work on: hidden element (display: none), positionned elements (absolute or relative) or on table cells and rows? Thanks Fred On 7/23/07, Brandon Aaron [EMAIL PROTECTED] wrote: The 1.0 release of Dimensions is finally here. It has been a long time in the making.

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Brandon Aaron
Thanks greatly for the kind words! Unfortunately I believe the name of the outerHeight and outerWidth methods make it confusing. outerHeight and outerWidth get the offsetHeight and offsetWidth. The offsetHeight and offsetWidth are the measurement of the visible parts of an element. Mozilla does

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Brandon Aaron
All of the width and height methods work on hidden elements but the offset, position and offsetParent methods do not. All the methods handle positioned elements fine with the exception of fixed position. Fixed position has been very difficult to get implemented but it is a very high priority. I

[jQuery] Re: [ANN] Dimensions 1.0 final is finally here!

2007-07-22 Thread Fred Janon
Brandon, Thanks for the very prompt answer. Would you mind documenting these points in the docs? THat woudl be great! Thanks Fred On 7/23/07, Brandon Aaron [EMAIL PROTECTED] wrote: All of the width and height methods work on hidden elements but the offset, position and offsetParent methods

[jQuery] Re: New Site and Drag/Drop Problem

2007-07-22 Thread Rey Bango
Thanks Ganeshji. :) Ganeshji Marwaha wrote: The drag n drop is for the images of the kids... -GTG On 7/22/07, *Rey Bango* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hey Glen, Where's the DnD happening? Its probably something obvious and I'm just being dense.

[jQuery] Re: jquery book

2007-07-22 Thread Fred Janon
Very good service from the publishing company, the book was delivered in 10 days to Australia. I ordered both the eBook and the printed one, got the eBook immediately. Looking forward to getting the second one. Thanks Fred On 7/12/07, Karl Swedberg [EMAIL PROTECTED] wrote: On Jul 11, 2007,

[jQuery] ANNOUNCE: New jQuery-powered site Vino2Vino.com

2007-07-22 Thread Rey Bango
I just came upon the site Vino2Vino.com (http://www.vino2vino.com/) and its very well designed. From the site: With Vino2Vino, our goal is to build an extensible platform that will consolidate information about wine into a central location and to make this information broadly accessible