[jQuery] Move to an anchor

2007-03-27 Thread Peter Bengtsson
Can I move to an anchor with jQuery? I.e. the equivalent of what the browser does with: a href=#footerfooter/a -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Id of a textarea element

2007-02-19 Thread Peter Bengtsson
On 2/18/07, Klaus Hartl [EMAIL PROTECTED] wrote: Peter Bengtsson schrieb: From the Firebug console... document.getElementById('id_descriptions.sv'); textarea id=id_descriptions.sv cols=40 rows=3 name=descriptions.sv:latin1:utext:record $('#id_descriptions.sv

Re: [jQuery] Id of a textarea element

2007-02-19 Thread Peter Bengtsson
element: div id=identifier class=classification -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Id of a textarea element

2007-02-18 Thread Peter Bengtsson
. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Select Box

2007-01-25 Thread Peter Bengtsson
. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [jQuery] Trivial use

2007-01-23 Thread Peter Bengtsson
=http://www.site.com/; id=triggerclick/a div id=contentdummy content/div (...) - - - - Thank you, Laurent ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com

[jQuery] .size() to test if something exists

2007-01-19 Thread Peter Bengtsson
Currently my code looks something like this: if ($('#warningmsg').size()) highlightWarningMsg(); Is that the correct way of testing if a jQuery object contains anything? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [jQuery] Exception to an event

2007-01-10 Thread Peter Bengtsson
! Works fine! Untested... -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

[jQuery] Memory game

2007-01-04 Thread Peter Bengtsson
Has anybody written a game of Memory with jQuery that I can save myself a lot of work from? For those who can't remember how the game was played, here's an aweful example: http://www.queendom.com/mindgames/mindstretching/memory-games/memory-game1/index.html -- Peter Bengtsson, work www.fry

Re: [jQuery] Simple code, but not working with IE 6 / 7

2006-12-14 Thread Peter Bengtsson
); }); A valid XHTML page can only on contain 1 of the same ID tag. invalid xhtml tag1 id=tag/tag1 tag2 id=tag/tag2 /invalid xhtml -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list

Re: [jQuery] jQuery 1.0.4 Released

2006-12-13 Thread Peter Bengtsson
/blog/2006/12/12/jquery-104/) --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com

Re: [jQuery] Elegant Loading Indicator

2006-12-08 Thread Peter Bengtsson
. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Elegant Loading Indicator

2006-12-08 Thread Peter Bengtsson
= default; }); I like the unobtrusive simplicity. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] this.addClass(foo)??

2006-12-08 Thread Peter Bengtsson
work because 'this' is not a jQuery object I guess. How sould I do this then? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] [Fwd: this.addClass(foo)??]

2006-12-08 Thread Peter Bengtsson
I figured it out. Use $(this) to convert 'this' to a jQuery object. Original Message Subject: this.addClass(foo)?? Date: Fri, 08 Dec 2006 17:40:26 + From: Peter Bengtsson [EMAIL PROTECTED] To: jQuery Discussion. discuss@jquery.com Here's the code that doesn't work. Can

Re: [jQuery] fadeOut for each

2006-12-04 Thread Peter Bengtsson
they are in the rounded class. That ain't cheap on a big page. I didn't know. I can be more specific and have now put $(div.rounded) instead. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ jQuery mailing list

[jQuery] fadeOut for each

2006-12-01 Thread Peter Bengtsson
(function() { if(this.style['display']!='none') $(this).fadeOut(900); }) }, 1000*7); What do more experienced jQuery people think about that approach? Is that the easiest way to do it? -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby