ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
it depends on what you mean by 'scrolly'
there is always the <marquee> tag, not recomended
there are java applets but those wouldnt do much for the actual content only the applet
yes theres javascript or ajax (a combination of client/server side scripting one of the most common is javascript/php)
but if all you want is a scroll bar then that would be the overflow css property for a DIV
The first thing we will do is to update our stylesheet definition to make the object stand out from the surrounding page.There are three steps for scrolling window:
1. Create the basic HTML page.
2. Create the Div with some text.
3. Write the css code which makes the Div scrollable.
if I asked you how 3) is done, would you scream at me? (I've read a PDF on CSS, it's not a *programming language*, right? I don't really get how it works anyway, I dislike what I *do* know about it).
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
text scroling by would probably be accomplished as such
Code:
<div id="scrolling_div">
//contents of div
</div>
and the stylesheet for that div would be
Code:
div#scrolling_div {
width:130px; /*or however many pixels wide you want it */
height:130px; /*or however many pixels tall you want it */
overflow:hiden;
/* any more styling information such as color (text color), background-color, font-weght, font-size etc.. */
}
and then find a javascript that automatically scrolls the contents of the div and follow the instructions on how to use it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.