RetouchPRO

Welcome to RetouchPRO, the web community for retouchers.

You are currently viewing as an unregistered guest which gives you limited access. Registration is fast, simple and absolutely free so please, join RetouchPRO today!

If you have any problems with the registration process or your account login, please contact us. If you've forgotten your password, click here.

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

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

Reply
 
LinkBack Thread Tools
  #1  
Old 12-05-2002, 02:54 AM
garfield's Avatar
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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 12-06-2002, 10:02 AM
clare's Avatar
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 12-07-2002, 06:19 PM
garfield's Avatar
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply


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

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


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


All times are GMT -6. The time now is 05:41 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Doug Nelson. All Rights Reserved moo




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50