Skip to Content
0
Apr 24, 2007 at 03:41 PM

Adding new Link in toolarea of portal masthead

32 Views

Hi,

we modified the HeaderiView.jsp from com.sap.portal.navigation.masthead.par in nw04. We migrated to nw04s and had to do the changes again.

The only thing we modified is, to add a new link which starts an iview, showing a sitemap. This works fine, but the layout of the new link is not the same as the others: The new link is not in the same line as the 3 standard links. It is centered, the three old ones appox. 1 or 2. pixels "lower".

Here is my "coding":

<TD class="prtlHeaderFunctionsTable">

<TABLE border="1" cellspacing="0" cellpadding="0"

class="prtlHeaderFunctionsContainer" height="100%">

<TR>

<TD nowrap ><hbj:link id="SitemapLink" tooltip="<%=sitemapTooltipStr%>" linkDesign="FUNCTION" reference="<%=SITEMAP_URL%>"><hbj:textView nested="true" text="<%=sitemapTextStr%>"/></hbj:link></TD>

<TD nowrap id="helpPortalSep" class="prtlHdrSep"></TD>

<%

if (showHelpLink)

{ %>

<TD nowrap >

<!--<hbj:link id="HelpLink" tooltip="<%=helpTooltipStr%>" linkDesign="FUNCTION" reference="javascript:openHelp();"><hbj:textView nested="true" text="<%=helpTextStr%>"/></hbj:link> -->

<hbj:link id="HelpLink" tooltip="<%=helpTooltipStr%>"

linkDesign="FUNCTION" reference="#">

<% if (!isPreview) { HelpLink.setOnClientClick("javascript:openHelp();");} %>

<hbj:textView nested="true" text="<%=helpTextStr%>"/>

</hbj:link>

</TD>

....

Any ideas?