Questions tagged [internal-link]

36 questions
0
votes
1 answer

How to transform "javascript:scrollto('.class');" to an external link (leading to a certain .class on the site from the outside)?

I was trying to create a 'one-page-layout' with a smooth scrolling using internal links. This is the code: function scrollto(element) { $('html, body').animate({ scrollTop: ($(element).offset().top - 40) }, 'slow'); }; There is a fixed header…
0
votes
1 answer

Scrolling back up prevented after clicking link to page anchor (HTML5)

After clicking a link to a section further down the page, scrolling back up is prevented. The browser just stops at the anchor location. I have to erase the #[anchorid] bit from the end of the URL and refresh to get back to the top of the…
0
votes
1 answer

GA Event tracking only works in external, target="_blank" links, not working in internal links nor mailto

I'm implementing event tracking on my website and noticed it's only working in external, target blank links. When I first put the code, 3 days ago, it worked on internal links and mailto as well. One day latter I decided to use a different set of…
ana
  • 13
  • 3
0
votes
1 answer

why this complicated structure constants is internal linkage

as you know, constants defaults to internal linkage. const int Buf = 1000; // defaults to internal linkage Buf can be defined in a header file, it's visible only within the files where it is defined and cannot be seen at link time by other…
-2
votes
1 answer

How to prevent screen reposition when linking to tab

I have an issue I have linked to tab on the same page but I do not want my screen to move to the top when clicked. Can someone help please? Best Regards
-4
votes
1 answer

How do I crawl a page using JS for internal links ? It has to be done recursively as well

So basically, the task is to crawl the web page using JavaScript and when I find the internal links, I should find the internal links in each of them as well and it has to go as many levels 'deep' as it needs. Please share any ideas.
tata
  • 11
  • 1
  • 5
1 2
3