Logged in user name using DHTML

HelloBrother

Senior member
Apr 10, 2001
653
0
0
I have this code as part of a hier menu..

<td valign=&quot;top&quot;>
<a href=&quot;?login&quot; login.src=getOverImage('m_login');&quot;
onMouseOut=&quot;mouseout(); login.src=getOutImage('m_login');&quot;>
<img src=&quot;[ImageDir]/login.gif/$FILE/login.gif&quot; border=0 name=login width=90></a>
</td>

Now, I want to toggle login and logoff buttons instead of just login. How to do that using just DHTML and/or JavaScript.

I could use @Username since I am using Domino but since I am also using Aptrix to host I cannot combine Formula and DHTML/JavaScript.