Results 1 to 3 of 3

Thread: Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2019
    Posts
    44

    Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?

    Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?
    < advertising removed by moderator >

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?


  3. #3
    Hyperactive Member coothead's Avatar
    Join Date
    Oct 2007
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    284

    Re: Which Attribute Is Used To Scroll Up To The Top Of The Page Without Reloading It?

    Hi there Siddhi Patel,

    this task has no need for JavaScript.

    Simply use existing HTML...

    Code:
    
    <!DOCTYPE HTML>
    <html lang="en">
    <head>
    
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1">
    
    <title>Page title</title>
    
    
    </head>
    <body> 
    
     <div id="top"></div>
    
    
     <a href="#top">Top</a>
    
    </body>
    </html>


    ~ the original bald headed old fart ~

Tags for this Thread

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