scrollbar generator code?

does anyone know the html or javascript code to add a scrollbar generator onto a webpage??

if so, could u please include what to put where (example: what goes in the <head></head> and <body></body> tags)

3 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    http://www.hypergurl.com/generators/colorscrollbar... will give you the code generator including a color :), when you get the code cut and paste it between head tags

  • 4 years ago

    i do no longer comprehend of any code to truly MAKE a scroll bar, yet i comprehend a thank you to enable one, disable one, and alter the colours/aspects of visual attraction on them. deliver me a message in case you like, and that i'm able to email you the codes i'm pertaining to.

  • 1 decade ago

    What is a "scrollbar generator"?

    Are you referring to the CSS attribute called "overflow" possibly?

    It's used like this:

    <html>

    <head>

    <style type="text/css">

    .fixed_size {

    width: 200px;

    height: 150px;

    }

    .scroll {

    overflow: scroll;

    }

    </style>

    </head>

    <body>

    <div class="fixed_size scroll">

    <p>

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam scelerisque purus nec est. Maecenas sed ante. Sed auctor. Sed congue. Vestibulum varius, lorem quis feugiat cursus, leo eros consectetuer enim, eget aliquet enim sem vitae enim. Vivamus lorem enim, congue vitae, sollicitudin sed, dictum non, arcu. Vivamus ligula. Quisque nunc. Mauris congue, mi in adipiscing vestibulum, mauris nulla ullamcorper tellus, a tristique nunc lorem et nisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi malesuada bibendum dui. Maecenas pretium gravida enim. Phasellus congue, urna eget adipiscing fringilla, lacus ligula commodo purus, sed tristique sapien lorem id enim. Aenean imperdiet venenatis eros. Sed tempus. Etiam eros magna, auctor at, ultrices non, viverra in, odio. In pretium. Praesent non felis. Suspendisse potenti.

    </p>

    <p>

    Sed bibendum tortor non nunc. Praesent varius dictum urna. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec nisl risus, dignissim non, porttitor at, imperdiet in, nisl. Phasellus non lorem. Ut vulputate pellentesque elit. Donec placerat vulputate elit. In dolor pede, eleifend sed, hendrerit ultrices, feugiat non, dolor. Nunc fringilla sem eu leo. Sed nunc lacus, euismod id, commodo quis, interdum eget, ligula. Suspendisse potenti.

    </p>

    </div>

    </body>

    </html>

Still have questions? Get your answers by asking now.