Support 3xforum.ro
Lista Forumurilor Pe Tematici
Support 3xforum.ro | Inregistrare | Login

POZE SUPPORT 3XFORUM.RO

Nu sunteti logat.
Nou pe simpatie:
bruneta_ta_us
Femeie
25 ani
Giurgiu
cauta Barbat
25 - 52 ani
Support 3xforum.ro / Intrebari legate de administrare / Snow script . Moderat de electrik cat
Autor
Mesaj Pagini: 1
Ion
Membru

Inregistrat: acum 15 ani
Unde adaug un snow script ? :|



pus acum 15 ani
   
you@octiserver
Pe lista neagra

Inregistrat: acum 16 ani
usa stie unu

pus acum 15 ani
   
martyn
Membru

Inregistrat: acum 16 ani
Un script(javascript) poate fi adaugat  in Admin-Optiuni-Butoane de votare(prima casuta de jos) iar daca stie cineva un script frumos cu ninsoare l-as ruga sa  mi-l spuna si mie ca eu nu am gasit decat scripturi care nu mi-au placut

P.S. You...  Ion a intrebat unde adauga un script nu cine stie un script,sau asa am inteles eu, sper sa nu ma insel


pus acum 15 ani
   
bobes
Membru

Inregistrat: acum 16 ani
@martyn - uite aci doua care merg si n IE si Firefox

Code:

