http://dev.mindboiler.lv/ (you'll be taken to intro page, just click on logo to get into real site)
This is website I'm currently working on. You can change the language to English to understand it a little better, but anyways, it's full of dummy text.
There are these Read more
links which, when clicked, execute the following jQuery:
$('.content-item .readmore').toggle(function() {
parent = $(this).parent();
$(parent).children('div.next').fadeIn();
$(this).html("Read less »");
}, function() {
parent = $(this).parent();
$(parent).children('div.next').fadeOut();
$(this).html("Read more »");
});
Firefox, Safari, Chrome works like a charm, but Internet Explorer (all versions) and Opera doesn't want to execute it properly.
Any solutions for this to work in IE and Opera?
P.S. Not a JavaScript/jQuery guru, therefore the script looks like crap.
Thanks in advance!