Четверг, 05.03.2026, 19:48
Меню сайта
    Форма входа
    Категории раздела
    скрипты для ucoz сайта [3099]
    шаблоны для ucoz скачать [2660]
    Иконки групп для форума [25]
    Графика для сайта [1953]
    шаблоны psd для фотошопа [27]
    кисти для фотошопа [39]
    уроки фотошопа на русском языке [4]
    стили для фотошопа [3]
    шрифты для фотошопа cs4 [12]
    Web-master [3058]
    Поиск
    Календарь
    «  Май 2009  »
    Пн Вт Ср Чт Пт Сб Вс
        123
    45678910
    11121314151617
    18192021222324
    25262728293031
    Архив записей
    Наш опрос
    Умеете ли вы писать скрипты для ucoz?
    Всего ответов: 73
    Мини-чат
    200
    Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz
  • Статистика

    Онлайн всего: 1
    Гостей: 1
    Пользователей: 0
    Главная » 2009 » Май » 14 » WriteTEXT
    20:06
    WriteTEXT
    Code
    <style type="text/css">
    #divWrite {position:absolute; top:170px; left:0px; width:100%; visibility:hidden;}
    #divWrite2 {position:absolute; top:250px; left:200px; width:300px; visibility:hidden}  
    </style>
    <script language="JavaScript" type="text/javascript">
    /**********************************************************************************  
    WriteText  
    * Copyright (c) 2009 MMoToP
    * This script was released at www.MMoToP.net.ru
    * Visit for more great scripts!
    * This may be used and changed freely as long as this msg is intact!
    * We will also appreciate any links you could give us.
    *********************************************************************************/

    function lib_bwcheck(){ //Browsercheck (needed)
      this.ver=navigator.appVersion
      this.agent=navigator.userAgent
      this.dom=document.getElementById?1:0
      this.opera5=this.agent.indexOf("Opera 5")>-1
      this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;  
      this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
      this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
      this.ie=this.ie4||this.ie5||this.ie6
      this.mac=this.agent.indexOf("Mac")>-1
      this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;  
      this.ns4=(document.layers && !this.dom)?1:0;
      this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
      return this
    }
    var bw=new lib_bwcheck()

    //Here are the variables you have to set:  

    //There are 2 ways this script can work.
    // 0 = WriteText
    // 1 = RemoveText
    wWorks = 1

    var wText = "wWw.MMoToP.net.Ru Powered by MMoToP ICQ:414221417" //The text you want write out
    var wFontsize = 70 //Set the fontsize you want
    var wColor = "#003300" //The text color
    var wAlign = "center" //the alignment of the text, you can choose center, right or left.
    var wSpeed = 150 //Set the speed you want it to write in (in milliseconds between each letter)
    var wFont = 'arial black,arial,helvetica,sans-serif' //The font face
    var wHide = true //do you want it to hide when its done? (true or false)
    var wHidewait = 1000 //Set the time you want it to wait before it hides
       
    /*You can remove this if you don't wan't it to start right away.
    You can have it start if someone clicks a link (make a link like this:
    <a href="#" onclick="writeInit()">Click to writetext</a>)*/
      onload = writeInit;

    /********* You shouldn't really have to set anything below this point ***********/
    //Object functions
    function makeWriteObj(obj,text,size,color,align,speed,font,hide,hidewait,works){
      this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?document.layers[obj]:0;  
      this.writeref=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj].document:0;  
      this.text=text; this.size=size; this.color=color; this.align=align; this.speed=speed;
      this.font=font; this.hide=hide; this.hidewait=hidewait; this.writeWrite=b_writeWrite;
      this.writeText=b_writeText; this.removeText=b_removeText; this.works=works; this.write=b_write
      if(bw.dom || bw.ie4){ //Setting the style properties
      this.css.fontFamily=this.font; this.css.fontSize=this.size+"px"; this.css.color=this.color;
      this.css.textAlign=this.align
      }
      this.obj = obj + "Object"; eval(this.obj + "=this"); return this
    }
    function b_write(num,fn){
      if(!fn) fn=""
      if(!this.works) this.writeText(num,fn)  
      else this.removeText(fn)
    }
    function b_writeWrite(text){
      if(bw.ns4){
      this.writeref.write('<p style="text-align:'+this.align+'; font-size:' +this.size+'px; font-family:'+this.font+'; color:'+this.color+'">'+text+'')
      this.writeref.close()
      }else this.writeref.innerHTML = text
    }
    function b_writeText(num,fn){
      if (num<=this.text.length){
      wtext = this.text.substr(0,num)
      this.writeWrite(wtext)
      num ++
      setTimeout(this.obj+".writeText("+num+",'"+fn+"')",this.speed)
      }else{
      if(this.hide) setTimeout(this.obj+".css.visibility='hidden'",this.hidewait);
      eval(fn)
      }
    }
    function b_removeText(fn){
      if (this.text.length>0){
      this.text = this.text.slice(0,this.text.length-1)
      this.writeWrite(this.text)
      setTimeout(this.obj+".removeText('"+fn+"')",this.speed)
      }else{
      if(this.hide) setTimeout(this.obj+".css.visibility='hidden'",this.hidewait);
      eval(fn)
      }
    }
    /*Initiates the object, shows it and starts the zoom
    ****************************************************************************/
    function writeInit(){
      if(bw.bw){
      oWrite = new makeWriteObj('divWrite',wText,wFontsize,wColor,wAlign,wSpeed,wFont,wHide,wHidewait,wWorks)
      //Change the line below to: oWrite.write(0) if you only have one object.
      oWrite.write(0,'oWrite2.css.visibility="visible";oWrite2.write(0)')
      oWrite.css.visibility = "visible"

      //Another object, just remove this line if you only want one object. It's just to show you how can have more objects.
      oWrite2 = new makeWriteObj('divWrite2',"Всё для WoW!!!!!!!www.MMoToP.net.ru!!!Cделал MmoTop ICQ:414221417",20,"red","left",100,"Verdana,Arial",1,500,0)
      }
    }
    </script>

    </head>
    <body bgcolor="#737994" text="#FFFFFF" link="#FFFFFF" topmargin="0" leftmargin="0">

    <div id="divWrite">TyT ecTb Bce DJI9I WoW!!!!!wWw.MMoToP.net.ru!!!</div>
    <div id="divWrite2">тут есть всё для WoW!!!!wWw.MMoTop.net.ru!!</div>

    Пример!!!!
    Категория: скрипты для ucoz сайта | Просмотров: 443 | Добавил: MMoToP | Теги: frederique constant geneve копии | Рейтинг: 3.0/2
    Всего комментариев: 12
    12 MMoToP  
    0
    qCaRTp скрин не выложить так как там пишется текст! angry

    11 qCaRTp  
    0
    Блин! За*бали вы со своим тупым ПРИМЕРОМ!!!!! Какого вы не можете выложить скрин?! Или надо быть таким тупым?

    10 Naruto007  
    -1
    Эта штука, херня полная biggrin

    9 MMoToP  
    0
    V1AD мне просто лень было всё заменять на своё! angry

    7 Stef  
    -1
    V1AD ,
    Quote
    ЭТо тупая реклама своего сайта!

    ну может кто то догадается что надписи на свои менять нужно)) biggrin biggrin biggrin


    6 mxildar  
    -1
    херня

    5 CheL  
    1
    wink

    4 V1AD  
    -1
    killed dont

    2 super5Nick  
    -1
    Нах это нужно?

    1 V1AD  
    -1
    ЭТо тупая реклама своего сайта! angry

    3 super5Nick  
    0
    Я посмотрел,согласен.

    8 MMoToP  
    -1
    Это для прикола=))
    КОМУ НАДО ТОТ И ПОСТАВИТ СЕБЕ! angry

    Добавлять комментарии могут только зарегистрированные пользователи.
    [ Регистрация | Вход ]