<script type="text/javascript">
/* Copyright Richard Cornford 2004. May be freely used, unaltered*
   and in full, by non-profit making secular
   organisations/bodies/individuals. May only be used
   when this copyright statement is included in distribution.

   *The condition that the code not be altered does not extend to the
   image files used with the script, and so does not include the
   contents of the array defining the images.
*/
(function(){
    var pics = [
        
        ["http://i127.photobucket.com/albums/p138/bobesman/44597475snow.gif",6 ,7,8]
        
        ];
    var global = this;
    var numberOfflakes = 15;
    var windowState,flakeObjs, flakeHTML;
    var posMod, sy, sx, clientHeight, clientWidth,topPosition;
    var globalName = 'snowField'; //used for string argument only setTimeout fall-back.
    var widths = new Array(numberOfflakes),heights = new Array(numberOfflakes);
    var runCount = 0, runFor = 100000000 //number of seconds to run befor shutting down.
    if((document.layers)&&(this.Layer)){
        flakeHTML = [
        '<layer id=\"outFlake','',
        '\" left=\"0\" top=\"0\" width=\"','',
        '\" height=\"','',
        '\" visibility=\"hide\"><layer id=\"midFlake','',
        '\" left=\"0\" top=\"0\" width=\"','',
        '\" height=\"','',
        '\" visibility=\"hide\"><layer id=\"inFlake','',
        '\" left=\"0\" top=\"0\" width=\"','',
        '\" height=\"','',
        '\"><img src=\"','',
        '\" width=\"','',
        '\" height=\"','',
        '\" visibility=\"hide\"><\/layer><\/layer><\/layer>'];
    }else{
        flakeHTML = [
        '<div id="outFlake','', //1
        '" style="position:absolute; z-index: 1000; width:','', //3
        'px;overflow:hidden;height:','', //5
        'px;font-size:1px;visibility:hidden;\"><div id="midFlake','', //7
        '" style="position:absolute;width:','', //9
        'px;overflow:hidden;height:','', //11
        'px;font-size:1px;visibility:hidden;\"><div id="inFlake','', //13
        '" style="position:relative;width:','', //15
        'px;overflow:hidden;height:','', //17
        'px;font-size:1px;visibility:hidden;\"><img src=\"','', //19
        '\" width=\"','', //21
        '\" height=\"','', //23
        '\"><\/div><\/div><\/div>'];
    }
    for(var c = numberOfflakes;c--;){
        var picAr = pics[((Math.random()*pics.length)|0)%pics.length];
        widths[c] = (flakeHTML[21] = (flakeHTML[3] = (flakeHTML[9] = (flakeHTML[15] =   picAr[1]))));
        heights[c] = (flakeHTML[23] = (flakeHTML[5] = (flakeHTML[11] = (flakeHTML[17] =   picAr[2]))));
        flakeHTML[19] = picAr[0];
        flakeHTML[13] = flakeHTML[7] = (flakeHTML[1] = c);
        document.write(flakeHTML.join(''));
    }
    function compatModeTest(obj){
        if((document.compatMode)&&(document.compatMode.indexOf('CSS') != -1)&&(document.documentElement)){
            return document.documentElement;
        }else if(document.body){
            return document.body;
        }else{
            return obj;
        }
    }
    function getWindowState(){
        var global = this;
        var readScroll = {scrollLeft:NaN,scrollTop:NaN};
        var readSizeC = {clientWidth:NaN,clientHeight:NaN};
        var readSizeI = {innerWidth:NaN,innerHeight:NaN};
        var readScrollX = 'scrollLeft';
        var readScrollY = 'scrollTop';
        function getWidthI(){return readSizeI.innerWidth;}
        function getWidthC(){return readSizeC.clientWidth|0;}
        function getHeightI(){return readSizeI.innerHeight;}
        function getHeightC(){return readSizeC.clientHeight|0;}
        function getHeightSmart(){return retSmaller(getHeightI(), getHeightC());}
        function getWidthSmart(){return retSmaller(getWidthI(), getWidthC());}
        function setInnerWH(){
            theOne.getWidth = getWidthI;
            theOne.getHeight = getHeightI;
        }
        function retSmaller(inr, other){
            if(other > inr){
                setInnerWH();
                return inr;
            }else{
                return other;
            }
        }
        var theOne = {
            getScrollX:function(){return readScroll[readScrollX]|0;},
            getScrollY:function(){return readScroll[readScrollY]|0;},
            getWidth:getWidthC,
            getHeight:getHeightC
        };
        function main(){return theOne;}
        function rankObj(testObj){
            var dv,dhN;
            if(testObj&&(typeof testObj.clientWidth == 'number')&&(typeof testObj.clientHeight == 'number')){
                if(((dv = global.innerHeight - testObj.clientHeight) >= 0)&&((dh = global.innerWidth - testObj.clientWidth) >= 0)){
                    if(dh == dv){
                        return 0;
                    }else if((dh&&!dv)||(dv&&!dh)){
                        return (dh+dv);
                    }
                }
            }
            return NaN;
        }
        if((typeof global.innerHeight == 'number')&&(typeof global.innerWidth == 'number')){
            readSizeI = global;
            var bodyRank = rankObj(document.body);
            var rankDocEl = rankObj(document.documentElement);
            var selEl = null;
            if(!isNaN(bodyRank)){
                if(!isNaN(rankDocEl)){
                    if(bodyRank < rankDocEl){
                        selEl = document.body;
                    }else if(bodyRank > rankDocEl){
                        selEl = document.documentElement;
                    }else{
                        selEl = compatModeTest(document.body);
                    }
                }else{
                    selEl = document.body;
                }
            }else if(!isNaN(rankDocEl)){
                selEl = document.documentElement;
            }
            if(selEl){
                readSizeC = selEl
                theOne.getWidth = getWidthSmart;
                theOne.getHeight = getHeightSmart;
            }else{
                setInnerWH();
            }
        }else{
            readSizeC = compatModeTest(readSizeC);
        }
        if((typeof global.pageYOffset == 'number')&&(typeof global.pageXOffset == 'number')){
            readScroll = global;
            readScrollY = 'pageYOffset';
            readScrollX = 'pageXOffset';
        }else{
            readScroll = compatModeTest(readScroll);
        }
        return (getWindowState = main)();
    }
    function readWindow(){
        clientHeight = windowState.getHeight() - 2;
        clientWidth = windowState.getWidth() - 2;
        sy = windowState.getScrollY() + 1;
        sx = windowState.getScrollX() + 1;
    }
    function getStyleObj(id, outer){
        var obj = null;
        if(document.getElementById){
            obj = document.getElementById(id);
        }else if(document.all){
            obj = document.all[id];
        }else if(document.layers){
            obj = document.layers[id];
            if((!obj)&&(outer)&&
              (outer.document)&&
              (outer.document.layers)){
                obj = outer.document.layers[id];
            }
        }
        return (obj && obj.style) || obj;
    }
    var cosAr = [];
    var angleStep = Math.PI/90;
    for(var c = 0;c <= 180;c++){
        cosAr[c] = Math.cos(c*angleStep)
    }
    function FlakeObj(id, parent){
        var next;
        var outerDivClip, outerDiv = getStyleObj("outFlake"+id);
        var midDivClip, midDiv = getStyleObj("midFlake"+id, outerDiv);
        var innerDivClip, innerDiv = getStyleObj("inFlake"+id, midDiv);
        var y = 0,x = 0,cx,cy,s1,s2;
        var w = widths[id],h = heights[id],returnObj = this;
        topPosition = clientHeight;
        function setPos(){
            var temp, ouTop = 0,ouLeft = 0,ouW = 0,ouH = 0,inTop = 0,inLeft = 0;
            var xPlusW = x + w;
            var yPlusH = y + h;
            if((xPlusW >= 0)&&(yPlusH >= 0)&&(x < clientWidth)&&(y < clientHeight)){
                if(y >= 0){
                    ouTop = (y < clientHeight)?y:0;
                    ouH = ((yPlusH) >= clientHeight)?(clientHeight - y):h;
                }else{
                    inTop = y;
                    ouH = yPlusH;
                }
                if(x >= 0){
                    ouLeft = (x < clientWidth)?x:0;
                    ouW = ((xPlusW) >= clientWidth)?(clientWidth - x):w;
                }else{
                    inLeft = x;
                    ouW = xPlusW;
                }
                outerDiv.visibility = 'visible';
            }else{
                outerDiv.visibility = 'hidden';
            }
            outerDivClip.width = (outerDiv.pixelWidth = ouW)+posMod;

            //innerDiv.left = inLeft+posMod;
            midDiv.left = inLeft+posMod;

            outerDivClip.height = (outerDiv.pixelHeight = ouH)+posMod;

            //innerDiv.top = inTop+posMod;
            midDiv.top = inTop+posMod;

            midDivClip.width =  (midDiv.pixelWidth = ((-1*inLeft) + (temp = (ouW-inLeft))))+posMod;

            innerDivClip.width =  (innerDiv.pixelWidth = temp)+posMod;

            outerDiv.left = (sx+ouLeft)+posMod;

            midDivClip.height =  (midDiv.pixelHeight = ((-1*inTop) + (temp = (ouH-inTop))))+posMod;

            innerDivClip.height =  (innerDiv.pixelHeight = temp)+posMod;

            outerDiv.top = (sy+ouTop)+posMod;
        }
        if((outerDiv)&&(innerDiv)){
            (this.reset = function(){
                if(runCount > runFor)returnObj = next;
                y = -(((Math.random()*topPosition)+h)|0);
                x = w+((Math.random()*(clientWidth-(w<<1)))|0);
                cx = Math.random()*3;
                cy = (7 - cx)|0; //rate of fall
                cx = (cx + 3)|0; //sideways drift
                s1 = (Math.random()*180)|0;
                s2 = 1+((Math.random()*4)|0);
                return;
            })();
            outerDivClip =  (outerDiv && (typeof outerDiv.clip != 'string') && outerDiv.clip)||outerDiv;
            midDivClip =  (midDiv && (typeof midDiv.clip != 'string') && midDiv.clip)||midDiv;
            innerDivClip =  (innerDiv && (typeof innerDiv.clip != 'string') && innerDiv.clip)||innerDiv;
            this.position = function(){
                y += cy;
                x += (cx * cosAr[(s1 = ((s1 + s2)%180))])|0;
                if(y >= clientHeight){
                    this.reset();
                }
                setPos();
                next = next.position();
                return returnObj;
            };
            setPos();
            innerDiv.visibility = (outerDiv.visibility = 'visible');
        }else{
            this.position = function(){return;};
        }
        this.toString = function(){
            return 'cd '+id+' x = '+x+' y = '+y+' cx = '+cx+' s2 = '+s2+' s1 = '+s1+'\n'+next.toString();
        }
        if(++id < numberOfflakes){
            next = new FlakeObj(id, parent)
        }else{
            topPosition = (clientHeight>>3);
            next = parent
        }
    }
    function init(){
        var stRef;
        if(!(stRef = getStyleObj("outFlake"+(numberOfflakes-1)))){
            setTimeout(init, 200);
        }else{
            windowState = getWindowState();
            posMod = (typeof stRef.top == 'string')?'px':0;
            readWindow();
            flakeObjs = new FlakeObj(0, init);
            runFor *= 1000;
            init.act();
        }
    };
    init.position = function(){return this;}
    init.act = function(){
        readWindow();
        flakeObjs = flakeObjs.position();
        if(flakeObjs != init)setTimeout(init.act,60);
        runCount += 60;
    };
    init.act.toString = function(){return globalName+'.act()';};
    init.toString = function(){
        while((global[globalName])&&(global[globalName] != this)){globalName += globalName};
        global[globalName] = this; //this - is the init function.
        return globalName+'()';
    };
    setTimeout(init, 200);
})();
</script>

