
Originally Posted by
jvoce
I have tried, but not with any success. So far I've tried; 2000, 10000, 1100, 900. I'm not sure what else to try.
I've done some research into this, and this is an IE6 (and possibly earlier versions) bug to which there is no good workaround. In IE6, select menus DO NOT honor z-index. I thought I had this fixed in my Apple Zen Template, but I actually didn't.
I would do this:
Open up includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php
I'd add a <div> around the filter section, like this:
Code:
<div id="filter">
<?php
$check_for_alpha = $listing_sql;
$check_for_alpha = $db->Execute($check_for_alpha);
if ($check_for_alpha->RecordCount() > 0 && PRODUCT_LIST_ALPHA_SORTER == 'true') {
$form = zen_draw_form('filter', zen_href_link(FILENAME_DEFAULT), 'get') . '<label class="inputLabel">' . TEXT_SHOW . '</label>';
?>
<?php
echo $form;
echo zen_draw_hidden_field('main_page', FILENAME_DEFAULT);
echo zen_hide_session_id();
?>
<?php
// draw cPath if known
if (!$getoption_set) {
echo zen_draw_hidden_field('cPath', $cPath);
} else {
// draw manufacturers_id
echo zen_draw_hidden_field($get_option_variable, $_GET[$get_option_variable]);
}
// draw typefilter
if (isset($_GET['typefilter']) && $_GET['typefilter'] != '') echo zen_draw_hidden_field('typefilter', $_GET['typefilter']);
// draw manufacturers_id if not already done earlier
if ($get_option_variable != 'manufacturers_id' && isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) {
echo zen_draw_hidden_field('manufacturers_id', $_GET['manufacturers_id']);
}
// draw sort
echo zen_draw_hidden_field('sort', $_GET['sort']);
// draw filter_id (ie: category/mfg depending on $options)
if ($do_filter_list) {
echo zen_draw_pull_down_menu('filter_id', $options, (isset($_GET['filter_id']) ? $_GET['filter_id'] : ''), 'onchange="this.form.submit()"');
}
// draw alpha sorter
require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING_ALPHA_SORTER));
?>
</form>
<?php
}
?>
</div>
Then I'd add this to your stylesheet:
#filter {float:right}
This way, the filter goes to the right side of the page, underneath the short menus (Contact Us, My Account, etc) so they won't slide underneath the select menus.