Does anyone know how to make a marquee scroll from bottom to top? If not can anyone provide some Java code to accomplish this task, or tell me where to find some?
Printable View
Does anyone know how to make a marquee scroll from bottom to top? If not can anyone provide some Java code to accomplish this task, or tell me where to find some?
Asfar as i know marquee tag can only support direction as from left to right or right to left. It cannot scroll from top to bottom or vice verse. If you wish to do that, you'll need to write an applet for it.
You can do this with CSS and a bit of Javascript, or if your using a WYSIWYG editor it probably does it for you. What editor are you using?
WYSIWYGs never really worked out for me, not versatile enough, so I'm doing it through text, just plain old Notepad.
You could just make an animated gif that scrolls. Using various GIF animators (I use Ulead's) it is very simple to do something like that...
-KnightM
Do you want some piece of text (or picture or whatever) that scrolls from the bottom of the page to the top? or something that stays fixed?
I want to create an update box which scrolls my most recent updates from bottom to top. I need it to be in a box and I need to easily add to and change the text. I realize that this is probably a very difficult thing to do, and I've tried searching the internet for some sort of JAVA applet that will do this, but I can't find one.
Hi,
Try this. You'll have make some MAJOR changes to all the CSS attributes etc.. Maybe even the script, But it's a beginning.
Hope it helps.
Mohnish
<html>
<head>
<script>
function moveUp(){
if (text.style.pixelTop == -150) {
text.style.pixelTop = 100;
}
else {
text.style.pixelTop = text.style.pixelTop - 10;
}
}
setInterval("moveUp()",200)
</script>
</head>
<body background="/images/bground.gif" bgcolor="#ffffff" text="#000000" marginheight="0" topmargin="0">
<div id="container" STYLE="position:absolute; background-color:black; width:150; height:200;">
<div id="text" STYLE="position:absolute; color:white; width:150; height:150;">
oasis <br><br>
are<br><br>
the <br><br>
BEST <br><br>
</div>
</div>
</body>
</html>
If your looking for an applet try one of these:
http://gamelan.earthweb.com/javaprog...displays7.html
Thanks a lot everyone, I'll be sure to use them in my new web site. You can visit it at http://www.olemac.net/~hutch, but I'm overhauling it, so it isn't much right now. I'll probably finish it over summer vacation.
Hey - here's a solution - e-mail me if it works :-)
This is a complete page, put it in and run it.
<html>
<script language="JavaScript">
var version = "other"
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
if (version == "e4")
{
document.write ("<marquee behavior=scroll direction=up width=100% height=200 scrollamount=2 scrolldelay=1 onmouseover='this.stop()' onmouseout='this.start()'>")
}
</script>
<table BORDER="0" CELLSPACING="4" height="1" cellpadding="2">
<tr>
<td valign="top" nowrap><b><font color="#000080" face="Tahoma" size="2">»</font></b></td>
<td VALIGN="top" align="left">
<p align="left"> <font size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif, Comic Sans MS">Line
1 of Scrolling Marquee</font></b></font></p>
</td>
</tr>
<tr>
<center>
<td valign="top" nowrap><b><font color="#000080" face="Tahoma" size="2">»</font></b></td>
</center>
<td VALIGN="top" align="left">
<p align="left"> <font size="2"><b><font face="Verdana, Arial, Helvetica, sans-serif, Comic Sans MS"><img src="http://www.xenonic.co.uk/site/images/teeth.gif">
Can even include images!</font></b></font> <img src="http://www.xenonic.co.uk/site/images/teeth.gif"></p>
</td>
</tr>
<tr>
<center>
<td valign="top" nowrap><b><font color="#000080" face="Tahoma" size="2">»</font></b></td>
</center>
<td VALIGN="top" align="left">
<p align="left"> <a href="http://www.xenonic.co.uk"><b><font face="Verdana, Arial, Helvetica, sans-serif, Comic Sans MS" size="2">Can
even include hyperlinks!</font></b></a></p>
</td>
</tr>
</table>
</HTML>
its direction="up or down" and you said you wanted it to go up then direction="up". I thought I might tell you guys so your heads didn't go :eek2: from trying to figure it out in Html. :lol: LOL! :blush: :cry: sorry I dont mean to hurt feelings it just comes naturally. he hebye :wave:
It's only been six years.
And <marquee> was bad style even then.