---+!! !SnazzyRoundedCornersContrib
<!--
One line description, required for extensions repository catalog.
   * Set SHORTDESCRIPTION = Add snazzy curved bordered boxes (with INCLUDED content) to TWiki topics
-->
%SHORTDESCRIPTION%

%STARTINCLUDE%<style type="text/css">
#xsnazzy%IDSHOW% qh1, #xsnazzy%IDSHOW% qh2, #xsnazzy%IDSHOW% p {margin:0 10px; letter-spacing:1px;}
#xsnazzy%IDSHOW% qh1 {font-size:2.5em; color:#fff;}
#xsnazzy%IDSHOW% qh2 {font-size:2em;color:#06a; border:0;}
#xsnazzy%IDSHOW% p {padding-bottom:0.5em;}
#xsnazzy%IDSHOW% qh2 {padding-top:0.5em;}
#xsnazzy%IDSHOW% {background: transparent; margin:1em;}
.xtop%IDSHOW%, .xbottom%IDSHOW% {display:block; background:transparent; font-size:1px;}
.xb1%IDSHOW%, .xb2%IDSHOW%, .xb3%IDSHOW%, .xb4%IDSHOW% {display:block; overflow:hidden;}
.xb1%IDSHOW%, .xb2%IDSHOW%, .xb3%IDSHOW% {height:1px;}
.xb2%IDSHOW%, .xb3%IDSHOW%, .xb4%IDSHOW% {background:%BGCOLOR%; border-left:1px solid %BORDERCOLOR%; border-right:1px solid %BORDERCOLOR%;}
.xb1%IDSHOW% {margin:0 5px; background:%BORDERCOLOR%;}
.xb2%IDSHOW% {margin:0 3px; border-width:0 2px;}
.xb3%IDSHOW% {margin:0 2px;}
.xb4%IDSHOW% {height:2px; margin:0 1px;}
.xboxcontent%IDSHOW% {display:block; background:%BGCOLOR%; border:0 solid %BORDERCOLOR%; border-width:0 1px;padding-left:8px;padding-right:8px;}
</style>
<div  style="margin-bottom:0px;margin-left:2px;margin-right:2px;display:block; overflow:hidden;float:%FLOAT%;width:%WIDTH%;height:%HEIGHT%;">
<div id="xsnazzy%IDSHOW%">
<b class="xtop%IDSHOW%">
<b class="xb1%IDSHOW%">
</b><b class="xb2%IDSHOW%">
</b><b class="xb3%IDSHOW%">
</b><b class="xb4%IDSHOW%"></b></b>
<div class="xboxcontent%IDSHOW%" >
<div>
%INCLUDE{"%TOPICTOSHOW%" %IF{"defined SECTION AND $SECTION != ''" then="section=\"%SECTION%\""}% warn="%WARN%"}%
</div>
  <span align="right"><font size="-6">Source: %TOPICTOSHOW% %IF{"defined SECTION" then="Section: %SECTION%"}%</font></span>
</div>
<b class="xbottom%IDSHOW%">
<b class="xb4%IDSHOW%">
</b><b class="xb3%IDSHOW%">
</b><b class="xb2%IDSHOW%">
</b><b class="xb1%IDSHOW%"></b></b>
</div>
</div>%STOPINCLUDE%


%TOC%

---++ Usage
__Note:__ Snazzy curved box with thanks from http://cssplay.co.uk/boxes/snazzy.html

usage:
<verbatim>
%INCLUDE{
  "%SYSTEMWEB%.SnazzyRoundedCornersContrib" 
  TOPICTOSHOW="WebTopicList" 
  BORDERCOLOR="%WEBBGCOLOR%" 
  BGCOLOR="#FAFAFA"
  FLOAT="right" 
  WIDTH="300px" 
  HEIGHT="500px"
  IDSHOW="unique"
  SECTION=""
}%
</verbatim>

---++ Examples

Settings for demoing on this topic
   * Set BORDERCOLOR=#929234
   * Set BGCOLOR=%WEBBGCOLOR%
   * Set FLOAT = right
   * Set WIDTH = 350px
   * Set HEIGHT = 500px
   * Set IDSHOW = 
   * Set TOPICTOSHOW=Plugins.SearchByTags

---++ Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server where TWiki is running.

Like many other TWiki extensions, this module is shipped with a fully
automatic installer script written using the Build<nop>Contrib.
   * If you have TWiki 4.2 or later, you can install from the =configure= interface (Go to Plugins->Find More Extensions)
      * See the [[http://twiki.org/cgi-bin/view/Plugins/BuildContribInstallationSupplement][installation supplement]] on TWiki.org for more information.
   * If you have any problems, then you can still install manually from the command-line:
      1 Download one of the =.zip= or =.tgz= archives
      1 Unpack the archive in the root directory of your TWiki installation.
      1 Run the installer script ( =perl &lt;module&gt;_installer= )
      1 Run =configure= and enable the module, if it is a plugin.
      1 Repeat for any missing dependencies.
   * If you are *still* having problems, then instead of running the installer script:
      1 Make sure that the file permissions allow the webserver user to access all files.
      1 Check in any installed files that have existing =,v= files in your existing install (take care *not* to lock the files when you check in)
      1 Manually edit !LocalSite.cfg to set any configuration variables.

%IF{"defined 'SYSTEMWEB'" else="<div class='twikiAlert'>%X% WARNING: SYSTEMWEB is not defined in this TWiki. Please add these definitions to your %MAINWEB%.TWikiPreferences, if they are not already there:<br><pre>   * <nop>Set SYSTEMWEB = %<nop>TWIKIWEB%<br>   * <nop>Set USERSWEB = %<nop>MAINWEB%</pre></div>"}%


---++ Contrib Info

|  Contrib Author(s): | TWiki:Main.SvenDowideit |
|  Copyright: | &copy; 2007 SvenDowideit@distributedINFORMATION.com |
|  License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
|  Contrib Version: | 16828 (12 Dec 2008) |
|  Change History: | <!-- versions below in reverse order -->&nbsp; |
|  May 2008: | add sectional INCLUDE support |
|  Jul 2007: | initial release |
|  Dependencies: | None |
|  Contrib Home: | http://twiki.org/cgi-bin/view/Plugins/SnazzyRoundedCornersContrib |
|  Feedback: | http://twiki.org/cgi-bin/view/Plugins/SnazzyRoundedCornersContribDev |
|  Appraisal: | http://twiki.org/cgi-bin/view/Plugins/SnazzyRoundedCornersContribAppraisal |

__Related Topics:__ %TWIKIWEB%.TWikiContribs, %TWIKIWEB%.DeveloperDocumentationCategory, %TWIKIWEB%.AdminDocumentationCategory, %TWIKIWEB%.TWikiPreferences

<!-- Do _not_ attempt to edit this topic; it is auto-generated. Please add comments/questions/remarks to the feedback topic on twiki.org instead. -->



