Results 1 to 8 of 8

Thread: I need the VB Script to Scroll to the bottom of the screen with out showing it scroll

  1. #1

    Thread Starter
    Addicted Member Frankie902's Avatar
    Join Date
    Feb 2001
    Location
    Lindenwold, NJ, USA
    Posts
    217

    I need the VB Script to Scroll to the bottom of the screen with out showing it scroll

    I need the VB Script to Scroll to the bottom of the screen with out showing it scroll
    Using:
    Visual Studio .Net Enterprise
    Visual Basic 6.0 Enterprise

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    sounds to me like you just need an anchor at the bottom of the page which you need to navigate to

    Code:
    <HTML>
    <HEAD>
    
    </HEAD>
    <BODY>
    
    <A HREF="#bottom">bottom</A>
    
    
    <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
    
    
    <A NAME="bottom"></A>
    
    </BODY>
    </HTML>
    Mark
    -------------------

  3. #3

    Thread Starter
    Addicted Member Frankie902's Avatar
    Join Date
    Feb 2001
    Location
    Lindenwold, NJ, USA
    Posts
    217
    I think that will do
    Using:
    Visual Studio .Net Enterprise
    Visual Basic 6.0 Enterprise

  4. #4

    Thread Starter
    Addicted Member Frankie902's Avatar
    Join Date
    Feb 2001
    Location
    Lindenwold, NJ, USA
    Posts
    217
    how would I make it when the page is loaded that it goes straight to #bottom? making it like: file:///C:/WINDOWS/temp/Frankie90222.htm#bottom

    doesnt work at all, it just opens the page
    Using:
    Visual Studio .Net Enterprise
    Visual Basic 6.0 Enterprise

  5. #5
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    I just pasted the code above into a file and it worked fine. So I don't know what the problem is.
    Mark
    -------------------

  6. #6

    Thread Starter
    Addicted Member Frankie902's Avatar
    Join Date
    Feb 2001
    Location
    Lindenwold, NJ, USA
    Posts
    217
    Yes Pressing the link works, but adding #bottom Manually doesnt, See I need it to scroll to the bottom on when the page is opened.
    Using:
    Visual Studio .Net Enterprise
    Visual Basic 6.0 Enterprise

  7. #7

    Thread Starter
    Addicted Member Frankie902's Avatar
    Join Date
    Feb 2001
    Location
    Lindenwold, NJ, USA
    Posts
    217
    help
    Using:
    Visual Studio .Net Enterprise
    Visual Basic 6.0 Enterprise

  8. #8
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    typing the following into IE5 works (for me)

    file:///C:/test.htm#bottom
    Mark
    -------------------

Posting Permissions

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



Click Here to Expand Forum to Full Width