Viewing Adding anchors in vs 1.6 - i.e. 'Go To Top'

Adding anchors in vs 1.6 - i.e. 'Go To Top'



User: Christopher 11 years ago
It says: - "You can now enter anchors within the External Link field." I'm not seeing the option. How do we do this? I'd like to add a "Go To Top" button at the bottom of my mobile pages and the only solution I see is to purchase Roddy's widgets – which I have no problem doing if I can't do this myself! But it would seem we can now do this ourselves, no?

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Jumbo T. 11 years ago
Imagine a world where everything is free and where Roddy finds the knowledge for his widgets :

http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm
User: Roddy 11 years ago
The OP is referring to the new function where you can add relative hyperlinks in the external link field rather than just an absolute one.

For a straight forward back to the top anchor, all you need to do is enter the hash sign into the URL field or create your own in a snippet using an <a> tag.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 11 years ago
[quote name=Jumbo T. time=08/10/2014 13:33:11]Imagine a world where everything is free and where Roddy finds the knowledge for his widgets :

http://www.dynamicdrive.com/dynamicindex3/scrolltop.htm

Thanks Jumbo. I might try this one. But how do you modify the javascript if it is fetched online? Do we put it on our own server, make changes, and then redirect the url to that?

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Christopher 11 years ago
Quote: Roddy - 08/10/2014 14:35:22
The OP is referring to the new function where you can add relative hyperlinks in the external link field rather than just an absolute one.

For a straight forward back to the top anchor, all you need to do is enter the hash sign into the URL field or create your own in a snippet using an <a> tag.

Thanks Roddy. Hyperlinking to an arrow at the bottom works perfectly with the hash tag. But for smooth scrolling, any chance you'll modify your notes here now that we can add anchors?

Alternatively, if anyone wants a good Scroll To Top button, check out this link.

Last edit 11 years ago

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 11 years ago
I have given the code for both the link…

<a href="#anchor-name" class="scroll">Smooth Scroll</a>

… and the anchor…

<a id="anchor-name"></a>

I wouldn't advise using the code for scroll top on the page you posted the link to.

They use a really old version of jQuery. EverWeb now loads jQuery for you on every page of your website - whether you want it or not. If you are unaware of this, and load another version, you end up breaking stuff. Be warned.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Christopher 11 years ago
I still can't figure out how to do a smooth scroll to top using the instructions on this page. But no bother. Hyperlinking to an arrow with the hash symbol gives me a jump to top so for the time being, that will be fine.

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: Roddy 11 years ago
Smooth scroll to the top is dealt with here...

http://everwebcodebox.com/links/scroll-top.html

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
✔ Best Answer  
User: Christopher 11 years ago
Beautiful! Thanks

-------------------------------
rMBP 15", 2.6 Ghz, 16 GB RAM, OS X 10.11.6, with 27" Thunderbolt Cinema Display

www.cleetche.com
User: John S. 11 years ago
Quote: Roddy - 09/10/2014 14:48:32
They use a really old version of jQuery. EverWeb now loads jQuery for you on every page of your website - whether you want it or not. If you are unaware of this, and load another version, you end up breaking stuff. Be warned.


Good to know.


Post Reply
You must login or signup to post.