[jQuery] Introduction

2007-01-24 Thread Will Mo
Hi jQuery list. I'm Will. I make websites. I'm new to jQuery. I like jQuery. I dislike having to add tons of meaningless IDs and Classes to my HTML to serve solely as 'hooks' for functionality - the spacer.gif of the webstandards era. jQuery is already helping me keep that stuff to a minimum. Yes

Re: [jQuery] jquery.com website is not valid

2007-01-24 Thread Roger Ineichen
Hi Karl > John just fixed the problem, so now we're > down to 2 errors, both due to the way MediaWiki generates IDs > (with spaces): > > > > > > Not perfect (yet), but hopefully enough to reduce any > validation anxiety. :) Yeah, cool, thanks a lot. It's much better now in IE. Regar

Re: [jQuery] make a div disappear after 2seconds?

2007-01-24 Thread Klaus Hartl
Nate Cavanaugh wrote: > To steal an idea from > http://www.learningjquery.com/2007/01/effect-delay-trick > > $(div).animate({opacity: 1.0}, 1000).hide('fast'); > > Nice little hack :) Yeah cool! I've used the also very cool pause plugin for that...: $('div').pause(5000, 'fx').fadeOut('normal')

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Klaus Hartl
Daemach wrote: > Another fantastic tip. Thank you. Do not thank me :-) Thanks to Joe Hewitt for the incredible Firebug! I think it is the best tool ever for Frontend developing. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/d

[jQuery] select form problem

