RetouchPRO

Go Back   RetouchPRO > Business > Your Website
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Your Website Questions and (hopefully) answers about setting up your own business or gallery website

help me in javascript

Reply
 
Thread Tools
  #1  
Old 12-05-2002, 03:54 AM
garfield's Avatar
garfield garfield is offline
Member
 
Join Date: Jun 2002
Location: philippines
Posts: 99
help me in javascript

can i ask anyone here who knows javascript to kindly tell me what the function below means? i got this at dynamic drive but they dont offer explanation on what each statement does. can i ask how did the webmaster here did the moving menu here? thanks.

<script language="JavaScript1.2">
var it=0
function initialize()
{
var 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()",100)
}
else
return
}

if (document.all)
document.body.onload=initialize
</script>

<small><span id="typing" style="visibility:hidden" align="left">welcome!!</span></small>
Reply With Quote top
  #2  
Old 12-06-2002, 11:02 AM
clare's Avatar
clare clare is offline
Senior Member
 
Join Date: Aug 2002
Location: England
Posts: 322
All I get is
Welcome
writen on the screen

This might be so welcome individuals after loging on....

Can you give us any more info - like where you found it?

Clare
Reply With Quote top
  #3  
Old 12-07-2002, 07:19 PM
garfield's Avatar
garfield garfield is offline
Member
 
Join Date: Jun 2002
Location: philippines
Posts: 99
well actually this is a text that appears as being typed on the screen and is placed in the <body> tag but then i dont know some of the functions like innerHTML in there. thats all thanks
Reply With Quote top
Reply

  RetouchPRO > Business > Your Website


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
best javascript 4 photoshop - editor? babedieboe Photoshop Scripting 6 10-19-2008 12:03 PM
Fun harmless javascript trick Doug Nelson Salon 9 10-24-2006 05:37 PM
PS Javascript Library Doug Nelson Photoshop Scripting 2 06-26-2004 10:20 AM
resizing for a table clare Your Website 16 02-24-2003 03:15 PM
Javascript program garfield Software 4 12-02-2002 09:40 AM


All times are GMT -6. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved