How Do I Create a Scrolling Text Box For News Items On My Website?

A

Adamus01

hey,

how do i create a scrolling text box within my current website table, which
i can type news headlines for people to read, and scroll through? but i don't
want a text box that people write in (like a comment box)... what i need is a
text box that i can create and edit using frontpage, and then publish it to
the web for people to read.

and also, it it possible to using HTML code, ie.

<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #FF3300;
scrollbar-track-color: #000000;
}
-->
</STYLE>

on the text box, so that it has a certain look, that differs to the rest of
the website?

i don't know if this will make much sense, but hopefully you can get at what
i mean.
do you need to use javascript to achieve this?
in which case, what is a good website for me to learn how to create an
interactive javascript website?

thanks,

adam.
 
S

Steve Easton

Look for scrolling marquee in FrontPage, Insert > Web Components > Dynamic Effects >
Marquee.


As the scrollbar, yes but don't assign it to the body.
Give the text box a class name and assign it to the class.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
A

Adamus01

That's not really what i'm after...

I want something like a scrolling text box, but not for guests to write in,
or not one that just scrolls across the page endlessly. I want a box, which
they can scroll up and down, to view news stories. sort of like a regular
webpage, but within my current website.

i can't explain it very well, but, i hope you can sort of understand what
i'm talking about
thanks.
 
D

Dan L

Here's what you want for the "scrolling text box".

<div align="left" style="border-style:solid; border-width:2px;
border-color:blue; background-color:#F0F8FF; overflow-y:scroll; width:200px;
height:300px">This is a div.<br>It has a set width and height, and a vertical
scroll bar.<br>You can put news and info in this box for your users to read.
<br>Scroll down for more<br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>more</div>
 
A

Adamus01

wait. i don't get it. am i supposed to copy all of that HTML code you just
wrote, and then paste it in my website's HTML?
where should i paste it? i tried pasting it where i wanted it in the HTML,
and it just came up as a bunch of writing.

sorry, i'm not that great on this HTML stuff, i'm trying to teach myself,
but i'm running into trouble...

thanks again.
 
D

Dan L

Yes, in code view you can copy and paste it where you want it and it should
display correctly.
 
A

Adamus01

Sweet. I got it now...
One more question... How do I put an image in the background. (say i create
one in photoshop, then save it to my computer... how do i put that behind the
news?)
THANKS so much.
 
D

Dan L

Change "background-color:#F0F8FF;" to "background-image: url(pic.gif);" where
pic.gif is the name of the image you want to use. You may need to add
"background-repeat: no-repeat;" after that if you don't want the image to
tile. HTH.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top