Guest smdstudios Posted March 6, 2013 Share Posted March 6, 2013 I am using the crosshatch template to create a layout for my client and they want a different rollover effect for each nav item but the code doesn't provide individual link ids to accomplish this. Can anyone suggest how to do this??? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 6, 2013 Share Posted March 6, 2013 Welcome smdstudios! Glad to see you made it to the forum. The Navigation includes a link to the HomePage, all the Categories in a collapsible menu, a link to Gift Certificates (if you have any), and a link to Sale Items (if you have any). For the Categories, the Smarty variable {$BRANCH.cat_id} should be available. As such: <li><a href="{$BRANCH.url}" id="cat_{$BRANCH.cat_id}">{$BRANCH.name}</a> {if isset($BRANCH.children)}<ul> {$BRANCH.children} </ul>{/if} </li> gives you a unique id for the <a> tag. Quote Link to comment Share on other sites More sharing options...
Guest smdstudios Posted March 12, 2013 Share Posted March 12, 2013 That looks like it has done the trick! Thanks for your help and the welcome!!!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.