2007-01-24 Thread enquest
I got a small but annoying problem (still jquery 1.0.4 (old site)) Note the following code: $("li#coffee_morning").click(function(){ var people = $("#people").attr("value"); $("select#s_morning option:eq(" + people + ")")[0].selected = true; // $("select#s_morning option:eq(" +

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Klaus Hartl
Ⓙⓐⓚⓔ wrote: > Mike, I don't like breaking the chains... I just insert a debug in the > middle of the chain... > > I use this for my debug: > jQuery.fn.debug = function(message) { > return this.log('debug:' + (message || '') > +"[").each(function(){jQuery.log(this);}).log("]"); > } > jQuery.f

[jQuery] simple selector with ID doesn't work anymore

2007-01-24 Thread vincent . fuchs
Hi, I've just upgraded from 1.0.3 to 1.1.1 and some selectors don't work anymore. A simple selector like $("div#tab_1") cant' find the div in v1.1.1 while there was no problem with v1.0.3 . So unless the selecting philosophy has greatly changed between these two versions, I guess this is a pr

Re: [jQuery] scroll buttons on one side in carousel plugin

2007-01-24 Thread Abel Tamayo
Probably you can work it out with plain CSS instead of touching the code of the script. On 1/24/07, Vikrant Azad <[EMAIL PROTECTED]> wrote: How can I make the buttons for scrolling appear on one side of the slide show in carousel plugin for jquery. The did for the button are created dynamicall

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Klaus Hartl
Ⓙⓐⓚⓔ wrote: > Mike, I don't like breaking the chains... I just insert a debug in the > middle of the chain... > > I use this for my debug: > jQuery.fn.debug = function(message) { > return this.log('debug:' + (message || '') > +"[").each(function(){jQuery.log(this);}).log("]"); > } > jQuery.f

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Klaus Hartl
Jörn Zaefferer wrote: > Daemach schrieb: >> Is there a list of rules somewhere that define where this is that or the >> reverse? >> > I posted something recently that roughly covers "this": > http://bassistance.de/2007/01/23/unobtrusive-clear-searchfield-on-focus/ > > Maybe that helps. > Nic

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Klaus Hartl
[-Stash-] wrote: > Unfortunately, it looks like Cody's giving up on ThickBox. He's put out a > request for someone to take it over: > http://codylindley.com/thickboxforum/comments.php?DiscussionID=166&page=1#Item_15 > > Given the improvements Klaus Hartl's already made to ThickBox 2.1, it would >

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Abel Tamayo
Thanks, Michael! Your revision worked perfectly. I had tried to change the .unclic(fn) myself before, but don't know why it didn't work. I knew it had to be something easy though :D On 1/24/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: [-Stash-] wrote: > Unfortunately, it looks like Cody's giving

Re: [jQuery] how does before() work

2007-01-24 Thread Klaus Hartl
Enej Bajgoric wrote: > can someone expalin to me how before works in jQuery and how would you > place a link before a container that would hide and show that > container? > Thanks > Enej before() adds the given content right before the specified context, as a sibling and not at first element (so

[jQuery] Beginner needs help - Basics

2007-01-24 Thread Johannes Theile
Hi, I came across jQuery, I thinks I might like it, but I'm unable to try it out. I downloaded the uncompressed version and just c&p one of the examples from the Wiki. But nothing happens. I tried it with various browsers on two systems, but nothing works. So I thinks that I'm doing a general mis

Re: [jQuery] Beginner needs help - Basics

2007-01-24 Thread Clodelio C. Delfino
can't find in your code where "a" is attached to... c",) On 1/24/07, Johannes Theile <[EMAIL PROTECTED]> wrote: > > Hi, > I came across jQuery, I thinks I might like it, but I'm unable to try it > out. > > I downloaded the uncompressed version and just c&p one of the examples from > the Wiki. But

Re: [jQuery] Beginner needs help - Basics

2007-01-24 Thread Blair McKenzie
An easy mistake to make. Code in the head runs before the rest of the document is loaded. That means that when you do $("a") there isn't actually any A's in the document yet. To ensure that your code only runs when the document is ready, put it in this structure: $(function() { ... }); jQuery

Re: [jQuery] Beginner needs help - Basics

2007-01-24 Thread Roberto Ortelli
Try this: $(document).ready(function(){ $("a").click(function(){ alert("Thanks for visiting!"); }); }); 2007/1/24, Clodelio C. Delfino <[EMAIL PROTECTED]>: > can't find in your code where "a" is attached to... c",) > > On 1/24/07, Johannes Theile <[EMAIL PROTECTED]> wro

Re: [jQuery] Beginner needs help - Basics

2007-01-24 Thread Klaus Hartl
Johannes Theile wrote: > Hi, > I came across jQuery, I thinks I might like it, but I'm unable to try it > out. > > I downloaded the uncompressed version and just c&p one of the examples from > the Wiki. But nothing happens. I tried it with various browsers on two > systems, but nothing works. So I

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Giuliano Marcangelo
Klaus, I think that we would all love YOU to do that ! :-) On 24/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: [-Stash-] wrote: > Unfortunately, it looks like Cody's giving up on ThickBox. He's put out a > request for someone to take it over: > http://codylindley.com/thickboxforum/comments.ph

[jQuery] searching by id in a different content

2007-01-24 Thread Michael Fuerst
I have a strange problem: I can't search an element in the parent.document by id: This isn't working: $('#bussyMessage',parent.document).size(); but if the element has a name it works: $('[EMAIL PROTECTED]"bussyMessage"]',parent.document).size(); And this works too: parent.document.getElement

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread [-Stash-]
Thanks for this tip Michael/Klaus. I've had success with this mod as well and have now implemented Klaus's smooth scrolling ThickBox along with a jQuery extension in the Vanilla forum software. http://lussumo.com/addons/?PostBackAction=AddOn&AddOnID=240 Michael Grunewalder wrote: > > I had th

Re: [jQuery] jCarousel: index of last item

2007-01-24 Thread agent2026
I would love to see this happen as well, and I hope you can do it. Maybe http://www.nabble.com/Some-Useful-Minor-Plugins-tf3065973.html this would help? Adam Beren wrote: > > Thanks a lot. I'll keep you updated and post here the answer if I finally > get to create a seamless carousel. > >

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread [-Stash-]
I agree! Don't forget to let Cody know at his forums ;) http://codylindley.com/thickboxforum/comments.php?DiscussionID=166&page=1#Item_20 Giuliano Marcangelo wrote: > > Klaus, > > I think that we would all love YOU to do that ! :-) > > On 24/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: >>

Re: [jQuery] searching by id in a different content

2007-01-24 Thread Klaus Hartl
Michael Fuerst wrote: > I have a strange problem: I can't search an element in the > parent.document by id: > > This isn't working: > > $('#bussyMessage',parent.document).size(); > > but if the element has a name it works: > > $('[EMAIL PROTECTED]"bussyMessage"]',parent.document).size(); > > A

Re: [jQuery] Beginner needs help - Basics

2007-01-24 Thread Johannes Theile
Thanks to all of you who replied. I really forgot this $(function(){ ... }); thing. Regards, Johannes -- View this message in context: http://www.nabble.com/Beginner-needs-help---Basics-tf3080171.html#a8558442 Sent from the JQuery mailing list archive at Nabble.com. __

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Sam Collett
On 24/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > [-Stash-] wrote: > > Unfortunately, it looks like Cody's giving up on ThickBox. He's put out a > > request for someone to take it over: > > http://codylindley.com/thickboxforum/comments.php?DiscussionID=166&page=1#Item_15 > > > > Given the impr

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Mike Alsup
> I'd love to do that! Excellent. Glad to hear it. Thanks, Klaus! Let's get it moved into SVN too. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Klaus Hartl
Mike Alsup wrote: >> I'd love to do that! > > Excellent. Glad to hear it. Thanks, Klaus! Hey, wait a moment, I think Cody has to have the latest word here... (?) > Let's get it moved into SVN too. That would be the case of course. Sam also made some good proposals. I think I'd also like to

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Joel Birch
On 24/01/2007, at 11:13 PM, Klaus Hartl wrote: > Mike Alsup wrote: >>> I'd love to do that! >> Excellent. Glad to hear it. Thanks, Klaus! Excellent, I was really hoping Klaus would be the man to take over. > > Hey, wait a moment, I think Cody has to have the latest word > here... (?) Of course

Re: [jQuery] Dynamically loadiing 2 jCarousels from separate data sources on same page

2007-01-24 Thread Jan Sorgalla
Hi, why don't you use just two different loadItemHandler's? Jan dvp wrote: > > Jan, > > This seems to solve the multiple data sources on a single page problem, > but I would appreciate your feeback. > > First I added the datasrc property to the object: > == >

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Olaf Bosch
Klaus Hartl schrieb: >> Excellent. Glad to hear it. Thanks, Klaus! > > Hey, wait a moment, I think Cody has to have the latest word here... (?) Now, we have OpenSource ;) It's o.k., let Cody have the last word :) > $('a').thickbox(); Great!!! and then give width and height not in URL, give a

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Jörn Zaefferer
Klaus Hartl schrieb: > Jörn Zaefferer wrote: > >> Daemach schrieb: >> >>> Is there a list of rules somewhere that define where this is that or the >>> reverse? >>> >>> >> I posted something recently that roughly covers "this": >> http://bassistance.de/2007/01/23/unobtrusive-clear

[jQuery] How to find out if form was submitted via Ajax?

2007-01-24 Thread Dmitrii 'Mamut' Dimandt
When I use the Form plugin, how can I find out on the server that the form was submitted via Ajax? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Frames with JQuery. Possible?

2007-01-24 Thread Web Specialist
Hi anyone have an example using JQuery to "simulate" frames? I'm looking tips to avoid html frameset. Cheers ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Capturing modifier key events

2007-01-24 Thread Dave Methvin
> I would love to see a jQuery plugin that handles > the browser-specific retrieval of the key events, Something like this? http://rikrikrik.com/jquery/shortkeys/ If not, it may still be a great place for you to start on the one you want. ___ jQuery m

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Fil
> >> http://bassistance.de/2007/01/23/unobtrusive-clear-searchfield-on-focus/ > > http://jquery.com/discuss/2007-January/022164/ Why not use .one()? $('#searchbox') .one('focus', function() { $(this).attr('value',''); }

[jQuery] FaviconLinkMarker 1.0 stable out now

2007-01-24 Thread Olaf Bosch
Hi all, i have now release a stable Version. Have a look at: http://olaf-bosch.de/bugs/jquery/faviconlinkmarker/index.html Problems are: 1. i found no way to check Favicon exist, in IMG variant are in IE a placeholder image to see 2. Favicon with width 32px, in CSS variant looks not good Thanks

Re: [jQuery] How to find out if form was submitted via Ajax?

2007-01-24 Thread Dr. Tarique Sani
On 1/24/07, Dmitrii 'Mamut' Dimandt <[EMAIL PROTECTED]> wrote: > When I use the Form plugin, how can I find out on the server that the > form was submitted via Ajax? if using PHP then testing env('HTTP_X_REQUESTED_WITH') == "XMLHttpRequest" should work HTH Tarique -- ==

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Klaus Hartl
Jörn Zaefferer wrote: >> Nice, looks exactly like the one I posted last week... ;-) >> >> http://jquery.com/discuss/2007-January/022164/ >> > Haha. That may explain where I got the idea from. No worries, eh? No, no... :-) I wonder if we should add a folder like "Micro plugins" to SVN where th

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread Klaus Hartl
Olaf Bosch wrote: > Klaus Hartl schrieb: > >>> Excellent. Glad to hear it. Thanks, Klaus! >> Hey, wait a moment, I think Cody has to have the latest word here... (?) > > Now, we have OpenSource ;) > It's o.k., let Cody have the last word :) > >> $('a').thickbox(); > > Great!!! > and then give

