Programalama > HTML

Etiketler: sitenize, html, kodlar

Ort. 0
Puan ver:
De?i?ik Bir ?ekilde Açylan Pencereler
----------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<title>Untitled</title>
<script>
<!--


var winheight=100
var winsize=100
var x=5

function openwindow(thelocation){
temploc=thelocation
if (!(window.resizeTo&&document.all)&&!(window.resize To&&document.getElementById)){
window.open(thelocation)
return
}
win2=window.open("","","scrollbars")
win2.moveTo(0,0)
win2.resizeTo(100,100)
go2()
}
function go2(){
if (winheight>=screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=screen.width-5){
win2.location=temploc
winheight=100
winsize=100
x=5
return
}
setTimeout("go2()",50)
}
//-->
</script>

</head>

<body>

<p><a href="javascriptpenwindow('http://www.hardwaremania.com')">Hardwaremania.com</a>

<p><a href="javascriptpenwindow('http://forum.hardwaremania.com')">Hardwaremania Forum</a>

</body>
</html>

Sitenin Yüklenme Durumunu Durum Çubu?unda Gösteren Kod
-----------------------------------------------------

<SCRIPT language=VBScript>
<!--

Dim Bar, Line, SP
Bar = 0 
Line = "|"
sP = 100

Function Window_onLoad()
Bar = 95
sP = 10
END Function

Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Yükleniyor: " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Yükleme Bitti"
Document.Body.Style.Display = "" 
End If 
End Function

Call Count()

-->
</SCRIPT> 

------------------------------
Sayfanyz Kare Kare Açylsyn
------------------------------

Merhabalar!!!

<head><style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:green;
background-color:#4040ff;
border:0.1px solid #4040ff;
z-index:10;
}
-->
</style></head>
<body><div id="p1" class="intro"></div>
<div id="p2" class="intro"></div>
<div id="p3" class="intro"></div>
<div id="p4" class="intro"></div>
<div id="p5" class="intro"></div>
<div id="p6" class="intro"></div>
<div id="p7" class="intro"></div>
<div id="p8" class="intro"></div>
<div id="p9" class="intro"></div>
<div id="p10" class="intro"></div>
<div id="p11" class="intro"></div>
<div id="p12" class="intro"></div>
<div id="p13" class="intro"></div>
<div id="p14" class="intro"></div>
<div id="p15" class="intro"></div>
<div id="p16" class="intro"></div>
<div id="p17" class="intro"></div>
<div id="p18" class="intro"></div>
<div id="p19" class="intro"></div>
<div id="p20" class="intro"></div>
<div id="p21" class="intro"></div>
<div id="p22" class="intro"></div>
<div id="p23" class="intro"></div>
<div id="p24" class="intro"></div>
<div id="p25" class="intro"></div>

<script>

/*

*/


var espeed=300
var counter=1
var temp=new Array()
var temp2=new Array()

var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0


////////Code for Netscape NS 4+////
if (ns4){
for (i=1;i<=25;i++){
temp[i]=eval("document.p"+i+".clip")
temp2[i]=eval("document.p"+i)
temp[i].width=window.innerWidth/5
temp[i].height=window.innerHeight/5
}

for (i=1;i<=5;i++)
temp2[i].left=(i-1)*temp[i].width

for (i=6;i<=10;i++){
temp2[i].left=(i-6)*temp[i].width
temp2[i].top=temp[i].height
}

for (i=11;i<=15;i++){
temp2[i].left=(i-11)*temp[i].width
temp2[i].top=2*temp[i].height
}

for (i=16;i<=20;i++){
temp2[i].left=(i-16)*temp[i].width
temp2[i].top=3*temp[i].height
}

for (i=21;i<=25;i++){
temp2[i].left=(i-21)*temp[i].width
temp2[i].top=4*temp[i].height
}

}

function erasecontainerns(){
window.scrollTo(0,0)
var whichcontainer=Math.round(Math.random()*25)
if (whichcontainer==0)
whichcontainer=1
if (temp2[whichcontainer].visibility!="hide")
temp2[whichcontainer].visibility="hide"
else{
while (temp2[whichcontainer].visibility=="hide"){
whichcontainer=Math.round(Math.random()*25)
if (whichcontainer==0)
whichcontainer=1
}
temp2[whichcontainer].visibility="hide"
}

if (counter==25)
clearInterval(beginerase)

counter++
espeed-=10

}


////////End code for NS 4+////////


///////////Code for IE 4+ and NS6/////////

