Header Example

Web Wrapper Header Example

Example of using the Web Wrapper:

<div  class="authoringRegion">
<div class="siteActionMenu">
<publishingsiteaction:siteactionmenu runat="server" />
</div>
<div class="console">
<publishingconsole:console runat="server" />
</div>
</div>
<div class="TopTopNavPlace">
<div class="sharepointLogin">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<a title="" onclick="increaseFontSize();" href="javascript:void(0)" class="ASize"><b>
<img src="/Style%20Library/Avectra/AvectraOrange/Largetext.gif" border="0" /></b></a></td>
<td width="2">
</td>
<td>
<a title="" onclick="decreaseFontSize();" href="javascript:void(0)" class="ASize"><b>
<img src="/Style%20Library/Avectra/AvectraOrange/SmallText.gif" border="0" /></b></a></td>
<td width="2">
</td>
<td>
<a title="" onclick="resetFontSize();" href="javascript:void(0)" class="ASize"><b>
<img src="/Style%20Library/Avectra/AvectraOrange/RegularText.gif" border="0" /></b></a></td>
<td width="10" align="center">
|</td>
<td class="ms-globallinks">
<a href="/">Home</a></td>
<td width="10" align="center">
|</td>
<td class="ms-globallinks">
<a href="/About%20Us/Pages/Contactus.aspx">Contact Us</a></td>
<td width="10" align="center">
|</td>
<td class="ms-globallinks">
<sharepoint:delegatecontrol controlid="GlobalSiteLink1" scope="Farm" runat="server" />
</td>
<td class="ms-globallinks">
<sharepoint:delegatecontrol controlid="GlobalSiteLink2" scope="Farm" runat="server" />
</td>
<td class="ms-globallinks">
<wssuc:welcome id="explitLogout" runat="server" />
</td>
</tr>
</table>
</div>
</div>
<div class="ASiteHeader">
<table cellpadding="0" cellspacing="0" class="siteHeader" width="100%">
<tr valign="middle">
<td class="logoImage">
<a href="<% $SPUrl:~sitecollection/ %>" runat="server" accesskey="1">
<img src="/Style%20Library/Avectra/AvectraOrange/logo_new.gif" border="0" alt="ASTC - Association Software Technology Council" /></a></td>
<td class="logo">
<a href="<% $SPUrl:~sitecollection/ %>" runat="server" accesskey="1"><span class="logoLine1">
ASTC </span><span class="logoLine2">Association Software Technology Council </span>
</a>
</td>
<td valign="top" width="50%">
</td>
<td class="loginAndSearch">
<spswc:searchboxex id="searchBox" querypromptstring="Enter search keywords" textbeforetextbox="SEARCH&nbsp;"
goimageurl="/Style Library/Avectra/AvectraOrange/ewebSearch.gif" goimageactiveurl="/Style Library/Avectra/AvectraOrange/ewebSearch.gif"
dropdownmode="HideScopeDD" searchresultpageurl="/searchcenter/pages/results.aspx"
suppresswebpartchrome="true" runat="server" __webpartid="{BD3F4F5F-B0A9-48EE-A360-4675C0FDE0BE}"
webpart="true" />
<div style="display: none;">
<asp:contentplaceholder id="PlaceHolderSearchArea" runat="server"></asp:contentplaceholder>
</div>
<publishingvariations:variationslabelmenu id="labelmenu1" runat="server" />
<div class="AAdvSearch">
<a href="/SearchCenter/Pages/advanced.aspx">Advanced Search</a></div>
</td>
</tr>
</table>
</div>
<div class="topNavContainer">
<div class="AglobalNav">
<sharepoint:aspmenu id="GlobalNav" runat="server" datasourceid="SiteMapDataSource1"
orientation="Horizontal" staticdisplaylevels="1" maximumdynamicdisplaylevels="0"
staticsubmenuindent="0" dynamichorizontaloffset="-1" dynamicverticaloffset="-7"
staticenabledefaultpopoutimage="false" itemwrap="false"> <StaticMenuItemStyle CssClass="topNavItem" ItemSpacing="0px"></StaticMenuItemStyle>
<DynamicHoverStyle CssClass="topNavFlyOutsHover"/>
<DynamicMenuStyle CssClass="topNavFlyOuts" />
<StaticSelectedStyle CssClass="topNavBarSelected" ItemSpacing="0px" />
<DynamicMenuItemStyle CssClass="topNavFlyOutsItem" />
<StaticHoverStyle CssClass="topNavHover"/>
</sharepoint:aspmenu>
<publishingnavigation:portalsitemapdatasource id="siteMapDataSource1" runat="server"
sitemapprovider="CombinedNavSiteMapProvider" enableviewstate="true" startfromcurrentnode="true"
startingnodeoffset="0" showstartingnode="false" treatstartingnodeascurrent="true"
trimnoncurrenttypes="Heading" />
<div class="headerline">
</div>
</div>
</div>