SMF For Free Support Forum
Signup For Free Forum
October 06, 2008, 09:23:47 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Type Writer Scroller.  (Read 389 times)
0 Members and 1 Guest are viewing this topic.
Supernovadelta
SMF For Free Full Member
*
Offline Offline

Posts: 106


Supernovadelta Productions.


View Profile WWW
« on: June 26, 2008, 05:05:39 am »

Type Writer
The script is taken from this site: http://www.javascriptkit.com/script/

Purpose:The code allows you to create a fancy type of writing.The code can be put in headers or footers.

Preview:To see the preview,please download this site here: http://uppit.com/23FHX8

Here is the code:
Code:
<script language="JavaScript">
/* Please do not delete these credit lines, but all the others you can change. This is a small script which does open a box with a message
in it. Easily put in this script in your <body> section.That's all what you have to do. Now every visitor who visits your page sees that box.
If you have some questions contact me at mayestro@2xs.de */
// 1999 by Christian Maier 1999   http://www.beste-links.de.cx
<!-- begin
var max=0;
function textlist()
{
max=textlist.arguments.length; for (i=0; i<max; i++) this[i]=textlist.arguments[i];
}
tl=new textlist
(
"Put Text Here!" // Geben Sie hier den zu scrollenden Text ein
);
var x=0; pos=0;
var l=tl[0].length;
function textticker()
{
document.tickform.tickfield.value=tl[x].substring(0,pos)+"_";
if(pos++==l)
{
pos=0;
setTimeout("textticker()",1000);
x++;
if(x==max)
x=0;
l=tl[x].length;
} else
setTimeout("textticker()",50);
}
// end -->
</script>
<script LANGUAGE="JavaScript">
<!--
document.write("<FORM NAME=\"tickform\">");
document.write("<INPUT TYPE=\"TEXT\" NAME=\"tickfield\" SIZE=\"30\">"); // Bei SIZE können Sie die Größe des Feldes ändern
document.write("</FORM>");
textticker();
//-->
</script>
If you would like to edit the text,look for:
Code:
"Put Text Here!" // Geben Sie hier den zu scrollenden Text ein
And where it says (Put Text Here!) Is where you put the text.

If you have a questions please comment.

Thank you for your time.
« Last Edit: June 27, 2008, 03:19:50 pm by simply sibyl » Logged

Isaiahs Grandma
SMF For Free Sponsors
*
Online Online

Posts: 270



View Profile WWW
« Reply #1 on: June 26, 2008, 06:48:46 am »

Forum Url: http://ourhangout.smfforfree4.com
Nice code but it creates an error message?
Logged

Supernovadelta
SMF For Free Full Member
*
Offline Offline

Posts: 106


Supernovadelta Productions.


View Profile WWW
« Reply #2 on: June 27, 2008, 12:01:17 am »

Forum Url: http://ourhangout.smfforfree4.com
Nice code but it creates an error message?
Where did you add the code?
Logged

Isaiahs Grandma
SMF For Free Sponsors
*
Online Online

Posts: 270



View Profile WWW
« Reply #3 on: June 27, 2008, 03:55:55 pm »

Forum Url: http://ourhangout.smfforfree4.com
I put it in the header
then I tried even putting it on a web page,
on web page editor, and it caused
an error message on my forum. 
Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 8407



View Profile WWW
« Reply #4 on: June 27, 2008, 04:10:11 pm »

Thought Ild check it to see that it doesnt cause problems.
I stuck it in the header on my test forum.
Checked it with IE 7.0 and FIrefox 3.0
No errors.. worked fine.
Dont see a huge use for it?   But it works.
Possibly some browser problem for some of you.  Fine on my end though.
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.284 seconds with 17 queries.