Posted: 01/19/2005 10:59:36 AM
Reply Quoted
Hello Jason,
Please have close look at the block of code (default/common/pagetop.tpl) posted below:
<table border="0" cellspacing="0" cellpadding="0">
<tr class="head-nav">
<td><a onmouseover="highlight_link('homelink','#ffffff');" onmouseout="highlight_link('homelink','');" href="<inp:m_template_link _Template="index" _Category=0 />"><img src="img/ic_head_home.gif" width="24" height="24" alt="" /></a></td>
<td><a id="homelink" href="<inp:m_template_link _Template="index" _Category=0 />"><inp:m_language _Phrase="lu_home" /></a></td>
<td><img src="img/ic_head_separ.gif" width="11" height="24" alt="" /></td>
<inp:mod_include _Template="menubar_element" />
<td><a onmouseover="highlight_link('accountlink','#ffffff');" onmouseout="highlight_link('accountlink','');" href="<inp:m_access_template_link _Template="my_account" _System="1" _DeniedTemplate="login" _Perm="login" />"><img src="img/ic_head_myaccount.gif" width="24" height="24" alt="" /></a></td>
<td><a id="accountlink" href="<inp:m_access_template_link _Template="my_account" _System="1" _DeniedTemplate="login" _Perm="login" />"><inp:m_language _Phrase="lu_myaccount" /></a></td>
<td><img src="img/s.gif" width="10" height="1" alt="" /></td>
</tr>
</table>
There is a
head-nav class used in a top <TR> which controls the colours for that entire section. Please notice, that we are using JavaScript function in order to change the colours on
MouseOver event right the code. Also, pay attention to
<inp:mod_include _Template="menubar_element" />
which finds and prints out the
menubar_element from the installed modules. For ecample for In-link it would be under "default/inlink/menubar_element.tpl". The same idea for the rest of the installed/available modules.
As I already posted in some other place here on the forum - In-portal is much more advanced system comparing to the In-link2. Of course it requires a little more skills to customize it, but it's very doable for most of you! You really can do amazing things with In-portal.
Thank you.