Reply
Scroll Bar Scripts
Old 06-17-2004, 01:03 PM Scroll Bar Scripts
Junior Talker

Posts: 3
Location: Hampshire - UK
Hi,

Am fairly new to the wizadry of javascript and html.

I have discovered and customised a series of scroll bar message scripts but i am unsure of how to link them together so they appear one after another.

Each "effect" is a script on it's own and i would like to make them join together so that they run one after another eg:

Welcome to extreme = flashing text script
2nd line = scrollin text script
3rd line = typewriter script.

if any one understands what the hell i'm goin on about lol or can help please let me know - i can paste the scripts if it's easier.

Cheers
eXtreme is offline
Reply With Quote
View Public Profile Visit eXtreme's homepage!
 
When You Register, These Ads Go Away!
Old 06-17-2004, 01:39 PM
Unknown.

Posts: 1,693
Check out http://javascriptsource.com/scrolls/

You can find some good javascripts there

-James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 06-17-2004, 01:40 PM
Junior Talker

Posts: 3
Location: Hampshire - UK
thanks m8y
eXtreme is offline
Reply With Quote
View Public Profile Visit eXtreme's homepage!
 
Old 06-17-2004, 03:09 PM
Junior Talker

Posts: 3
Location: Hampshire - UK
Okies have tried the above site and unfortunately it's not what i'm looking for however i did pinch a few bits and bobs thanks again for that

I must apologise cos i did actually say scroll bar message scripts when i actually meant "status bar scroll scripts" ... sheesh, there goes the protending to know what i'm talking about out the window

If any one knows how i can join the following two scripts together so that one function will execute one after the other rather than at the same time (cos thats what i'm getting at the moment) it would be fab .. it's probably so basic and easy so i shall go and hide in the corner for a wee while and hope

<script language="JavaScript">
<!--


//set message:
msg = "Welcome to eXtreme Forums !!";

timeID = 10;
stcnt = 16;
wmsg = new Array(33);
wmsg[0]=msg;
blnk = " ";
for (i=1; i<32; i++)
{
b = blnk.substring(0,i);
wmsg[i]="";
for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
}

function wiper()
{
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt-- < -40) stcnt=31;
status = str;
clearTimeout(timeID);
timeID = setTimeout("wiper()",100);
}

wiper()
// -->
</script>

and the next code is !!!!!!!!!!!!!!!!

<SCRIPT>
<!-- Hide from old browsers

// All you have to do is put another text in the variable message.
// Don't forget to break all lines with a ^
// When you do not place a ^ at the end of all the message, the
// message will not repeat

message ="You can enter an unlimited number of lines here^" +
"Just keep reeling off as much as you like^" +
"You can change the speed of the typewriter by adding a larger figure in scroll speed^" +
"The smaller the figure the faster it will type ^" +
"This type writer will replay after this last message (replace this line as your final message) ...^" +
"^"
scrollSpeed = 60
lineDelay = 1500

// Do not change the text below //

txt = ""

function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}

// Unhide -->
scrollText(0)
</SCRIPT>
eXtreme is offline
Reply With Quote
View Public Profile Visit eXtreme's homepage!
 
Old 06-18-2004, 09:10 AM
Novice Talker

Posts: 11
Had to delete my response.. kinda read the question wrong lol..
__________________
Search All Major Engines: www.superbrowse.com
AtlantisDigital is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Scroll Bar Scripts
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13380 seconds with 12 queries