Log In · Register

 
Two questions ..., Scroll bar won't work and ......
snogger85
post Jan 23 2004, 09:51 PM
Post #1


Member
**

Group: Member
Posts: 23
Joined: Jan 2004
Member No: 1,366



Ok I've read these boards for a while but, I guess you could say that I'm a newbie since this is my first post and I have 2 questions:
1) I really really like status bar scrollers on people's sites, however, I think I've tried just about every code out there and it won't work, everytime i try something the status bar always says something like "Done but with errors on the page". Here's the last code i used:
CODE
<!-- begin code provided by createblog.com -->
<!-- ##BEGIN SCROLLING -->
<script LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
// Scrolling status Bar text Script
// Being of Scrolling text in the Status bar
var speed = 50 //decrease value to increase speed (must be positive)
var pause = 2500 //increase value to increase pause
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "In my mind
everything we did was right... "
ar[1] = "Open your eyes, I'll still be by your side..."
ar[2] = "How could I ever have been so blind?"
ar[3] = "You give me something to sleep to
at night"
ar[4] = ""
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[currentMessage]
if (offset < text.length) {
 if (text.charAt(offset) == " ")
 offset++
 var partialMessage = text.substring(0, offset + 1)
 window.status = partialMessage
 offset++
 timerID = setTimeout("showBanner()", speed)
 bannerRunning = true
  } else {
 offset = 0
 currentMessage++
  if (currentMessage == ar.length)
   currentMessage = 0
   timerID = setTimeout("showBanner()", pause)
   bannerRunning = true
   }
     }
// -->
</SCRIPT>
<!-- ##END SCROLLING -->
<script LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
//this is to start the Scrolling Status Bar
startBanner();
// -->
</SCRIPT>
<!-- end code provided by createblog.com -->


2)Now my other question is about putting scroll bars in my blog entries. I can't seem to find that code anywhere.

Lol please forgive me if these questions have already been asked. Just a noob w/ a few questions. Thanks in advance.

By the way here's my xanga if u wanna check it out !!Xanga!!

also, music isn't working to well on my site either, any help would be great.
 

Posts in this topic
snogger85   Two questions ...   Jan 23 2004, 09:51 PM
Blah   umm.. what kind do you want?   Jan 23 2004, 11:21 PM
tofumonzter   ANS 2 ) CODE<!-- begin code provided by cr...   Jan 24 2004, 06:42 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: