Back to Top Button

JeffC230JeffC230 Registered Users Posts: 165 Major grins
edited February 5, 2014 in SmugMug Customization
Does anyone know how to implement a back to top button?? And where to put the coding exactly?? Thanks to whoever helps:D
Jeff K.
Newbie in Action
http://www.photospaced.com

Comments

  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited February 5, 2014
    http://www.dgrin.com/showthread.php?t=244587
    http://www.dgrin.com/showthread.php?t=244278

    For ideas and hopefully a solution. I haven't tried this myself.
  • JeffC230JeffC230 Registered Users Posts: 165 Major grins
    edited February 5, 2014
    ChancyRat wrote: »
    http://www.dgrin.com/showthread.php?t=244587
    http://www.dgrin.com/showthread.php?t=244278

    For ideas and hopefully a solution. I haven't tried this myself.

    You lit a fire under my butt to find a working code since. The two you sent me helped out a bunch....here is what I found:

    <a style="position: fixed; bottom:5px;left:5px;" href="#" title="Back to Top"><img style="border: none;" src="YourButtonUrl"/></a>

    I replaced the "yourbuttonurl" with a png image that I found. And placed it under my "All Galleries" section when I hit customize site. I changed around the "bottom" and "left" part a bit to sit it up higher and put it to "right". Just a note for any one else trying to get this done! Check out my site to see it in action, its a floating arrow too!
    Jeff K.
    Newbie in Action
    http://www.photospaced.com
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited February 5, 2014
    WHOA NELLIE that is COOL! wings.giflustwings.gif
    Thank you so much for figuring it out.
    I had no idea I could be such a fire-starter. :D

    When you say you "placed it under my "All Galleries" section when I hit customize site", you mean as an HTML block - placed - in the footer section?
  • JeffC230JeffC230 Registered Users Posts: 165 Major grins
    edited February 5, 2014
    ChancyRat wrote: »
    WHOA NELLIE that is COOL! <img src="https://us.v-cdn.net/6029383/emoji/wings.gif&quot; border="0" alt="" >lust<img src="https://us.v-cdn.net/6029383/emoji/wings.gif&quot; border="0" alt="" >
    Thank you so much for figuring it out.
    I had no idea I could be such a fire-starter. :D

    When you say you "placed it under my "All Galleries" section when I hit customize site", you mean as an HTML block - placed - in the footer section?

    Yeah I created an HTML block, right under "gallery content" and above the "social icons" portion. I'm not sure if this was needed but I put
    <a name="top" id="top"> </a>
    I put that wherever I wanted to tell the link to go to. I put it under the links/header of my page but above the breadcrumb part.
    Jeff K.
    Newbie in Action
    http://www.photospaced.com
Sign In or Register to comment.