HTML Tips #1

Link to jump to specific part of page

Simple anchor tag can be used to jump to specific part the page.

<a href="#INSERT_YOUR_OBJECT_NAME_HERE">The object you want to link to.</a>

We can do it with jquery also

<a id="tab_jumps"></a>
<a href="#tab_jumps" id="tab_jump"></a>
		window.location = $('#tab_jump').attr('href');


Happy Coding!!!

CSS Tips #1

Disable link with CSS.

If you want to disable the link from clicking than this simple CSS will do the trick rather than writing a javascript.

<a href="link.html" class="not-active">Link</a>

.not-active {
   pointer-events: none;
   cursor: default;