How to: Links like #gkBottom1-3

Responsive, suitable for any type of business, built for any needs elegant one-page Joomla template.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Aug 15, 2013 7:23 am
Reply with quote
Report this post
Hi. Like you said I madea clean installation without the example code. i used myoldinstallation for a reference on how things are working.

But how are the anchor links working on the frontpage? I copied it over: #gkBottom1-3 for contact but the page is reloading and its not acting like an anchor.

Thank you
User avatar
Junior Boarder

GK User
Thu Aug 15, 2013 9:46 am
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Aug 15, 2013 10:23 am
Reply with quote
Report this post
User avatar
Junior Boarder

GK User
Sat Aug 17, 2013 10:59 am
Reply with quote
Report this post
You have created a link to contact, and should to #gkBottom1-1.
User avatar
Moderator

GK User
Tue Aug 20, 2013 6:28 pm
Reply with quote
Report this post
how are this kind of anchor links working? onmy site now i have a english and a german translation. in the german one the link is working. in the english one not.

en (not working)
http://reinterpreten.de/index.php/en/#gkHeader

de(working)
http://reinterpreten.de/index.php/de/#gkHeader

i only copied the entries and changed the language for my needs.
User avatar
Junior Boarder

GK User
Wed Aug 21, 2013 4:02 pm
Reply with quote
Report this post
Checkout this file:
http://d.pr/i/SaEm
Instead of creating link to phisical contact page, You create custom link that points #id_of_element_to_scroll_to.
If You will look into the source code of homepage, You will find elements that have id="something" in their declaration.
To scroll the page to that "something" element, You use:
"#something" in link address.
User avatar
Moderator


cron