Konuyu Oyla:
  • Toplam: 1 Oy - Ortalama: 5
  • 1
  • 2
  • 3
  • 4
  • 5
TD | Turuncu Blog Tasarımı
#1
di-4YBK.png

Tasarım; TexasDesign
Demo için tıkla..

T.ÜSTÜ
Kod:
<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"></font></div>
</div></bilgi>
<div id="sayfa">
  <div id="baslik"></div>
  <div id="icerik">
    <div id="menu">
      <table width="583" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="76" align="center"><a href="#URL">Ana Sayfa</a> </td>
          <td width="85" align="center"><a href="#URL">Hakkımızda</a></td>
          <td width="92" align="center"><a href="#URL">FORUM</a></td>
          <td width="92" align="center"><a href="#URL">Resim</a></td>
          <td width="104" align="center"><a href="#URL">Video</a></td>
          <td width="96" align="center"><a href="#URL">M&uuml;zikler</a></td>
          <td width="84" align="center"><a href="URL/">Menü</a></td>
        </tr>
      </table>
    </div>
    <table width="650" height="525" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="24">&nbsp;</td>
        <td width="600" align="left" valign="top"><div="content">

T.ALTI
Kod:
</div></td>
        <td width="26">&nbsp;</td>
      </tr>
    </table>
  </div>
  <div id="copright">
    <table width="650" height="43" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="163" height="43" align="center" valign="bottom">&nbsp;</td>
        <td width="312" align="center" valign="bottom"><a href="/"></a></td>
      </tr>
    </table>
  </div>
</div>

CSS
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,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #CCCCCC;
    font-weight: bold;
}
body {
    background-color: #7af5a0;
}
a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #CCCCCC;
    font-weight: bold;
}
a:link {
    text-decoration: none;
    color: #006d91;
}
a:visited {
    text-decoration: none;
    color: #00BBF9;
}
a:hover {
    text-decoration: none;
    color: #33CC33;
}
a:active {
    text-decoration: none;
    color: #00BBF9;
}
#sayfa {
    width: 650px;
    margin-right: auto;
    margin-left: auto;
}
#baslik {
    background-image: url(http://www.yukleresim.com/di-EU7Q.png);
    height: 202px;
    width: 650px;
}
#icerik {
    background-image: url(http://www.yukleresim.com/di-A9CW.png);
    height: auto;
    width: 650px;
}
#copright {
    background-image: url(http://www.yukleresim.com/di-6H67.png);
    height: 67px;
    width: 650px;
}
#menu {
    padding: 2px;
    height: 35px;
    width: 650px;
}
table {margin-left: auto;margin-right: auto}
Ara
Cevapla
#2
Başarılı Smile
Cevapla
#3
teşekkürler Smile
Ara
Cevapla


Hızlı Menü:


Şu anda bu konuyu okuyanlar: 1 Ziyaretçi


10tl.net Destek Forumu -