if (ie4||ns6){
var containerwidth=ns6?parseInt(window.innerWidth)/5-3 : 

parseInt(document.body.clientWidth/5)
var containerheight=ns6?parseInt(window.innerHeight)/5-2 : 

parseInt(document.body.offsetHeight/5)

for (i=1;i<=25;i++){
temp[i]=ns6?document.getElementById("p"+i).style : 

eval("document.all.p"+i+".style")
temp[i].width=containerwidth
temp[i].height=containerheight
}

for (i=1;i<=5;i++)
temp[i].left=(i-1)*containerwidth

for (i=6;i<=10;i++){
temp[i].left=(i-6)*containerwidth
temp[i].top=containerheight
}

for (i=11;i<=15;i++){
temp[i].left=(i-11)*containerwidth
temp[i].top=2*containerheight
}

for (i=16;i<=20;i++){
temp[i].left=(i-16)*containerwidth
temp[i].top=3*containerheight
}

for (i=21;i<=25;i++){
temp[i].left=(i-21)*containerwidth
temp[i].top=4*containerheight
}
}

function erasecontainerie(){
window.scrollTo(0,0)
var whichcontainer=Math.round(Math.random()*25)
if (whichcontainer==0)
whichcontainer=1
if (temp[whichcontainer].visibility!="hidden")
temp[whichcontainer].visibility="hidden"
else{
while (temp[whichcontainer].visibility=="hidden"){
whichcontainer=Math.round(Math.random()*25)
if (whichcontainer==0)
whichcontainer=1
}
temp[whichcontainer].visibility="hidden"
}

if (counter==25){
clearInterval(beginerase)
if (ns6){
for (i=1;i<26;i++)
temp[i].display="none"
}
}
counter++
espeed-=10

}

/////////End IE 4+ code////////

if (ns4)
beginerase=setInterval("erasecontainerns()",espeed )
else if (ie4||ns6){
beginerase=setInterval("erasecontainerie()",espeed )
}


</script>
</body> 



Durum Çubu?undaki Hareket Eden Yazy
---------------------------------

<script language="Javascript">
<!--
var x = 0
var speed = 90
var text = "sayborg2"
var course =76
var text2 = text

function Scroll() {
window.status = text2.substring(0, text2.length)
if (course < text2.length) {
setTimeout("Scroll2()", speed)
}
else {
text2 = " " + text2
setTimeout("Scroll()", speed);
}
}
function Scroll2() {
window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) { 
text2 = text
x = 0
setTimeout("Scroll()", speed);
}
else {
x++
setTimeout("Scroll2()", speed);
}
}
Scroll()
//-->
</script> 



Durum Çubu?undaki Sa?a-Sola Hareket Eden Yazy
-----------------------------------------------

<script language="Javascript">
<!--
var x = 0
var speed = 90
var text = "sayborg2"
var course =76
var text2 = text

function Scroll() {
window.status = text2.substring(0, text2.length)
if (course < text2.length) {
setTimeout("Scroll2()", speed)
}
else {
text2 = " " + text2
setTimeout("Scroll()", speed);
}
}
function Scroll2() {
window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) { 
text2 = text
x = 0
setTimeout("Scroll()", speed);
}
else {
x++
setTimeout("Scroll2()", speed);
}
}
Scroll()
//-->
</script> 



Ate?li Bir Yazy
-----------------------------------------