[jQuery] ie6 submit button error

2007-01-24 Thread Marie du Toit
Hi, I found the following error, "This command is not supported", when trying this line of code in IE6, $(':submit').attr({ src: "images/button_submit.png", type: "image" }); This works fine in Firefox. I have the latest update of jQuery and I'm currently using the compressed version. Thank

Re: [jQuery] searching by id in a different content

2007-01-24 Thread Dave Methvin
> I think that is still because jQuery's id selector uses > document.getElementbyId(), so you will always stay > in the document you're in. That was true until 1.1.1, but now it tries to use the getElementById in the document tree it's searching. If it doesn't find one it resorts to a straight tre

Re: [jQuery] util plugins, was: What tools ...

2007-01-24 Thread Jörn Zaefferer
Klaus Hartl schrieb: > I wonder if we should add a folder like "Micro plugins" to SVN where > these little helpers could go into... Brandon posted some as well recently. > Like... http://jquery.com/dev/svn/trunk/plugins/util/searchField.js?rev=1177 -- Jörn Zaefferer http://bassistance.de _

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread [-Stash-]
I like this idea but for one point. If you do want everything, then you have 8 bazillion requests back and forth to the server. Not a problem for those of us on broadband, but on Dialup it becomes a a really show stopper with all the added latency. Some method of bundling up (and compressing if

[jQuery] [PLUGIN Interface] what is dragHandle for?

2007-01-24 Thread j. siefer
Hi, I wounder what dragHandle is for? doco saiys just: "true to make the element draggable, string selection for drag handle" I was hopping to find something that the handle will be dragged while the user is resizing, currently i have to do it by my self with: onResize() /*{ drag handle */} g

