Показать сообщение отдельно
  #2 (permalink)  
Старый 24.07.2009, 20:21
jsch
 
Сообщений: n/a

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<style type="text/css">
#controlPanelOuter{
	position: relative;
	height: 200px;
	width: 834px;
}
#controlPanel{
	position: absolute;
	bottom: 0;
	height: 200px;
	width: 834px;
	color: #d3e0e7;
    background: #004874;
    overflow: hidden;
    display: none;
    z-index: 1;
}
#toolbar{
    top: 0;
    height: 56px;
    width: 834px;
    overflow: hidden;
    background: transparent url("top.png");
    position: relative;
    padding: 0;
    z-index: 2;
}
a{
    text-decoration: none;
    color: #0083c1;
}
p{
    color: #d3e0e7;
}
h1{
    color: #0083c1;
}
</style>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript">
<!--
$(document).ready(function(){
    $("#open").click(function(){
		$("div#controlPanel").slideDown("slow");
    });
 
    $("#close").click(function(){
		$("div#controlPanel").slideUp("slow");
    });
 
    $("#toolbar a").click(function(){
		$("#toolbar a").toggle();
    });
});
//-->
</script>
</head>
<body bgcolor="gray">
<div id="controlPanelOuter">
	<div id="controlPanel"></div>
</div>
<div id="toolbar">
	<table border="0" width="100%">
		<tr valign="top">
			<td align="right" width="72%">
				<p>Hello Guest!</p>
			</td>
			<td align="left">
				<p>
					<a id="open" class="open" href="#">Log In | Register&nbsp;</a>
					<a id="close" style="display: none;" class="close" href="#">Close Panel</a>
				</p>
			</td>
		</tr>
	</table>
</div>
</body>
</html>
Ответить с цитированием