make TCAS_sc1
This commit is contained in:
@@ -145,10 +145,10 @@
|
|||||||
Others:
|
Others:
|
||||||
About us
|
About us
|
||||||
Contact us -->
|
Contact us -->
|
||||||
<div><a href="{{ site.baseurl }}/about">About Us</a></div>
|
<div><a href="{{ site.baseurl }}/about#TCAS_sc1">About Us</a></div>
|
||||||
<div><a href="{{ site.baseurl }}/intro-to-judaism">Intro to Judaism</a></div>
|
<div><a href="{{ site.baseurl }}/intro-to-judaism#TCAS_sc1">Intro to Judaism</a></div>
|
||||||
<div><a href="{{ site.baseurl }}/humanism">Humanism</a></div>
|
<div><a href="{{ site.baseurl }}/humanism#TCAS_sc1">Humanism</a></div>
|
||||||
<div><a href="{{ site.baseurl }}/jewish-history-culture">Jewish Culture & History</a></div>
|
<div><a href="{{ site.baseurl }}/jewish-history-culture#TCAS_sc1">Jewish Culture & History</a></div>
|
||||||
<input type="checkbox" id="i_1" class="hidden" />
|
<input type="checkbox" id="i_1" class="hidden" />
|
||||||
<label for="i_1">Kashrut</label>
|
<label for="i_1">Kashrut</label>
|
||||||
<div>
|
<div>
|
||||||
@@ -156,8 +156,8 @@
|
|||||||
<a href="https://www.instagram.com/kosheriraq1">@kosheriraq1</a><br>
|
<a href="https://www.instagram.com/kosheriraq1">@kosheriraq1</a><br>
|
||||||
<a href="https://www.instagram.com/kosherwales">@kosherwales</a>
|
<a href="https://www.instagram.com/kosherwales">@kosherwales</a>
|
||||||
</div>
|
</div>
|
||||||
<div><a href="{{ site.baseurl }}/membership">Membership</a></div>
|
<div><a href="{{ site.baseurl }}/membership#TCAS_sc1">Membership</a></div>
|
||||||
<div><a href="{{ site.baseurl }}/contact">Contact Us</a></div>
|
<div><a href="{{ site.baseurl }}/contact#TCAS_sc1">Contact Us</a></div>
|
||||||
</div>
|
</div>
|
||||||
<img src="{{ site.baseurl }}/res/arrow-left.svg" onclick="toggle_sidebar()" />
|
<img src="{{ site.baseurl }}/res/arrow-left.svg" onclick="toggle_sidebar()" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
8
main.js
8
main.js
@@ -1,5 +1,13 @@
|
|||||||
var startX = 0;
|
var startX = 0;
|
||||||
|
|
||||||
|
if (window.location.hash == "#TCAS_sc1") {
|
||||||
|
document.getElementById("outer").scrollTo({
|
||||||
|
top: document.getElementById("content").getBoundingClientRect().top,
|
||||||
|
left: 0,
|
||||||
|
behavior: "smooth"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
window.ontouchstart = (evt) => {
|
window.ontouchstart = (evt) => {
|
||||||
startX = evt.touches[0].clientX;
|
startX = evt.touches[0].clientX;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user