Categories | Question details Back To List | ||
dhtmlxTabbar - Displaying hyperlink in tabs without duplication Hello, I've created the following tabbar; each tab needs to contain hyperlinks that invoke an editor to edit the tab content while in admin mode for CMS purpose. The problem I'm having is that hyperlinks define in tab1 will show also in tab2 content. How can I display hyperlinks for Tab1 in Tab1 only, hyperlinks for Tab2 in tab2 only and so on? Thank you for your help and time ... Below is the code snippet: <div id="a_tabbar" class="dhtmlxTabBar" tabstyle="silver" imgpath="../images/tabbar/" style="height:500px;" skinColors="#FFFFFF,#F4F3EE" > <div id="a1" name="Tab1" width="100"> <div style="margin:8px;width:640px;"> <a href="#" onclick="javascript: qe.open('29'); return false;" title="Edit Section1" class="QE_Link">« Edit Section1</a> <p>some content for tab1 to be edited....</p> </div> ....... <div id="a2" name="Tab2" width="100"> <div style="margin:8px;width:640px;"> <a href="#" onclick="javascript: qe.open('33'); return false;" title="Edit Section2" class="QE_Link">« Edit Section2</a> <p>some content for tab1 to be edited....</p> </div> Answer posted by Support on Jun 11, 2008 10:06 The issue can't be reconstructed with local samples, the same code works correctly. ( basically the content of tab may not be visible if another tab selected - the only problematic case - usage of visibility:visible in custom css - in such case you can add enableForceHiding attribute to the top tag ) <div id="a_tabbar" class="dhtmlxTabBar" enableForceHiding="true" .... If problem still occurs for you - please send any kind of sample where problem can be reconstructed to support@dhtmlx.com Answer posted by Eric on Jun 11, 2008 10:49 Perfect the atrribute enableForceHiding fixed it. Thanks a lot. |