Announcement

Collapse
No announcement yet.

Link to top of page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Link to top of page

    Hi Folks

    I know I have read this here somewhere but I have spent hours searching and can't find it again ....

    How do I put a link from the bottom of the page back up to the top?

    I've got some queries about hosting but will find a more suitable part of the community for those.....

    Cheers

    Bridget

    http://www.militaryfigures.co.uk (existing site produced with different software)
    http://www.militarygifts.co.uk/acatalog/test/index.html (new actinic site in progress)

    #2
    Welcome Bridget.
    The html is...
    At the top of the page body you will need an anchor:
    <a name="top"></a>
    and down the page you will need a link to the anchor:
    <a href="#top">Top</a>

    You could include the 'top' anchor in your Act_Primary template and then perhaps include some html in your product description containing the link to the 'top'.

    Comment


      #3
      Hi Duncan

      Thanks for your quick response. Unfortunately I'm not bright enough to understand it. Would you mind providing me with a bit more of a walkthrough please? I'm a real newbie to html and editing the templates.

      Sorry.

      Bridget

      Comment


        #4
        The Act_Primary.html template in your Site1 directory is used for the product sections. Make a copy of it before making any changes. Open it in Notepad or other editor and add:
        Code:
        <a name="top"></a>
        just after the <BODY> tag, then save the template.

        Now in your product full description you could for example do this:
        Code:
        This is my product full description blah blah blah !!<<br><a name="top"></a>>!!
        Edit: Typo in the line just above - see the correction in Jo's post below.

        Comment


          #5
          Code:
          This is my product full description blah blah blah !!<<br><a href="#top">Top</a>>!!
          i've correctedDuncan's code, his first post was correct, the 2nd was not

          Comment


            #6
            Oops - Thanks Jo - was a long day yesterday. I hope I didn't cause you some extra work Bridget.

            Comment


              #7
              Hi Duncan and Jo

              Just writing to say a big thank you for the advice - much appreciated. Sorry it took me so long - little matter of a full time job keeps getting in the way - very boring. Anyway, think I have sorted it now - hopefully without breaking something else!

              Thank again.

              Bridget
              www.militaryfigures.co.uk

              Comment

              Working...
              X