sau

Code:

<marquee behavior="scroll" direction="down" scrollamount="5" 
style="position:absolute; left:130px; top:150px; width:16px; height:548px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="3" style="position:absolute; left:177px; top:170px; 
width:16px; height:388px;"><span style="color: white">*</span></marquee><marquee behavior="scroll" direction="down" scrollamount="5" 
style="position:absolute; left:225px; top:190px; width:16px; height:324px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="5" style="position:absolute; left:265px; top:180px; 
width:16px; height:499px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="5" 
style="position:absolute; left:325px; top:160px; width:16px; height:411px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="5" style="position:absolute; left:239px; top:190px; 
width:16px; height:251px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="1" 
style="position:absolute; left:141px; top:150px; width:16px; height:221px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="7" style="position:absolute; left:289px; top:170px; 
width:16px; height:230px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="5" 
style="position:absolute; left:108px; top:230px; width:16px; height:241px;"><span 
style="color: white">*</span></marquee><a 
href="http://www.completemyspace.com" target="_blank">Click here to get Falling 
Objects</a><marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:370px; top:190px; width:16px; height:386px;"><span style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="2" style="position:absolute; left:394px; top:150px; 
width:16px; height:484px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="2" 
style="position:absolute; left:430px; top:170px; width:16px; height:442px;"><span style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="3" style="position:absolute; left:475px; top:200px; 
width:16px; height:423px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="6" 
style="position:absolute; left:559px; top:170px; width:16px; height:541px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="2" style="position:absolute; left:580px; top:200px; 
width:16px; height:423px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="5" style="position:absolute; left:533px; top:170px; width:16px; height:385px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" direction="down" scrollamount="1" style="position:absolute; left:614px; top:200px; 
width:16px; height:332px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="3" 
style="position:absolute; left:651px; top:250px; width:16px; height:386px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="5" style="position:absolute; left:684px; top:290px; 
width:16px; height:514px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="1" 
style="position:absolute; left:658px; top:180px; width:16px; height:247px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" 
direction="down" scrollamount="1" style="position:absolute; left:694px; top:160px; 
width:16px; height:216px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="2" 
style="position:absolute; left:738px; top:200px; width:16px; height:392px;"><span 
style="color: white">*</span></marquee><marquee behavior="scroll" direction="down" scrollamount="1" style="position:absolute; left:753px; top:150px; 
width:16px; height:544px;"><span style="color: white">*</span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="5" 
style="position:absolute; left:800px; top:180px; width:16px; height:404px;"><span 
style="color: white">*</span></marquee>



_______________________________________
Romania LIVE

pus acum 15 ani
   
you@octiserver
Pe lista neagra

Inregistrat: acum 16 ani
mda nu am citit  cu atenti ms de obs martyn

pus acum 15 ani
   
Ion
Membru

Inregistrat: acum 15 ani
done . am rezolvat . mersi   

pus acum 15 ani
   
Usa
Membru

Din: Dr.Tr.Severin
Inregistrat: acum 15 ani
poftim unele mai bune.

_______________________________________
UNUL DINTRE CELE MAI BUNE SITEURI DE DOWNLOAD FREE.

pus acum 15 ani
   
martyn
Membru

Inregistrat: acum 16 ani
Ms mult bobes chiar sutn ceea ce cautam fulgi mici si chiar realisti, respect

pus acum 15 ani
   
Pagini: 1  

Mergi la