On Thursday 15 December 2005 10:53, Joerg wrote:
Hi Jörg

You may put the logout button/link into a div and set the div's style 
visibilty:hidden. After logging in use javascript from the mainFrame to set 
the visibility:visible.
If you use tables instead of divs there is another possibility:
You can set the display type of table elements via styles to 'none'. That 
means, that the element is hidden. With some javascript code you can change 
the display type easily. 

<TD id="logoutId" style="display:none"><a>logout</a></TD>
if(checkBrowser('msie')) //IE does not understand the display type table-cell
        document.getElementById(logoutId).style.display = 'block';
else
        document.getElementById(logoutId).style.display = 'table-cell';

Andreas

> Hi Gunna!
>
> Thank you for your help!
>
> I tried the javascript version, but the page isn't rendered again, so I
> don't see the button. If I reload the menu frame using the browser option
> 'reload frame', then the logout button appears.
>
> Do you know a solution to reload/render the menu frame from within the
> login method?
>
> Thank you!
>
> Jörg
>
>
> -------------------- m2f --------------------
>
> Sent from www.TapestryForums.com
>
> Read this topic online here: <<topic_link>>
>
> http://www.tapestryforums.com/viewtopic.php?p=12010#12010
>
> -------------------- m2f --------------------

-- 
DI (FH) Andreas Idl                        EV-i Informationstechnologie GmbH.
Softwareentwicklung                      Sebastian-Kneipp-Weg 17
[EMAIL PROTECTED]                        A-6020 Innsbruck/Austria
phone: ++43-512-284883-8 fax: ++43-720-699931

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to