1
It is possible when opening the page to direct click in the center of it without anchor and also without scroll ?
Everything I research relates to window.open()
.
I haven’t found anything specific about what I need.
1
It is possible when opening the page to direct click in the center of it without anchor and also without scroll ?
Everything I research relates to window.open()
.
I haven’t found anything specific about what I need.
2
It is possible to direct to a specific element:
http://www.minhapagina.com/#centro
That is, when entering the main page, just redirect to the same address by adding #
+ id of the element!
1
I decided as follows:
$(document).scrollTop($(window).height() / 2);
My document will open in the center of the page, making screen size divided by 2.
Finally, mosquei.
Wasn’t meant to be sem precisar de âncora e também sem scroll
?
But the page already opens right in the center. When I said scroll I meant scroll. The page was opening and rolling as far as I wanted.
you wanted no scrolling animation so right?
That’s right Charles.
Browser other questions tagged javascript html
You are not signed in. Login or sign up in order to post.
But I said I don’t want an anchor. But thank you. I’ve already solved it here.
– Diego Souza