Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, December 05, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Toolbar
Forum for discussing the Toolbar module. Questions, comments, reviews and configurations.
Subject: Selected Item Class
You are not authorized to post a reply.
 
Author Messages
mikerennick
Middleweight
Posts:55

04/03/2008 2:03 PM Alert 
why is there no option to set a special class when a toolbar item is selected. The hover class works great, but then when the tab is "selected", there is no way to set it apart from the other tabs. It would be very useful for the user to be able to see what tab they are on by seeing the text in a different color, or the background different, etc.

I suppose there is some JavaScript that could be written to set the selected tab class to a different value -- has anyone written such a script?

Mike Rennick
svedire
Cruiserweight
Posts:107

04/03/2008 5:12 PM Alert 
Hi Mike,

If you are doing your tab structure using lxContainer then you have the option to distinguish selected and unselected tabs. For more information, you can go through page 142 in the document.

Hope this helps.

Thanks,
Sindura.
mikerennick
Middleweight
Posts:55

04/03/2008 8:20 PM Alert 
I think that I am going to be able to make this work using the info you referred me to. However, out of nowhere, I am getting this error when the page loads:

"Error: lxContainerGroup is not defined"

And when I click a tab, I am getting this error:

"Error: lxContainer is not defined"

This was not happening before, and I cannot figure out what is going wrong. I have three Listx modules on the page, and the module settings look like this (respectively):

<lxContainer ModuleId="[MODULEID,System]" Name="Departments" Group="Tabs"/>

<lxContainer ModuleId="[MODULEID,System]" Name="Courses" Group="Tabs"/>

<lxContainer ModuleId="[MODULEID,System]" Name="People" Group="Tabs"/>

In the footer of the last module...

<SCRIPT>
lxContainerGroup('Tabs');
</SCRIPT>

In my tabs I have the following set for the "action" of each of the three tabs:

lxContainer('Departments');

lxContainer('Courses');

lxContainer('People');

Under Global settings my "item" looks like this...

<td class="TabStrip_Top"><div id="tlbMn[NAME]"><button><div onmouseover="this.style.cursor='pointer';" onmouseout="this.style.cursor='default';">[NAME]</div></button></div></td>[SEPERATOR]


Everything looks right to me, but maybe I am missing something, as this is the first time I have tried to use this. Any help is much appreciated.

Mike Rennick
mikerennick
Middleweight
Posts:55

04/03/2008 8:43 PM Alert 
duh...not sure how I missed the "general setting" of "include javascript utiltities"...but that was it.

Mike Rennick
You are not authorized to post a reply.
Forums > Bi4ce.Modules > Toolbar > Selected Item Class



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation