56 users online (0 members and 56 guests)  


  Results 1 to 4 of 4

Related

  1. desperate for css knowledge    Forum: CSS Forum
    Replies: 2
  2. Replies: 1
  3. Mouseover Pop up does not pop    Forum: Javascript Forum
    Replies: 4
  4. Replies: 1
  1. #1
    girthbrooks's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2004
    Posts
    1

    desperate need of mouseover scrollbar

    please help

  2. #2
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there girthbrooks,

    Due to the minimalistic description of your problem
    it is difficult to know exactly what you require
    So you may like to have a look at this...
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
     <title>mouseover scrollbar</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <style type="text/css">
    /*<![CDATA[*/
    #foo {
        width:324px;
        height:200px;
        text-align:justify;
        border:solid 1px #000000;
        overflow:hidden
     }
    /*//]]>*/
    </style>
    <script type="text/javascript">
    //<![CDATA[
    function scrollBar(){
        document.getElementById('foo').style.overflow="auto";
        document.onmouseout=function(){
        document.getElementById('foo').style.overflow="hidden";
    }
    }
     //]]>
    </script>
    </head>
    <body>
    
    <div id="foo"onmouseover="scrollBar()">
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 
    Praesent blandit venenatis purus. Integer massa libero, vehicula id, 
    consequat sed, tincidunt nec, purus. Class aptent taciti sociosqu ad
     litora torquent per conubia nostra, per inceptos hymenaeos. 
    Suspendisse potenti. Nunc vulputate magna non magna. Aenean 
    lorem eros, adipiscing quis, semper non, dictum a, nunc. Curabitur 
    ut sem. Pellentesque a est id neque hendrerit ultrices. Donec vulputate 
    tincidunt turpis. Curabitur dignissim vestibulum nunc. Aliquam felis lorem, 
    ultrices sit amet, convallis a, accumsan vel, ante. Proin aliquam turpis 
    sed augue. In pellentesque, magna a pulvinar adipiscing, est orci 
    adipiscing felis, sed laoreet urna magna quis neque. Proin facilisis aliquet urna.
    </div>
    
    </body>
    </html>
    coothead

  3. #3
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Coothead,
    Like Dean, Android Enigma and others you always go the full mile in helping fellow webmasters, just wanted to say thanks to you and the rest. More and more often the first lines in peoples first post is what a great place this is ... you guys rock!

    Dave

  4. #4
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732
    Hi there Dave,

    Thanks for your kind words,
    but honestly, and I expect the others will say the same,
    the pleasure is all ours. Sharing knowledge for some
    mysterious reason is self rewarding.

    coothead



Tags for this Thread