|
-
Apr 25th, 2000, 05:25 AM
#1
Thread Starter
Hyperactive Member
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?
-
Apr 25th, 2000, 12:24 PM
#2
Lively Member
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.
-
Apr 26th, 2000, 06:53 AM
#3
Hyperactive Member
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?
"People who think they know everything are a great annoyance to those of us who do."
-
Apr 27th, 2000, 04:17 AM
#4
Thread Starter
Hyperactive Member
WYSIWYGs never really worked out for me, not versatile enough, so I'm doing it through text, just plain old Notepad.
-
Apr 28th, 2000, 02:52 AM
#5
New Member
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
-
Apr 28th, 2000, 07:10 AM
#6
Hyperactive Member
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?
"People who think they know everything are a great annoyance to those of us who do."
-
Apr 28th, 2000, 12:01 PM
#7
Thread Starter
Hyperactive Member
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.
-
Apr 30th, 2000, 03:15 AM
#8
New Member
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>
-
Apr 30th, 2000, 09:20 AM
#9
Hyperactive Member
"People who think they know everything are a great annoyance to those of us who do."
-
May 1st, 2000, 04:10 AM
#10
Thread Starter
Hyperactive Member
Thanks
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.
-
Jun 26th, 2000, 12:35 AM
#11
Addicted Member
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>
-
Oct 17th, 2006, 01:20 AM
#12
New Member
-
Oct 17th, 2006, 01:56 AM
#13
New Member
Re: Marquees
It's only been six years.
That would be an ecumenical matter.
-
Oct 17th, 2006, 07:52 AM
#14
Re: Marquees
And <marquee> was bad style even then.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|