Webmaster Forumu - Webmaster Zone

Geri git   Webmaster Forumu - Webmaster Zone > Webmaster Zone > Programlama Dilleri > HTML CSS DHTML
Şifrenizimi Unuttunuz? Bize Katılın!

Cevapla
Görüntüleme: 603 - Cevaplar: 0  
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 24-02-2007, 11:48:17
Alone - ait Kullanıcı Resmi (Avatar)
Alone Alone isimli üyemiz çevrimdışıdır. (Offline)
Zonekolik
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: İstanbul
Mesajlar: 1.308
iTrader: (11)
Tecrübe Puanı: 79
Puanları: 953
Alone is just really niceAlone is just really niceAlone is just really niceAlone is just really niceAlone is just really nice
Standart Sayfayı Animasyonlu Açmak

Kod:
<body><SCRIPT>

var width=document.body.clientWidth;

var height=document.body.clientHeight;



function doClickText(who,type,step,timeOut) {

document.getElementById(who).style.display="none";

if(type==0) {

reveal('revealDiv1',step,timeOut,0);

reveal('revealDiv2',step,timeOut,1);}

if(type==1) {

reveal('revealDiv1',step,timeOut,2);

reveal('revealDiv2',step,timeOut,3);}}

function reveal(who,step,timeOut,type) {

if(type==0)

var where="top";

if(type==1)

var where="bottom";

if(type==2)

var where="left";

if(type==3)

var where="right";

eval('var temp=document.getElementById(who).style.'+where);

temp=parseInt(temp);

if(type==0||type==1)

var checkWith=height/2;

if(type==2||type==3)

var checkWith=width/2;

if(-temp<checkWith) {

temp-=step;

eval('document.getElementById(who).style.'+where+'=temp;');

setTimeout("reveal('"+who+"',"+step+",'"+timeOut+"',"+type+")", timeOut);}

else {

document.getElementById(who).style.display="none";

document.body.scroll="yes";}}

function initReveal(type,div1bg,div2bg,div1bw,div2bw,div1bc,div2bc,step,timeOut,click) {

if(type==0) {

var bWhere1="border-bottom";

var bWhere2="border-top";

var putZero1="top:0px; left:0px";

var putZero2="bottom:0px; left:0px";

document.write('<div id="revealDiv1" style="z-index:100; display:block; position:absolute; '+putZero1+'; background:'+div1bg+' ; width:'+(width)+'; height:'+(height/2)+'; '+bWhere1+':'+div1bc+' solid '+div1bw+'px"></div>');

document.write('<div id="revealDiv2" style="z-index:100; display:block; position:absolute; '+putZero2+'; background:'+div2bg+' ; width:'+(width)+'; height:'+(height/2)+'; '+bWhere2+':'+div2bc+' solid '+div2bw+'px"></div>');

if(!click) {

reveal('revealDiv1',step,timeOut,0);

reveal('revealDiv2',step,timeOut,1);}



else {

clickText(type,step,timeOut);}}



if(type==1) {

var bWhere1="border-right";

var bWhere2="border-left";

var putZero1="top:0px; left:0px";

var putZero2="top:0px; right:0px";

document.write('<div id="revealDiv1" style="z-index:100; display:block; position:absolute; '+putZero1+'; background:'+div1bg+' ; width:'+(width/2)+'; height:'+(height)+'; '+bWhere1+':'+div1bc+' solid '+div1bw+'px"></div>');

document.write('<div id="revealDiv2" style="z-index:100; display:block; position:absolute; '+putZero2+'; background:'+div2bg+' ; width:'+(width/2)+'; height:'+(height)+'; '+bWhere2+':'+div2bc+' solid '+div2bw+'px"></div>');

if(!click) {

reveal('revealDiv1',step,timeOut,2);

reveal('revealDiv2',step,timeOut,3);}

else {

clickText(type,step,timeOut);}}

function clickText(type,step,timeOut) {

document.write('<div id="clickText" style="z-index:101; display:block; position:absolute; top:'+(height/2-clickh/2-clickb)+'; left:'+(width/2-clickw/2-clickb)+'"><table style="border:'+clickc+' solid '+clickb+'px; background:'+clickbg+' ;width:'+clickw+'px; height:'+clickh+'; '+clickFont+'; cursor:hand; cursor:pointer" onClick="doClickText(\'clickText\','+type+','+step+','+timeOut+')"><tr><td align="middle">'+clickt+'</td></tr></table></div>');}}

</SCRIPT>

<SCRIPT>

var clickw=170; // Width

var clickh=20; // Height

var clickb=2; // Border width

var clickc="#CCFFCC"; // Border color

var clickbg="#000000"; // Background color

var clickt="Siteye girmek icin tiklayin."; // Text to display

var clickFont="font-family:Tahoma,arial,helvetica; font-size:10pt; font-weight:bold; color:#FF0000"; // The font style of the text

new initReveal(0,'#CCFFCC','#CCFFCC',1,1,'#00FF00','#000000',3,10,true);

</SCRIPT><body>
__________________
Kişiselite - Gitarist
Alıntı ile Cevapla
Cevapla



Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
sayfayı yan kaydırmak istiyorum HostingTR JAVA / JSP / JS / Diğer 0 19-07-2007 20:22:51
Userbar Yapımı (Animasyonlu) K@BUS Photoshop, Corel, Freehand, Fireworks 0 16-06-2007 10:16:16
geçersiz sayfayı anasayfaya nasıl yönlendiririm? Senteros PHP 6 29-05-2007 14:00:55
''Sayfayı Titret'' Eklentisi f!r4t SMF 2 14-02-2007 16:32:41
phpbb de rss ile konu açmak? noxious PhpBB 4 15-01-2007 17:59:26


oyun , kontör , türkçe dizin

Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 21:45:18 .


Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Zone Org | 2006-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125