Struserlist = struserlist & "<a href = '# 'onclick = \" & chr (34 )&_
"Sendmsg ('" & usernick & "'); return false; \" & chr (34 )&_
"Class = 'l _ line'> <span class = lineinfo>" & usernick & "</span> </a>"
'StruserlistThe string is assigned to a form on another page to hide the text unit..
If (top.LineInfo.doc ument. forms. length = 1)
{
Top.LineInfo.doc ument. forms [0]. userlist. value = "<% = GetAppUserList () %> ";
If (top. MainFrame. mylayer! = Null)
Top. MainFrame. ShowLineInfo ();
}
Show in homepage Frame:
Function ShowLineInfo ()
{
Var userlist;
If (top.LineInfo.doc ument. forms. length = 1)
Userlist = top.LineInfo.doc ument. forms [0]. userlist. value
Else
Userlist = "<span class = 'lineinfo'>Welcome to the wonderful spring breeze! </Span> ";
Userlist = userlist + "<a href = '<% = path %>/listuser. asp'>" +
"<Span class = 'lineinfo'>Display list</Span> </a> <a href = '# 'onclick =' top. RefFrame. location = "+
"" <% = Path %>/refresh. asp? Stat = manu "'> <span class = 'lineinfo'>Refresh</Span> </a> ";
If (mylayer! = Null)
{
Mylayer. innerhtml = "";
Mylayer. filters [0]. Apply ();
Mylayer. innerhtml = userlist
Mylayer. filters [0]. Play ();
}
}