Expand|Select|Wrap|Line Numbers
- //~~~~~ Display search box ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- function showPopSearch( ) {
- if ( document.getElementById("popSearch").style.visibility == "hidden" ) {
- document.getElementById("popSearch").style.backgroundColor = "#E4BF87";
- document.getElementById("popSearch").style.borderStyle = "ridge";
- document.getElementById("popSearch").style.borderWidth = "5px";
- document.getElementById("popSearch").style.borderColor = "orange";
- document.getElementById("popSearch").style.zIndex = "99";
- document.getElementById("popSearch").style.visibility = "visible";
- document.getElementById("popSearch").style.overflow = "hidden";
- //to make this brief showGetSearch() is not shown here
- showGetSearch( );
- //I have to use this timeout or it will run right past the giveSeachFocus( )
- var TimeoutID = setTimeout("giveSearchFocus()", 150);
- }
- }
- //~~~~~ Give Search element focus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- function giveSearchFocus(){
- document.getElementById("SEARCH").select();
- document.getElementById("SEARCH").focus();
- }