Re: [jQuery] searching by id in a different content

2007-01-24 Thread Michael Fuerst
>> I think that is still because jQuery's id selector uses >> document.getElementbyId(), so you will always stay >> in the document you're in. > > That was true until 1.1.1, but now it tries to use the getElementById in > the > document tree it's searching. If it doesn't find one it resorts to a >

[jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Rey Bango
So Klaus, is that a definite yes that you'll volunteer to take over development of ThickBox? If so, I want to make sure that everyone on the team knows so that any issues can be referred to you. This would be VERY cool man. You're definitely a top-notch developer and I think you'd make an excel

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Jörn Zaefferer
Rey Bango schrieb: > So Klaus, is that a definite yes that you'll volunteer to take over > development of ThickBox? If so, I want to make sure that everyone on the > team knows so that any issues can be referred to you. > > This would be VERY cool man. You're definitely a top-notch developer and

Re: [jQuery] FaviconLinkMarker 1.0 stable out now

2007-01-24 Thread Mike Alsup
> i have now release a stable Version. Have a look at: > http://olaf-bosch.de/bugs/jquery/faviconlinkmarker/index.html Cool stuff, Olaf. I love that the Nifty Corners favicon is distinctly square. :-) ___ jQuery mailing list discuss@jquery.com http:/

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Klaus Hartl
Rey Bango wrote: > So Klaus, is that a definite yes that you'll volunteer to take over > development of ThickBox? If so, I want to make sure that everyone on the > team knows so that any issues can be referred to you. > > This would be VERY cool man. You're definitely a top-notch developer and

Re: [jQuery] Problems with autocomplete

2007-01-24 Thread Sean O
Ian, Looks like you fixed the data retrieval part - I now see Southern Conn come up in the list (how did you fix?). However, after selecting a school, hitting tab or Enter erases the selection, and focus seems to be 'locked' in the field (when tabbing, you can click to other fields). Seems to

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Geoffrey Knutzen
Yea Thank you both -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Wednesday, January 24, 2007 7:14 AM To: jQuery Discussion. Subject: Re: [jQuery] Thickbox - Klaus Are You Volunteering? Rey Bango wrote: > So Klaus, is that a defini

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Rey Bango
Awesome! Rey Klaus Hartl wrote: > Rey Bango wrote: >> So Klaus, is that a definite yes that you'll volunteer to take over >> development of ThickBox? If so, I want to make sure that everyone on the >> team knows so that any issues can be referred to you. >> >> This would be VERY cool man. You'r

Re: [jQuery] make a div disappear after 2seconds?

2007-01-24 Thread Karl Swedberg
Well, I was /thinking about/ suggesting it, but I always feel a little funny about the self-promotion thing. ;-) Cheers, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 23, 2007, at 9:03 PM, Ⓙⓐⓚⓔ wrote: I was wondering why nobody suggested that! I

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Rey Bango
Oh yeah and that Jörn guy, he's pretty good to. ;o) Rey > > After talking with Jörn we decided to join power and do a rewrite with > Thickbox 3 as result... > > So yes, we're volunteering! > > > -- Klaus > > ___ > jQuery mailing list > discuss@jqu

