Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    Location
    Warrenpoint, United Kingdom
    Posts
    44
    Plugin Contributions
    0

    Default Categories Tabs Rollover Mod bug

    Maybe I didn't look hard enough, but I couldn't find a thread related to Categories Tabs Rollover Mod, linked here.

    It's just that I think it's causing an error in one of my sites www.bennettswine.co.uk when I view it in Google Chrome and I was wondering if anyone could help me fix the problem. It works fine in IE and Firefox, but the whole page jumps to the right after the tabs finish in Chrome.

    This is the code here

    Code:
    <?php
    /**
     * Module Template - categories_tabs
     *
     * Template stub used to display categories-tabs output
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_categories_tabs.php 3395 2006-04-08 21:13:00Z ajeh $
     */
    
      include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORIES_TABS));
    ?>
    <?php if (CATEGORIES_TABS_STATUS == '1' && sizeof($links_list) >= 1) { ?>
    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
    <?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
      <li><?php echo $links_list[$i];?></li>
    <?php } ?>
    
    </ul>
    </div>
    </div>
    <?php } ?>
    I don't know why, but I think a <br clear="all" /> put somewhere might help? or am i talking nonsense? all help, gretly appreciated!

  2. #2
    Join Date
    Jun 2008
    Location
    Warrenpoint, United Kingdom
    Posts
    44
    Plugin Contributions
    0

    Default Re: Categories Tabs Rollover Mod bug

    For anyone else who has this problem, I was right... a simple <br clear="all" /> after last </div> solves it...

    Code:
    <?php
    /**
     * Module Template - categories_tabs
     *
     * Template stub used to display categories-tabs output
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_categories_tabs.php 3395 2006-04-08 21:13:00Z ajeh $
     */
    
      include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORIES_TABS));
    ?>
    <?php if (CATEGORIES_TABS_STATUS == '1' && sizeof($links_list) >= 1) { ?>
    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
    <?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
      <li><?php echo $links_list[$i];?></li>
    <?php } ?>
    
    </ul>
    </div>
    </div>
    <br clear="all" />
    <?php } ?>

 

 

Similar Threads

  1. Have you installed Categories Tabs Rollover Style Mod?
    By iddy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 May 2010, 09:00 AM
  2. Rollover Image Links in Categories Sidebox
    By pensive612 in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 30 Apr 2009, 11:17 PM
  3. Button rollover & Image Handler bug
    By speedyvespa in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 May 2008, 06:28 AM
  4. Swap Images via Mouseover Mod - Problem re: displayed rollover sizing
    By firstimpression in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 18 Jul 2007, 05:42 PM
  5. Rollover/MouseOver IMAGES in sideboxes' sub/categories
    By 0101101011 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Mar 2007, 12:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg