Two separate questions/issues.
-
I want to make pulldown menus disappear automatically when a selection is made. I just plain don’t know how to make this happen.
-
When reloading, the page goes to some spot way down the page. I want it to go to the top of the page automatically. I have tried entering javascript in custom code:
window.onbeforeunload = function () {
window.scrollTo(0, 0);
}
jquery:
$(document).ready(function(){
$(this).scrollTop(0);
});
and that having failed, I tried going to anchor, the anchor being at the topof the page:
<script type=“text/javascript”>
<!–
window.onload=function(){anch=window.location.hash;window.location.hash=anch;}
//–>
</script>
No success at al. It just keeps going where it wants.
Any ideas?
Thanks in advance.
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
my read only share link: