Results 1 to 4 of 4

Thread: your text will write it self. <JS>

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2005
    Posts
    7

    Default your text will write it self. <JS>

    With this script yout text will write it self.

    *put it inside <body> ... </body>

    Code:
    <table border=0 width=280 height=260 bgcolor="#ffffff"><tr><td align=center valign=top>
    
    <script language="JavaScript1.2">
    
    var it=0
    function initialize(){
    mytext=typing.innerText
    var myheight=typing.offsetHeight
    typing.innerText=''
    document.all.typing.style.height=myheight
    document.all.typing.style.visibility="visible"
    typeit()
    }
    function typeit(){
    typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
    if (it<mytext.length-1){
    it++
    setTimeout("typeit()",50)
    }
    else
    return
    }
    if (document.all)
    document.body.onload=initialize
    </script>
    
    <font size=2 color="#000090"><span id="typing" style="visibility:hidden">
    
    Your Text Here
    
    
    Your Text Here
    
    
    Your Text Here
    
    
    Your Text Here
    
    
    Your Text Here
    
    
    Your Text Here
    
    
    Your Text Here
    
    
    Your Text Here
    
    </span></font>
    </td></tr></table>

  2. #2
    Join Date
    Oct 2005
    Location
    America
    Posts
    6

    Default

    Nice effect man,,, I make our site like flash,,,,.

  3. #3
    Join Date
    Nov 2005
    Location
    Hell
    Posts
    253

    Default

    thanks for the code budy..great post.

  4. #4
    Join Date
    Dec 2005
    Location
    Turkiye-Tekirdag
    Posts
    143

    Default

    thanks for it from Turkey...

Bookmarks

Posting Permissions

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