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
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
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
.
--
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 mailing list
discuss@jquery.com
http://jquery.com/discuss/
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
=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
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
! 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
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
);
});
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
/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
.
--
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/
= 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/
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/
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
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
(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
17 matches
Mail list logo