PDA

View Full Version : Scrolling text in Dreamweaver



Hellion
May 5th, 2004, 07:07 AM
Does anybody know how to create scrolling text in Dreamweaver. I can't use Flash and its scroll bar component on this one, so I have to actually create it in Dreamweaver.

Thanks in advance for your help.

DarkChild
May 5th, 2004, 08:01 AM
can u be a bit more specific? u want a textfield to be scrolled or more like a banner, so your text scrolls from the left to the right?

Mooey
May 5th, 2004, 08:22 AM
Are you talking about an iframe?

DarkChild
May 5th, 2004, 08:27 AM
i'm not quite sure what he's talkin' about either :) i think he's just talking about a marquee

minimalistik
May 5th, 2004, 08:41 AM
it could be both but just so happens ill post the two codings up anyway,

hes a scrolling marquee:


<p><font color="#0000FF"><b>
<marquee behavior="alternate" width="183" height="50">hello my name is bill</marquee></b></font></p>


and for an iframe:


<iframe name="cwindow" width=670 height=290 frameborder="no" scrolling="no" src="root.htm"></iframe>


if you have a couple of menu buttons, make sure they are set to "cwindow" which is the set iframe name. (which of course you can pick any name). To scroll it, change it to "yes" and change its source page also ;)

Yeldarb
May 5th, 2004, 08:52 AM
You gotta set your scrolling on the iFrame to "yes" don't you ;)

Hellion
May 5th, 2004, 10:46 AM
Sorry. I have a paragraph I want to fit into a cell, but it is too big. I want a scroll bar on its side so I can move it up and down to see the text. Just like in flash with the text scroller component.

DarkChild
May 5th, 2004, 10:51 AM
iframe it is ;) there's no other way to do that in dreamweaver, at least not that i know of

Hellion
May 5th, 2004, 10:55 AM
Lets say I need a textfield to scroll vertically.

SeiferTim
May 5th, 2004, 10:56 AM
That's an iframe.

DarkChild
May 5th, 2004, 11:11 AM
http://www.htmlhelp.com/reference/html40/special/iframe.html

this might help you off ;)

λ
May 5th, 2004, 11:31 AM
Or you could use the overflow CSS property.
code:


<div style="width:50px; height:50px; overflow:auto;">stuff goes here</div>
use overflow:scroll if you want the scrollbar to always show.
:)