Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...[TITLE] Font Color based on [VISIBILITY][TITLE] Font Color based on [VISIBILITY]
Previous
 
Next
New Post
1/14/2007 10:55 PM
 
Is it possible to make the font color of the module Title change based on the Visibility state?

I would like the Module Titles to go #CCCCCC when the module's visibility is collapsed.

I could use images and have a special container skin for each module...but I'm hoping for a more universal solution.
 
New Post
1/15/2007 10:50 AM
 

Cool Idea

I am doubtful but it may be possible with a clever JS or VB inline in the container so that it applies an override Head class with an ID around the < div id="ccchead">< td class="Head" nowrap....

so to change the Head class

      < td class="Head" nowrap>< span id="dnn_ctr538_dnnTITLE_lblTitle" class="Head">Enter Title< /span>
 < /td>

< td align="right" class="Head" width="1">< a onclick="if (__dnn_ContainerMaxMin_OnClick(this, 'dnn_ctr538_ModuleContent')) return false;" id="dnn_ctr538_dnnVISIBILITY_cmdVisibility" title="Minimize" containerid="538" cookieid="_Module538_Visible" href=" __doPostBack('dnn$ctr538$dnnVISIBILITY$cmdVisibility','')">< img id="dnn_ctr538_dnnVISIBILITY_imgVisibility" title="Minimize" src="/images/min.gif" alt="Minimize" border="0" />< /a>< /td>

 
New Post
1/15/2007 12:39 PM
 
Salaro,

Thanks for the quick response and possible solution. I've been continuing with just using replacement images for the min/max but I will try your example above.

Thanks again!
 
New Post
1/15/2007 1:01 PM
 
Hi

Please note that the code I posted is what portal outputs for the simplified container with just max/min codes

The wrapper and the necessary JS is what would do it.

The JS or VB script is not going to be easy to write.

Salar
 
New Post
1/15/2007 1:09 PM
 
Thanks for the clarification. I will stick with the images for now and see what I can come up with down the road.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...[TITLE] Font Color based on [VISIBILITY][TITLE] Font Color based on [VISIBILITY]


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out