Scroll Bars

Results 1 to 4 of 4

Thread: Scroll Bars

  1. #1
    Hiram Upchurch Guest

    Default Scroll Bars

    I have a page that makes use of 2 HTML frames. The top frame is a set of column headers for the data that appears in the bottom frame. My problem is that the data is too wide for the screen, so hence I get scroll bars. What I need to do is when the user scrolls in one frame, it needs to automatically scroll in the other frame. If this can be done, it must be in VBScript as we are not allowed to use JavaScript here (not that I know how to do it in JS either).<BR><BR>All help on this will be greatly appreciated. Thanks!

  2. #2
    Reggie Guest

    Default RE: Scroll Bars

    That&#039;s probably impossible. Do you have to use frames?

  3. #3
    Hiram Upchurch Guest

    Default RE: Scroll Bars

    Yes, for this app frames are mandatory. But just for the record, do you have an idea that would work outside frames??

  4. #4
    Join Date
    Dec 1969

    Default RE: Scroll Bars

    Give your two frames names, I called mine "topFrame" and "bottomFrame"<BR><BR>in "topFrame"&#039;s body tag put<BR>&#060;body onScroll="parent.bottomFrame.document.body.scrollL eft = document.body.scrollLeft"&#062;<BR><BR>and in "bottomFrame"&#039;s <BR>&#060;body onScroll="parent.topFrame.document.body.scrollLeft = document.body.scrollLeft"&#062;<BR><BR><BR>This will only work in IE, but I assume that&#039;s what you wanted since you only use VBScript.<BR><BR>Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts