Author: rmannibucau
Date: Tue Jun 28 22:47:42 2011
New Revision: 1140880
URL: http://svn.apache.org/viewvc?rev=1140880&view=rev
Log:
using fast animations
Modified:
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/glossary.js
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/index.js
Modified:
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/glossary.js
URL:
http://svn.apache.org/viewvc/openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/glossary.js?rev=1140880&r1=1140879&r2=1140880&view=diff
==============================================================================
---
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/glossary.js
(original)
+++
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/glossary.js
Tue Jun 28 22:47:42 2011
@@ -5,7 +5,7 @@ $(document).ready(function() {
function checkBoxClicked(id, b) {
$('.' + id).each(function(i, val) {
if (b) {
- $(val).show('slow');
+ $(val).show('fast');
} else {
$(val).hide();
}
@@ -34,10 +34,10 @@ function aggregate(button) {
if (button.value == 'Aggregate') {
button.value = 'Split';
$('#list').hide();
- $('#aggregate').show('slow');
+ $('#aggregate').show('fast');
} else {
button.value = 'Aggregate';
- $('#list').show('slow');
+ $('#list').show('fast');
$('#aggregate').hide();
}
// order to show selected whic are in non slected too
Modified:
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/index.js
URL:
http://svn.apache.org/viewvc/openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/index.js?rev=1140880&r1=1140879&r2=1140880&view=diff
==============================================================================
---
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/index.js
(original)
+++
openejb/trunk/sandbox/tools/src/main/resources/generate-index/javascript/index.js
Tue Jun 28 22:47:42 2011
@@ -27,7 +27,7 @@ $(document).ready(function() {
}
}
if (toShow) {
- $(val).show('slow');
+ $(val).show('fast');
} else {
$(val).hide();
}
@@ -79,7 +79,7 @@ function filterExamples($button) {
}
// filtering examples
- $('div#examples').find('li' + filteringForExamples).show('slow');
+ $('div#examples').find('li' + filteringForExamples).show('fast');
if (selectedClasses.length > 0) {
$('div#examples').find('li:not(' + filteringForExamples +
').example').hide();
}
@@ -102,7 +102,7 @@ function filterExamples($button) {
if (shouldIHideIt(examples, $buttonsArray[b]) &&
selectedClasses.indexOf($buttonsArray[b]) == -1) {
$('input[api="' + $buttonsArray[b] + '"]').hide();
} else {
- $('input[api="' + $buttonsArray[b] +
'"]').show('slow');
+ $('input[api="' + $buttonsArray[b] +
'"]').show('fast');
}
}
});
@@ -111,7 +111,7 @@ function filterExamples($button) {
$('#api-info').show();
$('#api-info').text(examples.length + ' examples are matching');
} else {
- $('div#checkboxes-check > ul > li >
input[type=button].button').show('slow');
+ $('div#checkboxes-check > ul > li >
input[type=button].button').show('fast');
$('#api-info').hide();
}
}