szveg effekt
lpj a bvebben linkre.....
<style type="text/css">
html {
overflow: hidden;
}
body {
margin: 0px;
padding: 0px;
background: #000;
position: absolute;
width: 100%;
height: 100%;
}
span {
position: absolute;
font-family: tahoma,verdana,arial;
font-weight: bold;
width: 100%;
}
</style>
<script type="text/javascript">
// ===============================================
// script by Gerard Ferrandez - Sept 1999
// DOM crossbrowser version - April 14th, 2006
// http://www.dhteumeuleu.com
// ===============================================
var O = [];
function Cobj(xs, ys, css, html){
this.xs = xs;
this.ys = ys;
this.m = 1;
this.x = xs * 10000;
this.y = ys * 10000;
this.o = document.createElement("span");
this.o.innerHTML = html;
for(var i in css)this.o.style[i] = css[i];
document.body.appendChild(this.o);
this.mov = function () {
with(this) {
if(xs!=0){
x += xs;
o.style.left = x+'px';
if(xs>0 && x>document.body.offsetWidth) x = -o.offsetWidth;
else if(xs<0 && x<-o.offsetWidth) x = document.body.offsetWidth;
}
if(ys!=0){
y += ys;
o.style.top = y+'px';
if(ys>0 && y>document.body.offsetHeight) y = -o.offsetHeight;
else if(ys<0 && y<-o.offsetHeight) y = document.body.offsetHeight;
}
}
}
}
function run(){
for(var i in O)O[i].mov();
setTimeout("run();", 32);
}
onload = function(){
O.push(new Cobj(0,1,
{
'color':'#606060',
'fontSize':'15pt',
'letterSpacing':'5px',
'textAlign':'center'
},
"Jgvirg design"
));
O.push(new Cobj(0,-2,
{
'color':'#c0c0c0',
'fontSize':'10pt',
'left':'25%'
},
"Portlpts s portldszts kezdknek s haladknak! Rengetek lers, JavaScriptek , CSS ,HTML kdok,Design!"
));
O.push(new Cobj(-1,0,
{
'color':'#888',
'fontSize':'48pt',
'top':'25%'
},
"Jgvirg Design"
));
O.push(new Cobj(3,0,
{
'color':'#fff',
'fontSize':'14pt',
'top':'55%'
},
"www.jegvirag.gportal.hu"
));
O.push(new Cobj(2,0,
{
'color':'#ff8000',
'fontSize':'16pt',
'top':'65%'
},
"2019-es ingyen letlthet naptr."
));
O.push(new Cobj(0,2,
{
'color':'#b0b0c0',
'fontSize':'18pt',
'left':'10%'
},
"Rengeteg design,ami ingyen letlthet."
));
O.push(new Cobj(0,-1,
{
'color':'#fff',
'fontSize':'20pt',
'width':'50%',
'textAlign':'right'
},
"Renszerezett nnepi menk,<br>neked csak megkell nyitnod s szerkeszteni."
));
O.push(new Cobj(1,0,
{
'color':'#9090f0',
'fontSize':'22pt',
'top':'10px'
},
"Sajt kszts dolgaimat is megtallod:naptr,cursor,glitter kp s szveg..."
));
O.push(new Cobj(-2,0,
{
'color':'#8080ff',
'fontSize':'20pt',
'top':'60%'
},
"Jgvirg Design/www.jegvirag.gportal.hu"
));
run();
}
</script>
|