Results 1 to 2 of 2
  1. #1
    nataku_0 is offline Senior Member Well Known
    Join Date
    Nov 2005
    Posts
    309

    Default HTML Help with auto scrolling

    Hi, I guess this might be the best place to ask around here.

    This is for all the html, java, computer language people who know way more than I ever will:

    I'm helping my boss design a website for the archtecture school, but it's basically a sharepoint page that displays news on a TV in the office.

    Because the TV is a widescreen, the amount of content, in terms of height, is limited, because if it gets too tall, things start to smash a lot on the screen.

    So basically he's telling me to find a way to make it so that the news and updates posted are kind of...auto scrolling, like within a frame or table of the page.

    I have no idea how to do that. I barely know any html. lol...why he would ask me, I have no idea, but it's on my hands now. He does not want Flash stuff though, because people who want to edit that news stuff do not know flash.

    So I'm wondering if JAVA can pull this off? Or some kind of frontpage, dreamweaver, html code can do what I'm asking, which is just autoscrolling (and looping) within a frame window.

    Thanks a bunch.

  2. #2
    Tedjn is offline Junior Member Newbie
    Join Date
    Jul 2005
    Posts
    10

    Default

    This is a bit late, but I thought I would give you a post

    This can be done several ways, depending on what you need. The most basic is with the HTML <marquee> tag. You will find most of the recent browser support this tag, even Mozilla Firefox (even though it was originally an IE-only tag).

    However, in my knowledge, <marquee> is only good for horizontal scrolling, not vertical, as you may need. If you wish for more information on the tag, however, here you go: http://www.scit.wlv.ac.uk/encyc/marquee.html

    Otherwise, this is usually accomplished by client-side Javascript programming. Most methods use either an iframe to accomplish the scrolling or a <div>. It is simpler than you believe. For the <div> method, you only need to put a function within a timer (via setTimeout or setInterval) that periodically moves your text <div> within another <div> with explicitly set width and heights.

    However, you do not need to understand all that scripting, and even if you do, it is difficult to create one that is completely browser independent sometimes (especially if we get into properties that move objects; whether to use offsetWidth/offsetHeight, IE's currentStyle, etc.)

    You should browser around sites such as http://www.dynamicdrive.com/ and look for scrollers. There will be many for you to browser, and most should work across most browsers.

    Ted

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
vBulletin Skin by: ForumThemes.com
Powered by vBulletin® Version 4.2.0
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79