-var visible = {
- Normal: function(elem){},
- "CSS Hidden": function(elem){
- $(this).addClass("hidden");
- },
- "JS Hidden": function(elem){
- $(this).hide();
- }
-};
-
-var from = {
- "CSS Auto": function(elem,prop){
- $(elem).addClass("auto" + prop)
- .text("This is a long string of text.");
- return "";
- },
- "JS Auto": function(elem,prop){
- $(elem).css(prop,"auto")
- .text("This is a long string of text.");
- return "";
- },
- "CSS 100": function(elem,prop){
- $(elem).addClass("large" + prop);
- return "";
- },
- "JS 100": function(elem,prop){
- $(elem).css(prop,prop == "opacity" ? 1 : "100px");
- return prop == "opacity" ? 1 : 100;
- },
- "CSS 50": function(elem,prop){
- $(elem).addClass("med" + prop);
- return "";
- },
- "JS 50": function(elem,prop){
- $(elem).css(prop,prop == "opacity" ? 0.50 : "50px");
- return prop == "opacity" ? 0.5 : 50;
- },
- "CSS 0": function(elem,prop){
- $(elem).addClass("no" + prop);
- return "";
- },
- "JS 0": function(elem,prop){
- $(elem).css(prop,prop == "opacity" ? 0 : "0px");
- return 0;
- }
-};
-
-var to = {
- "show": function(elem,prop){
- $(elem).hide().addClass("wide"+prop);
- return "show";
- },
- "hide": function(elem,prop){
- $(elem).addClass("wide"+prop);
- return "hide";
- },
- "100": function(elem,prop){
- $(elem).addClass("wide"+prop);
- return prop == "opacity" ? 1 : 100;
- },
- "50": function(elem,prop){
- return prop == "opacity" ? 0.50 : 50;
- },
- "0": function(elem,prop){
- $(elem).addClass("noback");
- return 0;
- }
-};
-
-function checkOverflowDisplay(){