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, ...Max/Min script function to ContainerMax/Min script function to Container
Previous
 
Next
New Post
11/16/2009 1:58 AM
 

hi everyone I am trying to fix min and max button function to container in skin. i am trying to use dnncore.js container_maxmin function. but i am unable to do. please guide me in making min and max functionality to container.

i am using below code. plz correct if any mistakes are need any updates.

Thanks.

************************************************************************

 

<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="25" valign="top" class="titlebox_red"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="25" valign="middle" class="titlebox_red_left"><img src="spacer.gif" width="8" height="25" /></td>
                <td height="25" valign="middle"></td>
                <td height="25" valign="middle"></td>
                <td width="100%" valign="top" nowrap="nowrap"><span id="3670_lblTitle" class="title">Important Container&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>


</td>
                <td height="25" valign="middle"></td>
                <td height="25" valign="middle"><a id="3670" title="Minimize" href="" cookieid="" containerid="3670_Container" ><img id="3670_imgVisibility" title="Minimize" src="min.gif" alt="Minimize" border="0" /></a></td>
                <td height="25" valign="middle" class="titlebox_red_right"><img src="spacer.gif" width="8" height="25" /></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td valign="top" class="padtop"><div class="top"><div class="bottom"><div class="bottom_right"><div class="bottom_left"><div class="top_right"><div class="top_left"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td id="3670_ContentPane" align="center" class="content DNNAlignleft"><!-- Start_Module_3670 --><table id="3670_ModuleContent" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>
 <table id="3670_HtmlModule_lblContent" class="Normal" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>
  <p>I&rsquo;m the most important bit of the site, where everybody looks first.&nbsp;Then, as soon as you know that, your eyes decide to go off elsewhere.</p>
<p><strong><a href=""><img height="11" alt="" hspace="2" width="11" align="absMiddle" border="0" src="arrow_grey.gif" />Come back! Come back!</a><br />
</strong><strong><a href=""><img height="11" alt="" hspace="2" width="11" align="absMiddle" vspace="5" border="0" src="arrow_grey.gif" />Don't leave me stranded!</a></strong></p>
<p align="center"><a href=""><img class="show" height="26" alt="" hspace="60" width="100" vspace="2" border="0" src="spacer.gif" /></a></p>
 </td></tr></table>
<!-- End_Module_3670 -->
</td></tr></table></td>

                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="100%" valign="middle" nowrap="nowrap" style="line-height:1px;"></td>
                            <td valign="middle" nowrap="nowrap" style="line-height:1px; font-size:1px;"></td>
                            <td valign="middle" nowrap="nowrap" style="line-height:1px; font-size:1px;"></td>
                            <td valign="middle" nowrap="nowrap" style="line-height:1px; font-size:1px;"></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></div></div></div></div></div></div></td>
        </tr>
      </table>

****************************************************************************************

 
New Post
11/16/2009 4:26 AM
 

what is your issue with min/max? 

Please make sure, the Skin Object is included in container source and enabled in module settings.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/16/2009 4:37 AM
 

thnX for ur reply.

my isssue is minimizing and maximising the container. when i click container minimize button, container should minimize to its title. when again if i click maximize button container should be maximized. example in Text/Html module top right corner we have minimize button. same button functionality i am trying to container.

 
New Post
11/16/2009 5:22 AM
 

I still don't understand, Text/HTML does use a skin object in the container, to use it in your module, you simply need to specify visibility in Module settings.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/17/2009 12:31 AM
 

Hi sebastian

check this link http://www.dynnamite.co.uk/vision/Blue/Laptop/tabid/3866/Default.aspx

i am trying to make my container like above link page container "Small area of Space" (at bottom side containers) which has min/max button  at right side to its title.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Max/Min script function to ContainerMax/Min script function to Container


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