Search:
tqExpert Help
print
|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Outer Template Sample Code

Towards transformation of the HTML version of an outer template to a tqTag version, the following table displays common code samples. See also tqTag Reference.

Substitution of tqTags for HTML

Description HTML Only HTML and tqTags
<head> <DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Site — Home Page</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/hp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<tqtag type="settings"
imageDirectory="images">
<!-- By default, the software looks for one css file named style.css. For other implementations, use the <link> HTML tag here. -->
</tqtag>
</head>
<body>
Logo <div class="logo">
<a href="index.html">
<img src="images/logo.gif" alt="logo" /> </a>
</div>
<div class="logo">
<tqtag type="logo" name="logo0">
<a href="?">
<img src="" alt="@alt@" title="@name@" /> </a>
</tqtag>
</div>
Menu div class="nav_top">
<ul>
<li><a href="index.html" class="selected">Home Page</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="profile_special.html">Why Iron Profiles</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="profile.html">Products</a></li>
<li class="lastLI"><a href="product_03.html">Contact Us</a></li>
</ul>
</div> <!--nav_top-->
<div class="nav_top">
<ul>
<tqtag type="menu" name="menu0" title="Main menu" htmlObject="li" htmlObjectClass="" htmlObjectClassLast="lastLI" objectType="a" objectClass="" selectedClass="selected" delimiter="" lastClass="" showText="1">
</tqtag>
</ul>
</div> <!--nav_top-->
Language Selection <div class="lang">
Choose your language:
<a href="#" class="current">
English</a> | <a href="#">Spanish</a>
</div><!--lang-->
<div class="lang">@chooseLang@:
<tqtag type="listOfLang" name="listOfLang" htmlObject="a" showCurrent="0" showText delimiter=" | ">
</tqtag>
</div><!--lang-->
Text <div>
All rights reserved to My Company
</div>
<div>
<tqtag type="tText" name="tText0">
@content@
</tqtag>
</div>
End Page </body>
</html>
</body>
</html>

User Notes

  Add Note

Topic: Outer Template Sample Code