Re: Category Tab Simple Dropdown Menu
I have just notice that now when viewed in safari all the page content of pushed off the page to the right. It didn't do this before and looks fab in EI and Firefox. I have tried altering the css position but it just makes the menu overlap.
The menu itself looks fine but any ideas how I put the page content back where it is supposed to be?
Re: Category Tab Simple Dropdown Menu
... and apparently when I align the #navCatTabsDropdown li right all the contents go back to normal but then the categories are listed backwards.
Re: Category Tab Simple Dropdown Menu
Quote:
Originally Posted by
hem
Comment out or delete the following:
PHP Code:
$products_tab_query="SELECT p.`products_id`, pd.`products_name`, pd.`language_id` FROM ".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd WHERE p.`master_categories_id`='".(int)$categories_tab->fields['categories_id']."' AND p.`products_id`=pd.`products_id` AND pd.`language_id`='".(int)$_SESSION['languages_id']."' ORDER BY p.`products_sort_order`;";
$products_tab=$db->Execute($products_tab_query);
if($products_tab->RecordCount()>0)
{
echo '<ul>';
while (!$products_tab->EOF)
{
$cPath_new=zen_get_path($categories->fields['categories_id']);
$cPath_new=str_replace('=0_', '=', $cPath_new);
echo '<li>'.'<a href="'.zen_href_link(zen_get_info_page($products_tab->fields['products_id']),$cPath_new. '&products_id=' . $products_tab->fields['products_id']) . '">'.$products_tab->fields['products_name'].'</a></li><br />';
$products_tab->MoveNext();
}
echo '</ul>';
}
This worked a charm, thanks hem. :wink:
Now I just have this alignment weirdness to sort out.
1 Attachment(s)
Re: Category Tab Simple Dropdown Menu
Hello, thought i should give a visual. This is what is looks like in Safari when I try to align the drop-down categories menu left and all the content is pushed off screen...
Re: Category Tab Simple Dropdown Menu
Has anyone got any ideas how I can fix this safari problem? I can't figure out why it only happens in safari.
It's been like this for a couple of weeks and look a big mess to any of the safari visitors :(
Re: Category Tab Simple Dropdown Menu
Quote:
Originally Posted by
beep
Has anyone got any ideas how I can fix this safari problem? I can't figure out why it only happens in safari.
It's been like this for a couple of weeks and look a big mess to any of the safari visitors :(
Do you have any safari visitors? Whenever I check the browser section of my webstats I never see any.
As for the resolving the issue- I'm afraid I'm not a Mac or Safari user so I'm not sure how I'm going to debug this.
Re: Category Tab Simple Dropdown Menu
Yes, Safari is my visitors' third most popular browser... If anyone else reading this thread is Safari savvy, please help?! :(
Re: Category Tab Simple Dropdown Menu
I *appear* to have fixed the problem, however have not yet been able to test it in different versions of Safari, so please let me know if it looks ropey in your browser.
A friend also told me that using Safari she wasn't able to use the category drop-downs, has anyone else experienced this problem?
For future reference the CSS fix was:
Code:
clear:both; margin-bottom: 20px; text-align: left;
all added to navCatTabsWrapper
(which was almost identical to something i tried before but for some reason this one worked and the other didn't.)
Re: Category Tab Simple Dropdown Menu
any idea why this wouldn't be working for me at all? I can get the CatTabs showing but theres no dropdown. I am using version 1.3.8a, turning the cat tabs on for now and the site is miracle baby . co . nz. Thanks - hope it will go on my site as this is just what i need.
Re: Category Tab Simple Dropdown Menu
Take that back it is showing up now but the "dropdown" categories are not listing in a dropdown menu, they are in a box crammed in next to each other and flying off so far that you can't select an item to click on. Looks very messy, a bit of guidance on fixing it up? I can try with css but don't know how successful I will be ...