<STYLE>#glowtext {
FILTER: glow(color=#c57d5a,strength=2); WIDTH: 100%}
A:link {text-decoration: none; color: #000066}
A:visited {text-decoration: none; color: #000066}
A:active {text-decoration: none; color: #000066}
A:hover {text-decoration: none; color: #00000}
</STYLE>

<SCRIPT language=JavaScript1.2>
function glowit(which){
if (document.all.glowtext[which].filters[0].strength==3)
document.all.glowtext[which].filters[0].strength=2
else
document.all.glowtext[which].filters[0].strength=3
}

function glowit2(which){
if (document.all.glowtext.filters[0].strength==3)
document.all.glowtext.filters[0].strength=2
else
document.all.glowtext.filters[0].strength=3
}

function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (i=0;i<glowtext.length;i++)
eval('setInterval("glowit('+i+')",150)')
}
else if (glowtext)
setInterval("glowit2(0)",150)
}

if (document.all)
window.onload=startglowing
</SCRIPT>
<SPAN id=glowtext> 
<A href="http://www.hardwaremania.com/" target=_blank><FONT size=10>HARDWAREMANYA</FONT></A> 

--------------------------------
Durum Çubu?undaki Titreyen Yazy
--------------------------------

<script
language="JavaScript"><!--
setInterval("sabit()",5);setInterval("yenile()",18 00000);self.focus();
function sabit(){window.status="sayborg2"}
function yenile(){self.focus()}; //--></script>



Sayfanyn Renkli Açylmasy
-------------------------------

<!-- All material copyright Markland Communities, Inc., 1995, 1996, 

1997, 1998, 1999 -->
<!-- Thank you for examining our code. -->
<!-- revision 3-28-99 bsm -->
<!-- big revision 10-29-99 cm -->
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1254">
<meta name="resource-type" content="document">
<meta name="description"
content="WackyHTML - This site is all about doing wacky, crazy, stupid 

things with HTML. DHTML, HTML 4 are used to great effect. 

WebDevelopersJournal.com presents the HTML your mother never told you 

about.">
<meta name="keywords"
content="HTML 4, DHTML, Web design, wild, wacky, crazy, duct tape, 

HTML tricks, Java, page, JavaScript, download, fphover">
<meta name="distribution" content="global">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title></title>
</head>

<body>
<!-- Below is where the ad code --><!-- Above is where the ad code 

--><!--Fade--><script language="JavaScript">
function makearray(n) {
this.length = n;
for(var i = 1; i <= n; i++)
this[i] = 0;
return this;
}
hexa = new makearray(16);
for(var i = 0; i < 10; i++)
hexa[i] = i;
hexa[10]="a"; hexa[11]="b"; hexa[12]="c";
hexa[13]="d"; hexa[14]="e"; hexa[15]="f";
function hex(i) {
if (i < 0)
return "00";
else if (255 < i)
return "ff";
else
return "" + hexa[Math.floor(i/16)] + hexa[i%16];
}
function setbgColor(r, g, b) {
var hr = hex(r); var hg = hex(g); var hb = hex(b);
document.bgColor = "#"+hr+hg+hb;
}
function fade(sr, sg, sb, er, eg, eb, step) {
for(var i = 0; i <= step; i++) {
setbgColor(
Math.floor(sr * ((step-i)/step) + er * (i/step)),
Math.floor(sg * ((step-i)/step) + eg * (i/step)),
Math.floor(sb * ((step-i)/step) + eb * (i/step)));
}
}
function fadein() {
fade(0,0,0, 255,255,255, 100);
}
/* do fadein */
fadein();
</script><!--/Fade--><!-- host ba? --><!-- host son -->

<p align="center"><br>
</p>


<p align="center"><a href="http://www.hardwaremania.com"><font
size="2" face="Verdana"><strong>Hardwaremania </strong></font></a></p>


<p align="center"> </p>
</body>
</html>



Title Bar (Ba?lyk Çubu?u)'da Kayan Yazy
----------------------------

<script language="JavaScript">
<!--
var left="[";
var right="]";
var msg="----------Hardwaremania----------";
var speed=200;

function scroll_title() {
document.title=left+msg+right;
msg=msg.substring(1,msg.length)+msg.charAt(0);
setTimeout("scroll_title()",speed);
}
scroll_title();

// End -->
</script>



Status Barda (Durum Çubu?unda) Ard Arda Gelen Mesajlar
-------------------------------------------------------

<script language="JavaScript">
<!--
// HAZIRLAYAN VE SUNANA Macho_M muratus
var current = 0
var x = 0
var y = 0
var speed = 100
var speed2 = 2000
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '}}
typ = new initArray(8)
typ[0]="sayborg2 derler bana..."
typ[1]="Bir Hardwaremania ba?ymlysyyym."
typ[2]="Bu HTML kodunu sizler için seçtim, umarym be?enirsiniz."
typ[3]="Nasyl, güzel olmu? mu?"
typ[4]="Bütün üyelere iyi günler."
typ[5]="Görü?mek üzere..."
function typnslide() {
var m = typ[current]
window.status = m.substring(0, x++)
if (x == m.length + 1) {x = 0
setTimeout("typnslide2()", speed2)}
else {setTimeout("typnslide()", speed)}}
function typnslide2() {var m = typ[current]
window.status = m.substring(m.length, y++)
if (y == m.length) {y = 0
current++
if (current > typ.length - 1) 
{current = 0}
setTimeout("typnslide()", speed)}
else{setTimeout("typnslide2()", speed)}}
typnslide();
//-->
</script> 


arda büyükdoluca
abdoluca@gmail.com


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.