View file js/menu_drag_left.js

File size: 434B
<script language="JavaScript">
sta = -350
re = 1

function load_search()
{
	if(sta<=255)
	{
	sta = sta+10
	document.getElementById("reg_menu").style.left = sta
	setTimeout("load_search()",10)
	}
	else
	{
	re = 2
	}
}
function load_search_back()
{
	if(sta>=-350)
	{
	sta = sta-10
	document.getElementById("reg_menu").style.left = sta
	setTimeout("load_search_back()",10)
	}
	else
	{
	re = 1
	}
}
</script>