test to minimize flickering (work in progress, for now: table Search)

This commit is contained in:
Marc Delisle
2008-07-21 16:20:16 +00:00
parent 3ca63679fe
commit ffc04a7375
2 changed files with 9 additions and 1 deletions

View File

@@ -2375,6 +2375,7 @@ window.addEvent('domready', function(){
<?php <?php
} }
?> ?>
$('<?php echo $id; ?>').style.display="block";
}); });
// ]]> // ]]>
</script> </script>

View File

@@ -255,7 +255,14 @@ while (list($operator) = each($GLOBALS['cfg']['UnaryOperators'])) {
<?php <?php
PMA_generate_slider_effect('searchoptions', $strOptions); PMA_generate_slider_effect('searchoptions', $strOptions);
?> ?>
<div id="searchoptions"> <script type="text/javascript">
//<![CDATA[
document.write('<div id="searchoptions" <?php echo $GLOBALS['cfg']['InitialSlidersState'] == 'closed' ? ' style="display: none;"' : ''; ?>>');
//]]>
</script>
<noscript>
<div id="searchoptions">
</noscript>
<fieldset id="fieldset_select_fields"> <fieldset id="fieldset_select_fields">
<legend><?php echo $strSelectFields; ?></legend> <legend><?php echo $strSelectFields; ?></legend>