Professional Web Applications Themes

"back to top of page" code - Macromedia Dynamic HTML

how do you make a text link at the bottom of the page go all the way to the top of the page when you click on it. thanks!...

  1. #1

    Default "back to top of page" code

    how do you make a text link at the bottom of the page go all the way to the top of the page when you click on it.

    thanks!
    webontwerpen Guest

  2. #2

    Default "back to top of page" code

    how do you make a text link at the bottom of the page go all the way to the top of the page when you click on it.

    thanks!
    webontwerpen Guest

  3. #3

    Default Re: "back to top of page" code

    <body id="top">
    .....
    <a href="#top">Back to top</a>
    </body>
    </html>

    This will work in all modern browsers.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "webontwerpen" <com> wrote in message
    news:fqjk8a$o03$macromedia.com... 

    Murray Guest

  4. #4

    Default Re: "back to top of page" code

    where do I put it in the following? I have tried a number of positions, but it
    won't work, and is a different color than the text.

    [LI]ZincOxide: Inert earth mineral used as
    a sunscreen ingredient to block UVA and UVB. Along with titanium dioxide, zinc
    oxide is considered to have no risk of skin irritation. It can also be an
    anti-irritant and potentially an antioxidant. </li>
    [/BULLET]
    </div>

    webontwerpen Guest

  5. #5

    Default Re: "back to top of page" code

    See what the webforum does to your code? Ugh...

    Why not post a link to the page, and tell us where you want the go to top
    link to appear, please.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "webontwerpen" <com> wrote in message
    news:fqkg3b$o8n$macromedia.com... 

    Murray Guest

  6. #6

    Default Re: "back to top of page" code

    <a href="#">back to top</a>

    will work, although technically you should use NAME anchors:

    <a name="top">TOP O' PAGE</a>

    <a href="#top">back to top</a>
    NickAvallone Guest

  7. #7

    Default Re: "back to top of page" code

    Or better, ID anchors.

    <p id="top"...

    or even

    <body id="top"...

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "NickAvallone" <com> wrote in message
    news:fqs5fv$9gk$macromedia.com... 

    Murray Guest

Similar Threads

  1. Source code for "syslog()" and "open" command shell
    By Alain in forum Mac Programming
    Replies: 3
    Last Post: January 2nd, 03:03 AM
  2. Question: How can I "expire" a web page (prevent BACK button)
    By VB Programmer in forum ASP.NET General
    Replies: 12
    Last Post: August 5th, 11:30 AM
  3. Need Code for "Print This Page" "Print This Table"
    By Happiness87 webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 2
    Last Post: July 20th, 08:47 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139