Back to the top of page ????
Butlerkid
Registered Users Posts: 260 Major grins
Is there a way to provide the viewer with an icon to click that would take them back to the top of the page?
Or some other way to accomplish this?????
Thanks!
Or some other way to accomplish this?????
Thanks!
0
Comments
Found answer - but don't know how to use coding! Help!
This site seems to have the coding to add a "to the Top" feature. I have selected a .png file...
BUT -
1) where do I put the coding in the box....?
2) where do I put the coding in the "scrolltotop.js" link?
3) where do I put the .png and how do I link it to this coding?
4) How do I specifiy "valid doctype" referenced in the IMPORTANT NOTE?
5) what else do I need to do?
I don't know CSS or HTML....hope someone can help me!
www.butlerkid.smugmug.com
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
I've looked around the linked site, but didn't see anything else that address the To the Top feature.....
www.butlerkid.smugmug.com
Figure out where you want this (you may want to test first on a single page). Figure out where you want the link and add an HTML box there. In that box put this:
Change the words as you like.
This gives an invalid link to "#top" which isn't there, but the default (at least in most browsers, not sure if all) is to go back to the top when you get a bad # link.
If you want an image there you have to find an image and wrap the imge in the A code (i.e. the image tag goes inside where it says "Go To Top"), but I haven't tested that.
and I'd like to use a.png file for the icon.....
I got the .png file here - 48x48...... I'll try just the code you gave me first!!!!!
THANKS!
www.butlerkid.smugmug.com
Haven't tried the photo yet....do I put the photo in an unlisted folder and put the URL instead of the wording?
www.butlerkid.smugmug.com
<a href="#Top"><img src="image link" /></a>
My Website index | My Blog
www.butlerkid.smugmug.com
www.butlerkid.smugmug.com
If you have not unveiled check legacy site gallery external links of image.
My Website index | My Blog
www.butlerkid.smugmug.com
<img src="http://butlerkid.smugmug.com/photos/i-42qKSkB/0/15x15/i-42qKSkB-15x15.png" />
My Website index | My Blog
I haven't published it.....can you see it?
I guess a red arrow would match my site better. But at least you guys figured out how to make it work!
The site I saw with this had a two of these "<" (one on top of the other) both pointed up. Nice and simple. But I couldn't find such an icon on the net. I have found a red arrow I might be able to use.
Thank you Denise and Allen!!!!! <img src="https://us.v-cdn.net/6029383/emoji/clap.gif" border="0" alt="" >
www.butlerkid.smugmug.com
Why not create one using Photoshop (or similar program)?
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
www.butlerkid.smugmug.com
You left the # out in front of the word top. Actually, you don't need the "top" at all, you can just have the a href=# and it will work.
I believe if you want to right align the image on the page, you can just wrap your code in
This works....
It's almost midnight....so glad I can now go to bed! !
Just wish it didn't showup when going from one page to another.......it briefly flashes on the page, then disappears.
Let me know what you think!
Thanks everyone!
www.butlerkid.smugmug.com
I'm using FF and it is working great!
In IE, a rectangle appears with an "x" and the word image in red.....but it does still take you to the top of the page.
Perhaps someone could let me know about other browsers?
Any ideas on changing the code to work with most browsers.......?
www.butlerkid.smugmug.com
I even tried pasting the url just for your picture and pasting that into my browser and just get a broken link or 404 error...no picture.
It might be that you're seeing the picture because it is either cached in your computer, or because you're logged into your image host site?
www.butlerkid.smugmug.com
Make sure that the image that the gallery is in has "External Embedding" on.
Gallery Settings > Security & Privacy
My Website index | My Blog
Sharing is On. External embedding is on.
Strange that I can see the image when not logged in to SM, and it works, in FF. Can anyone else verify that it shows up and works properly in FF for them?
www.butlerkid.smugmug.com
IE10 broken link with red "image"
My Website index | My Blog
Using IE, I see the same broken link with red "image"..... but it does work, even though the image is not showing up. Does it work for you?
Thoughts on how to fix it? Current coding is in post #18........
www.butlerkid.smugmug.com
An example of it is here:
http://www.davidweissphotos.com/Browse/TownCountry/China/Zhouzhuang
My Website
Facebook | Twitter | | VSCOgrid | Instagram |
That looks really nice and clean! I may have to do that also if we can't figure this out!
www.butlerkid.smugmug.com
thank you
My Website
Facebook | Twitter | | VSCOgrid | Instagram |
<a href="#top"><img src="http://www.pleasanttravelsphotography.com/photos/i-TQdn2FC/0/30x30/i-TQdn2FC-30x30.png" alt="image" /></a>
And here is the link for the image:
http://butlerkid.smugmug.com/photos/i-TQdn2FC/0/Ti/i-TQdn2FC-Ti.png
www.butlerkid.smugmug.com
www.butlerkid.smugmug.com