All pastes #460114 Raw Edit

Miscellany

public text v1 · immutable
#460114 ·published 2007-04-26 21:20 UTC
rendered paste body
function showDiv(){
	if(document.getElementById){
		document.getElementById('LoadingPage').style.visibility= 'visible';
	}
	else{
		if(document.layers){
			document.LoadingPage.visibility = 'visible'; //netscape 4+
		}
		else{
		document.all.LoadingPage.style.visibility = 'visible';
		}//end else
	}//end else
	return;
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}



<div id="LoadingPage"  style=" visibility: hidden; filter:alpha(opacity=100); opacity: 0.75; -moz-opacity:0.75; position:absolute; top:400px; left:50%; margin-left: -280px; width: 500px; z-index:5001; border: 1px solid black; padding:10px; background:#FFFFFF; font-weight: bold; font-size:14px; FONT-FAMILY: Verdana; text-align: center; white-space:nowrap; color:#000000;">Loading Requested Page<br><img alt="processing" src="../images/ajax-loader.gif"><br>
  <noscript>
  ALERT: We have detected that your browser<br>
  does not have JavaScript enabled. Please<br>
  enable JavaScript, or upgrade your browser<br>
  to best view this IMVU home page.
  </noscript>
</div>

<form name="form1">
                            <select name="SubMenu" class="p2" onChange="MM_jumpMenu('parent',this,0)" >
                            <option selected value="gDept_comp_by_hour.jsp?id=31965&p_session_id=eeae9e898f"  onClick="showDiv()" >Compliance by Departure Hour </option>
                            <option  value="gDept_comp_by_dcenter.jsp?id=31965&p_session_id=eeae9e898f" onClick="showDiv()">Compliance by Departure Center </option>

                            <option value="gDept_comp_by_major.jsp?id=31965&p_session_id=eeae9e898f" onClick="showDiv()">Compliance by Major </option>
			    </select>
                          </form>