Code: Select all
with(ScrollingSampStyle=new mm_style()){
bordercolor="transparent";
borderstyle="transparent";
offbgcolor="#E2DBE9";
onbgcolor="#E2DBE9";
oncolor="#8363A7";
offcolor="#8363A7";
borderwidth=0;
fontfamily="Tahoma,Helvetica,Verdana";
fontsize="70%";
fontstyle="normal";
fontweight="normal";
padding=0;
}
var windowWidth = document.body.offsetWidth - 22;//-22 is to take into acct the scrollbar
var windowHeight = document.body.offsetHeight - 22;
with(milonic=new menuname("logout_menu")){
alwaysvisible=1;
followscroll=1;
border=5;
left=0;
margin=0;
orientation="horizontal";
style=ScrollingSampStyle;
menuwidth="100%";
menuheight="100%";
top=0;
overfilter="Alpha(opacity=75);";
menualign="right";
aI("text=`<table width='" + windowWidth + "' height='" + windowHeight + "' border=0><tr valign='center' align='center'><td><h2><b><font color='black'>Your session has been inactive for '" + get_logout_time() + "' minutes.<br> You will be logged out in <span id='timeout_span'>60</span> seconds.<br><br><input type='button' style='border-color: #DDDDDD; font-weight:bold; font-size=15; background-image: url(/images/function-button_bkgd.gif); border-style: inset' ID='logout_button1' value='click here to cancel logout' onClick='reset_logout();'></td></tr></table>`;type=form;align=bottom");
}
Code: Select all
function show_saving_info(onOff, name) {
var menuNum = getMenuByName(name);
_m[menuNum][7] = onOff;
menuDisplay(menuNum,onOff);
}
show_saving_info(0, 'logout_menu');
Then when I go to show the menu again using the same function call, exept the boolean is set to 1
Code: Select all
show_saving_info(1, 'logout_menu');
1) The menu actually does disappear (perfect!)
2) All the form elements that are on the page are no longer editable, and select boxes don't show up at all!
It's as though the menu is on longer visable but still resides on top of everything on the page (except the other MMs).
I have read this post http://milonic.com/forum/viewtopic.php?t=2747
and I've tried drawing my menus outside of all table tags as well as in both the <head> and <body>, no change.
In firefox this there is not problem at all. Am I doing something wrong with hiding the menu??
Thanks in advance for the help,
Cheers!