~deliriouswun~
08-04-2004, 07:16 PM
What is the script for a scrolling message at the bottom of the page, (where the loading status usually is) and where exactly should you put it? Is there a specific position it must be in in order to work? and should it be in webstats box, or the html header box? :cloud:
smileygurl119
08-04-2004, 08:25 PM
it wont ever work because there are new 'security measuremetns' or whatever. but it only works if you have premium, so if you don`t have it, then you should probably use this:
<script>window.status="Change this for Status Bar Text";</script>
or this instead:
<script language="javascript">
//Display Mouse coordinates- By Kous (kous@ihateclowns.com)
//Visit http://javascriptkit.com for this script and more
var where = "aklfajsdf;lksdjf;klasdjfl;js"; // which link
function checkwhere(e) {
if (document.layers){
xCoord = e.x;
yCoord = e.y;
}
else if (document.all){
xCoord = event.clientX;
yCoord = event.clientY;
}
else if (document.getElementById){
xCoord = e.clientX;
yCoord = e.clientY;
}
self.status = "X= "+ xCoord + " Y= " + yCoord;
}
document.onmousemove = checkwhere;
if(document.captureEvents) {document.captureEvents(Event.MOUSEMOVE);}
</script><!--
~deliriouswun~
08-05-2004, 01:00 AM
The first one (the simple one) works, but is there a way to make it a scrolling marquee?
smileygurl119
08-05-2004, 04:42 AM
yes, but it only works for premium users. sorry about the second one, it should be something like this:
<script language="javascript">
var myString = " text here ";
var speed = 7; // lower = faster
// do not edit below this line
var change = 0;
var iterations = 0;
function revealText() {
change++;
if(change == speed) {
change = 0;
iterations++;
var currentLetter = iterations % myString.length;
window.status = myString.substr(0, currentLetter).toLowerCase() + myString.substr(currentLetter, 1).toUpperCase() + myString.substr(currentLetter + 1, myString.length - (currentLetter + 1)).toLowerCase();
return true;
}
}
document.attachEvent("onmousemove", revealText);
</script>
~deliriouswun~
08-05-2004, 04:11 PM
Ahh...perfect. Thanks again! =)