Author: hannes
Date: 2008-12-23 11:12:40 +0100 (Tue, 23 Dec 2008)
New Revision: 9472
Modified:
apps/gobi/trunk/code/Page/skins/javascript.skin
Log:
Tweak animations stylings and speeds once more.
Details at http://dev.helma.org/trac/helma/changeset/9472
Modified: apps/gobi/trunk/code/Page/skins/javascript.skin
===================================================================
--- apps/gobi/trunk/code/Page/skins/javascript.skin 2008-12-23 10:11:36 UTC (rev 9471)
+++ apps/gobi/trunk/code/Page/skins/javascript.skin 2008-12-23 10:12:40 UTC (rev 9472)
@@ -148,7 +148,7 @@
}
function commentShowForm() {
- $('.commentToggle').toggle('fast', function() {
+ $('.commentToggle').toggle('normal', function() {
$('html,body').animate({
scrollTop: $('#commentForm').offset().top
});
@@ -159,8 +159,8 @@
function commentCancel() {
// $('#commentInput').val('');
- $('.commentToggle').slideToggle('fast', function() {
- $('.previewToggle').slideUp();
+ $('.commentToggle').slideToggle('normal', function() {
+ $('.previewToggle').hide();
$('#pagePreview').html('');
});
return false;
@@ -170,7 +170,7 @@
var scratchpad = $(link).nextAll('.commentScratchpad:first');
scratchpad.next().show();
scratchpad.html('').hide().load(link.href, { ajax: true }, function() {
- scratchpad.show('normal');
+ scratchpad.show();
});
return false;
}
@@ -178,9 +178,8 @@
function deleteCommentCancel(link) {
var parent = $(link).parents('.commentScratchpad');
if (parent.length > 0) {
- parent.hide('normal', function() {
- $(this).html('');
- });
+ parent.hide();
+ $(this).html('');
return false;
}
return true;
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.