I tested this and it works with FF3.0 and IE 8.0
$("#content").find("blockquote")
.hide()
.before("Click for more...")
.end()
.find('h5').click(function() {
$(this).nextAll('blockquote:first')
Hi Jules and thanks for your reply.
Sadly, that didn't work (though I now use your $(this).nextAll
('blockquote:first') to select the blockquote, it looks better
than .next().next() )
Might the problem with the tag has something to do with the fact
that the whole More.. is added by jQuery itsel
$('#content').find('blockquote')
.hide()
.end()
.find('h5').click(function() {
$(this).nextAll('blockquote:first')
.slideToggle('slow')
.end()
.nextAll('h6:first').slideToggle('slow');
3 matches
Mail list logo