Location: PHPKode > scripts > TinyButStrong > examples/tbs_us_examples_prmcomm.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TinyButStrong - Example of parameter comm</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="./tbs_us_examples_styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Example of parameter <span class="text-prm">comm</span></h1>
<div id="main-body">
  <div class="w3cinfo"> this TBS template is W3C compliant <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" height="31" width="88" style="border:none;" /></a> </div>
  <div id="example">
    <p>The <span class="text-prm">comm</span> parameter gives a supplementary comfort for designing a Template using a visual HTML editor (such as Dreamweaver or FrontPage). It enables you to enlarge the bounds of a locator to the bounds of the HTML comment (or any Xml/Html tag) which surround it.</p>
    <h2>With parameter &quot;comm&quot;</h2>
    <p>It is now 
      <!-- [onshow..now;frm='hh:nn:ss';comm]
The text outside the locator (like this one)  will be deleted after the merge.--> </p>
    <h2> Without  parameter &quot;comm&quot;</h2>
    <p>It is now [onshow..now;frm='hh:nn:ss'] </p>
    <p>The merge result is identical with or without the 'comm' parameter. You can notice that the locator with  parameter <span class="text-prm">comm</span> is visible only on the HTML source of the template. </p>
  </div>
</div>
</body>
</html>
Return current item: TinyButStrong