Posts Tagged 'programming'
Have you seen the web as okezone.com, detik.com where there are no ads on top or below which, if the scroll down or up tetep still attached above? or statusbar on facebook attached at the bottom?
was how to make it simple:
<! DOCTYPE HTML PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> </ title><style type="text/css">
# Toolbar (
Background: # FBBBD1 none repeat scroll 0%;
border: 1px solid # CC0000;
position: absolute;
padding-top: 2px;
left: 0pt;
position: fixed! Important;
position: absolute;
top: 0pt;
width: 100%;
z-index: 1000;
)* Html # toolbar (position: absolute; top: 0px;)
</ Style><script type="text/javascript">
close_toolbar function () (
x = document.getElementById ('toolbar');
x.style.display = "none";
)
</ Script><body>
<div id="toolbar">
<input type="button" id="btn-close" value="X" onclick="close_toolbar()" />
Toolbar align="center"> <span attached on top. </ span>
</ Div><?
for ($ i = 1; $ i <50; $ i + +) (
echo "dummy $ i <br /> \ n";
)
?></ Body>
</ Html>