[jQuery] Fwd : simple selector with ID doesn't work anymore

2007-01-24 Thread vincent . fuchs
Hi, I've been looking for a solution regarding my problem... first, it appears I hadn't the right files when doing my tests with different versions. So it works fine with the packed version 1.0.4 . But when I replace it with the packed v1.1.1, the code alert(' div : '+$("div#tab_0").l

Re: [jQuery] FaviconLinkMarker 1.0 stable out now

2007-01-24 Thread Gurpartap Singh
Hello, Good stuff Olaf!, got the concept, but unable to understand theory, do you have english version for it? On 1/24/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > i have now release a stable Version. Have a look at: > http://olaf-bosch.de/bugs/jquery/faviconlinkmarker/index.html Cool stuff,

Re: [jQuery] util plugins, was: What tools ...

2007-01-24 Thread Paul McLanahan
It would be nice to be able to contribute to a folder like that. I have several little plugins that I use as helpers on larger projects that I'm sure others would find useful as well. Is there a way to easily allow people to only commit SVN to a single folder like "util", or would it be better ju

Re: [jQuery] Problem with "&" when posting with ajax.

2007-01-24 Thread j. siefer
try c = encodeURIComponent("my content with a & lalal test"); var pars = 'id='+ident+'&content='+encodeURIComponent(new_content); zelexir wrote: > > Hi there. > > I ran into a little problem today, working with some forms. Whenever > something is submitted and has a "&" in it it will break

Re: [jQuery] Fwd : simple selector with ID doesn't work anymore

2007-01-24 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: > > Hi, > > I've been looking for a solution regarding my problem... first, it > appears I hadn't the right files when doing my tests with different > versions. So it works fine with the packed version 1.0.4 . But when I > replace it with the packed v1.1.1, the code >

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread John Resig
On that note, I've completely moved Thickbox into SVN and updated it to work with 1.1.1 (and renamed it to "Thickbox 2.1.1"). This Thickbox web site is now just a checked-out copy of what's in SVN. Updated Site: http://jquery.com/demo/thickbox/ I'll be posting this to the mailing list in a separa

[jQuery] how to tell if checkbox is checked and manipulate

2007-01-24 Thread Sean O
Hi, I have a "checklist" comprised of 8 checkboxes in a table, all with the class "checklist". I'm pulling the values from a database, and I want to highlight the containing TDs green for the checkboxes that are checked, and leave the rest alone. I can do this onclick: $(".checklist").

Re: [jQuery] util plugins, was: What tools ...

2007-01-24 Thread Stephen Howard
Consider posting your plugins to JSAN (www.openjsan.org). Paul McLanahan wrote: > It would be nice to be able to contribute to a folder like that. I > have several little plugins that I use as helpers on larger projects > that I'm sure others would find useful as well. Is there a way to > easily

[jQuery] Problem with "&" when posting with ajax.

2007-01-24 Thread zelexir
Hi there. I ran into a little problem today, working with some forms. Whenever something is submitted and has a "&" in it it will break my code. For instance: I have a admin interface with a WYSIWYG editor, so whenever a &nbps; or " or anything similar it will break in this part: var pars = 'id

[jQuery] Thickbox 2.1.1

2007-01-24 Thread John Resig
Hi Everyone - I've taken the initiative and fixed Thickbox to work with jQuery 1.1.1. I updated the Thickbox site to reflect this (and gave it a new version: 2.1.1). The updated Thickbox site: http://jquery.com/demo/thickbox/ Additionally, Thickbox is completely in SVN now: http://jquery.com/dev

Re: [jQuery] Problem with "&" when posting with ajax.

2007-01-24 Thread zelexir
Hey must have missed that function thanks alot! Is this anywhere in the jQuery documentation? If not it could be a nice addition. j. siefer wrote: > > try > c = encodeURIComponent("my content with a & lalal test"); > > > > var pars = 'id='+ident+'&content='+encodeURIComponent(new_content);

Re: [jQuery] Frames with JQuery. Possible?

2007-01-24 Thread James Thomas
Well, not a jquery solution but you could just use iframes - no frameset required that way. Web Specialist wrote: > > Hi > > anyone have an example using JQuery to "simulate" frames? I'm looking tips > to avoid html frameset. > > Cheers > > ___ > jQ

Re: [jQuery] how to tell if checkbox is checked and manipulate

2007-01-24 Thread j. siefer
":checked" should work, in compination with is(":checked"); $(this).is(":checked").length ? alert("yes") : alert("no"); or something like this, try around or to highlight $(".checklist :checked").highlight(); Sean O wrote: > > Hi, > > > I have a "checklist" comprised of 8 checkboxes in

Re: [jQuery] Problem with "&" when posting with ajax.

2007-01-24 Thread Sam Collett
On 24/01/07, zelexir <[EMAIL PROTECTED]> wrote: > > Hey must have missed that function thanks alot! > Is this anywhere in the jQuery documentation? If not it could be a nice > addition. > This is a feature of Javascript (i.e. you don't need jQuery to use it) http://www.w3schools.com/jsref/jsref_en

Re: [jQuery] Thickbox 2.1.1

2007-01-24 Thread Sam Collett
I've noticed with a few plugins that they have their own copy of jQuery within their svn directory. Perhaps it would be less confusing if the files weren't there? As it is, you have several copies of the various versions of jQuery (rather than just the ones in dev/svn/tags/) e.g. http://jquery.com

[jQuery] Problem with Puff

2007-01-24 Thread Peter Gordon
Hi. I am trying to use Puff from the interface library. The page shows correctly, but when I press the href, nothing happens. The only javascript library to have Puff was ifxscale.js. I checked with GET to see if I could download jquery.js and ifxscale.js. They both download correctly. Could

Re: [jQuery] ret[ret.length - 1] has no properties

2007-01-24 Thread jgrucza
I've submitted a bug report: #881. jgrucza wrote: > > So I'm getting this error message: > > ret[ret.length - 1] has no properties > > being thrown from this line in the jquery source: > > if ( m[1] == "#" && ret[ret.length-1].getElementById ) { > > for certain selectors, namely whe

Re: [jQuery] Thickbox 2.1.1

2007-01-24 Thread [-Stash-]
I don't suppose you've written down the changes you made have you? Is it just the .unbind('click') ones or are there more? Thanks :) John Resig wrote: > > Hi Everyone - > > I've taken the initiative and fixed Thickbox to work with jQuery > 1.1.1. I updated the Thickbox site to reflect this (

Re: [jQuery] Thickbox 2.1.1

2007-01-24 Thread John Resig
> I don't suppose you've written down the changes you made have you? Is it > just the .unbind('click') ones or are there more? That's correct, in Thickbox, the only change was to replace .unclick() with .unbind("click"). On the Thickbox site he used the Tabs plugin which utilized :nth-child() (n

[jQuery] I could use help with Drag-drop

2007-01-24 Thread Circlefusion
Hey all, I'm researching JQuery for a project at work. It is a recipe website that has a "recipe box" feature where they want to be able to drag recipes between folders for organization. Here is a screen shot of the basic functionality that I'm trying to accomplish. http://www.circlefusion.com/p

Re: [jQuery] I could use help with Drag-drop

2007-01-24 Thread Circlefusion
hmm...just testing the reply feature. I'm not sure if I understand yet how Nabble works yet. I had difficulty posting this yesterday as I wasn't a member of the mailing list. I just signed up for it today. -- View this message in context: http://www.nabble.com/I-could-use-help-with-Drag-drop-tf3

[jQuery] JQuery in Google Maps Info Windows

2007-01-24 Thread dhubbard
I'm new to jQuery and am trying to figure this out, but was wondering if anyone has had any luck embedding jQuery code inside Google Maps info windows? I have an existing google map that parses coordinates and descriptions for points from an xml file and have tried using Innerfade ( http://medi

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Ⓙⓐⓚⓔ
YES we all need tiny mundane utilitarian plugins! Not to be confused with glorious or exotic or wild! They cut development time down! On 1/24/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Jörn Zaefferer wrote: > >> Nice, looks exactly like the one I posted last week... ;-) > >> > >> http://jq

Re: [jQuery] JQuery in Google Maps Info Windows

2007-01-24 Thread Michael Geary
I'm not very familiar with InnerFade, but wouldn't you do this inside your marker click handler, right after you call marker.openInfoWindowHtml? That's when you have the list items available. > I'm new to jQuery and am trying to figure this out, but was > wondering if anyone has had any luck embe

Re: [jQuery] how to tell if checkbox is checked and manipulate

2007-01-24 Thread Sean O
Hi J., Thanks for the tips, but I can't seem to address every checkbox. This code triggers the alert on load: if ( $(".checklist").is(":checked") ) { alert("found a checked box"); $(this).parent().css("background","lightgreen"); } But the backgro

[jQuery] reload js in iw with ajax

2007-01-24 Thread matt2012
If I reload a part of the page [ using load(.. ] which has elements bound to functions for example a table row tr with a click function when that table is reloaded the table row no longer has the click function bound to it. In FF I can get around this by adding the js functions to the mypage.php t

Re: [jQuery] Problem with "&" when posting with ajax.

2007-01-24 Thread Jörn Zaefferer
zelexir schrieb: > Hey must have missed that function thanks alot! > Is this anywhere in the jQuery documentation? If not it could be a nice > addition. > You could use jQuery's (internal) param function, which does the encoding for $.ajax. Something like this should work: var stringToSend = j

Re: [jQuery] Problem with Puff

2007-01-24 Thread Jörn Zaefferer
Peter Gordon schrieb: > Hi. > > I am trying to use Puff from the interface library. The page shows correctly, > but when I press the href, nothing happens. > > The only javascript library to have Puff was ifxscale.js. I checked with GET > to see if I > could download jquery.js and ifxscale.js.

Re: [jQuery] JQuery in Google Maps Info Windows

2007-01-24 Thread dhubbard
I pulled the code from $(document).ready() and inserted it after the call to marker.openInfoWindowHtml (before the marker is returned to the map, but no luck - the images still show up in a list format. Like you said, this seems like the logical place to insert the jQuery code since the list item

Re: [jQuery] how to tell if checkbox is checked and manipulate

2007-01-24 Thread Jörn Zaefferer
Sean O schrieb: > This doesn't do anything (nor does it produce a Firebug error): > if ( $(".checklist").is(":checked") ) { > ($(this)[0].checked) ? > ($(this).parent().css("background","lightgreen")) > : ($(this).parent().css("background","none")); > } > > Advice? > is() j

Re: [jQuery] how to tell if checkbox is checked and manipulate

2007-01-24 Thread Sean O
Ah ha! The .filter was it... Just tweaked it to change the BG of the parent TD: $(".checklist").filter(":checked").parent().css("background","lightgreen"); and it works. Thanks Wizz! ___ SEAN O Wizzud wrote: > > Try this ... > $(".checklist").filter(":checked").css("background","ligh

Re: [jQuery] Problem with Puff

2007-01-24 Thread Peter Gordon
I tried that, but it probably needs more libraries. When I use interface.js it works. Is there a way of displaying which libraries are needed at runtime? On Wed, 2007-01-24 at 20:03 +0100, Jörn Zaefferer wrote: > Peter Gordon schrieb: > > Hi. > > > > I am trying to use Puff from the interface

Re: [jQuery] reload js in iw with ajax

2007-01-24 Thread matt2012
I found out myself - like eveything in jquery its pure simplicity! $('#mydiv').load("mypage.php",function(){$.getScript("mycustom.js");}); matt2012 wrote: > > If I reload a part of the page [ using load(.. ] which has elements bound > to functions for example a table row tr with a click f

Re: [jQuery] Problem with Puff

2007-01-24 Thread Jörn Zaefferer
Peter Gordon schrieb: > I tried that, but it probably needs more libraries. When I use > interface.js it works. > > Is there a way of displaying which libraries are needed at runtime? > A good place to look at may be the raw demos: http://jquery.com/dev/svn/branches/stefan-dev/demos/ Accordin

[jQuery] A fadeout effect makes the page jump up in IE7

2007-01-24 Thread sholby
Hello, I've added an effect to make the pages fade when i click on some other internal link, like this: $("a").not(".external").click(function() { var url=this.href; // fade effect $("#contenu").fadeOut("slow",function() {

Re: [jQuery] A fadeout effect makes the page jump up in IE7

2007-01-24 Thread Kim Johnson
I had the same problem with slide recently, and didn't get a response from this list :/ What I found (and this might not be the root cause) is that the margins around the divs or parent divs was affecting it somehow. If I just had a div by itself, without a parent div positioning it via margins, l

Re: [jQuery] A fadeout effect makes the page jump up in IE7

2007-01-24 Thread Jörn Zaefferer
sholby schrieb: > I'm wondering if this is a known issue ? > > (Apparently the type also becomes aliased before the fade completes.) > > I am thinking of removing the function altogether for IE, but i've > already removed so much niceties from my layout for that browser that > there is barely a

Re: [jQuery] A fadeout effect makes the page jump up in IE7

2007-01-24 Thread Brandon Aaron
Indeed and it should be mentioned that an improved fx engine is in the works. -- Brandon Aaron On 1/24/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > sholby schrieb: > > I'm wondering if this is a known issue ? > > > > (Apparently the type also becomes aliased before the fade completes.) > > > >

Re: [jQuery] Thickbox - Klaus Are You Volunteering?

2007-01-24 Thread Brice Burgess
Klaus Hartl wrote: > After talking with Jörn we decided to join power and do a rewrite with > Thickbox 3 as result... > > So yes, we're volunteering! > > This is most xlnt! :) Off the top -- will you support the ability to maintain pre-existing events (e.g. not forget events attached to inline

[jQuery] jQuery/IE sending duplicate parameter values

2007-01-24 Thread Graeme B. Davis
Hello, It appears I'm coming across a weird bug in jQuery that only occurs with IE (6). $(document).ready(function(){ $.get("jq2.html", { name: "John", time: "2pm" }, function(data){ alert("D

Re: [jQuery] What tools should I use to troubleshoot jquery problems? (John Resig, jquery team, other gurus please share your tricks...)

2007-01-24 Thread Brice Burgess
Klaus Hartl wrote: > Ⓙⓐⓚⓔ wrote: > >> Mike, I don't like breaking the chains... I just insert a debug in the >> middle of the chain... >> >> I use this for my debug: >> jQuery.fn.debug = function(message) { >> return this.log('debug:' + (message || '') >> +"[").each(function(){jQuery.log(th

Re: [jQuery] FaviconLinkMarker 1.0 stable out now

2007-01-24 Thread Olaf Bosch
Gurpartap Singh schrieb: > Good stuff Olaf!, got the concept, but unable to understand theory, > do you have english version for it? No, i have no english in my head, all this is phantasie. I have no english never on scool. I must all this learning with read, read and read. Sorry, write you for m

Re: [jQuery] A fadeout effect makes the page jump up in IE7

2007-01-24 Thread Stéphane Nahmani
Quoting Brandon Aaron <[EMAIL PROTECTED]>: > Indeed and it should be mentioned that an improved fx engine is in the works. That's very good to know. Thanks for all the advice, everything is welcome. --   Stéphane Nahmani / sholby [EMAIL PROTECTED] http://www.sholby.net/

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-24 Thread James Thomas
This is how the new version of interface works - very nice and I think it would work great for this too. [-Stash-] wrote: > > I like this idea but for one point. If you do want everything, then you > have 8 bazillion requests back and forth to the server. Not a problem for > those of us on bro

[jQuery] Form and .submit

2007-01-24 Thread Massimiliano Marini
Hi all, I'm new to jquery, I'm trying to make something that work with jquery and form, but I'm in error and I don't know where: jquery $(document).ready(function(){ $("#myForm").submit(function(){ a

  1   2   >