angelorigo Posted August 27, 2010 Share Posted August 27, 2010 HiI am looking for a customization of the categories drop down beahaviour.Instead of clicking to open a category just onmouseover a category will open it up and show its subcategories and onmouseover again will close Is it easy ? anyone already do this ?Cheers Link to comment Share on other sites More sharing options...
rocky Posted August 27, 2010 Share Posted August 27, 2010 Change line 2 of modules/blockcategories/category-tree-branch.tpl from: <a href="{$node.link|escape:html:'UTF-8'}" {if $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:html:'UTF-8'}">{$node.name|escape:html:'UTF-8'} to: <a href="{$node.link|escape:html:'UTF-8'}" {if $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:html:'UTF-8'}" onmouseover="toggleBranch($(this));">{$node.name|escape:html:'UTF-8'} Link to comment Share on other sites More sharing options...
Patric Posted August 27, 2010 Share Posted August 27, 2010 Topic moved. Link to comment Share on other sites More sharing options...
angelorigo Posted August 27, 2010 Author Share Posted August 27, 2010 Change line 2 of modules/blockcategories/category-tree-branch.tpl from: <a href="{$node.link|escape:html:'UTF-8'}" {if $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:html:'UTF-8'}">{$node.name|escape:html:'UTF-8'} to: <a href="{$node.link|escape:html:'UTF-8'}" {if $node.id == $currentCategoryId}class="selected"{/if} title="{$node.desc|escape:html:'UTF-8'}" onmouseover="toggleBranch($(this));">{$node.name|escape:html:'UTF-8'} Thankś a lot :-) Link to comment Share on other sites More sharing options...
rocky Posted August 27, 2010 Share Posted August 27, 2010 Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
karlk Posted January 1, 2011 Share Posted January 1, 2011 tried this and doesnt seem to work Link to comment Share on other sites More sharing options...
[email protected] Posted July 8, 2011 Share Posted July 8, 2011 Dear Rocky,I tried with the code u have given to alter in categories-tree-branch.tpl file but the default + sign is coming (which can be commented) and also on mouse over of a main menu all other main menus are dropping down from my category strip which should not it shd be fixed and only sub menu of any main menu shd be drop down on mouse over can u suggest any solution for this THANKS IN ADVANCE ---- ANIL BANGALORE. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now