Results 1 to 3 of 3

Thread: Change scroll from vert to horizontal

  1. #1
    Join Date
    Aug 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Change scroll from vert to horizontal

    1) Script Title: Page Scroller (aka Custom Scrollbar)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...gescroller.htm

    3) Describe problem: No Problem, works great. This is something I have been looking for quite some time.

    Just looking for a modification of the script. I would like to have the scroll go < left / right > instead of up / down.

    This script seems to work in Firefox on the site demo but the copy and pasted script does not work locally or on my test site with FireFox. It has been pasted into the correct section of the html.

    Any help would be greatly appreciated.

    Thanks
    ZP

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

  3. #3
    Join Date
    Aug 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up It Works!

    Hello John


    Thank you very much for the help. Are you the fellow that wrote this script?
    I have this in an IFrame to move its content left and right. It works great. For the time being I used text instead of an image for the arrows. In IE it acts a bit strange though, the text is not visible until you hover over the area where the containing table for the Left Right text is positioned. Typical IE. FireFox is fine. The text Left right comes up right away.

    This is the way I modified the table section. I have also tried the Class (.style2) in the <td.... section on both left and right with the same IE effect. Even without the style it still acts strange in IE.

    .style2 {
    color: #FF9933;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    font-weight: bold;
    }


    </head>


    ---------------------------------------------------------------

    <body>


    <table class="style2" id="staticbuttons" style="position:absolute; cursor: pointer; left: 312px; top: 570px; width: 266px; height: 49px;">
    <tr><td width="87" >&nbsp;<a onmouseover="myspeed=-thespeed" onmouseout="myspeed=0">LEFT</a></td>
    <td width="57">&nbsp;<a onmouseover="myspeed=thespeed" onmouseout="myspeed=0">RIGHT</a></td>
    </tr></table>


    Thanks again

    ZP

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
  •