11-02-2012, 02:10
Tasarım; TexasDesign & Ozan CAN
Kodlama: TexasDesign
Demo için tıklayınız.
Kodlar İçin;
T.ÜSTÜ;
Kod:
<center><bilgi><style type="text/css">
#yapiyoruztopbar{
position:absolute;
border: 1px solid black;
padding: 2px;
background-color: lightyellow;
width: 150px;
heihgt: 250px;
visibility: hidden;
z-index: 100;
}
</style> <script type="text/javascript">
/***********************************************
* Floating Top Bar script- © Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* www.texasdesign.tr.gg
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("yapiyoruztopbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("yapiyoruztopbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.right=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("yapiyoruztopbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
<div align="center"><font color="#000000"> </font>
<div id="yapiyoruztopbar"><font color="#000000">Tamamen GrafikDestek Tarafından hazırlanmıştır. Grafik ve Kodlama TexasDesign.tr.gg Aittir.<span style="text-decoration: underline;"></span> <br />
</a><a onClick="closebar(); return false" href=""><img border="0" src="" alt="" /></a> </font></div>
</div></bilgi><div class="sayfa" id="sayfa">
<p> </p>
<p> </p>
<pre class="style1"></pre>
</div>
<div id="duyuru">
<table width="766" height="30" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="10"> </td>
<td width="707"><marquee class="kyazi" onmouseover="this.stop()" onmouseout="this.start()">
GrafikDestek.net.tc herkezin Grafik ve Destek Platformuna sizde davetlisiniz?
</marquee></td>
<td width="37"> </td>
</tr>
</table>
</div>
<div id="menu_giris"></div>
<div id="icerik">
<table width="900" height="283" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="42"> </td>
<td width="642" align="left" valign="top"><div id="content">
T.ALTI;
Kod:
</div></td>
<td width="33"> </td>
<td width="141" align="left" valign="top"><table width="141" height="237" border="0" cellpadding="0" cellspacing="1">
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü </a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü</a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü</a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü</a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü</a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü</a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="#URL">Menü</a></td>
</tr>
<tr>
<td align="center" valign="bottom"><a href="http://texasdesign.tr.gg/">TexasDesign.tr.gg</a></td>
</tr>
</table></td>
<td width="42"> </td>
</tr>
</table>
</div>
<div id="copright">
<table width="845" height="46" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="11" height="46"> </td>
<td width="669" align="center" valign="bottom"> </td>
<td width="155" align="center" valign="bottom"> </td>
<td width="10"> </td>
</tr>
</table>
</div>
</center>
CSS KoDU;
Kod:
h1#title{display: none;}
h2#title span {display: none;}
div.header{display: none;}
li.nav_element{list-style-type: none;}
li.nav_element{display: none;}
body {
background-color: #4ca3cb;
}
.sayfa {
height: 156px;
width: 900px;
margin-right: auto;
margin-left: auto;
background-image: url(http://www.yukleresim.com/di-7KQK.png);
}
#duyuru {
background-image: url(http://www.yukleresim.com/di-8NEK.png);
height: 35px;
width: 900px;
}
.style1 {
font-size: x-large;
font-weight: bold;
}
#menu_giris {
background-image: url(http://www.yukleresim.com/di-KBYB.png);
height: 65px;
width: 900px;
margin-right: auto;
margin-left: auto;
}
#icerik {
background-image: url(http://www.yukleresim.com/di-CD6X.png);
height: auto;
width: 900px;
margin-right: auto;
margin-left: auto;
}
#copright {
background-image: url(http://www.yukleresim.com/di-4ARK.png);
height: 59px;
width: 900px;
margin-right: auto;
margin-left: auto;
}
body,td,th {
font-family: Century Gothic sans-serif;
font-size: 13px;
color: #000000;
font-weight: bold;
}
a {
font-family: Century Gothic, sans-serif;
font-size: 12px;
color: #CCCCCC;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #CCCCCC;
}
a:hover {
text-decoration: none;
color: #FF6600;
}
a:active {
text-decoration: none;
color: #CCCCCC;
}
table {margin-left: auto;margin-right: auto}