Questions tagged as 'rolamento'

1
answer

How to add the logo in the fixed menu after a certain scrolling on the page?

Like this site for example: After fifteen . Just like in the photo, I want the logo to come and from a certain scroll, the 'new' menu appears along with the photo. I do not know how to put the photo just in that scroll. Would I have to create t...
asked by 17.01.2016 / 10:28
1
answer

Overflow-x hidden no body

I added Overflow-x: hidden in the body but it is not working. overflow hidden disable scroll, or just hide the bar? html, body{ overflow-x: hidden; -webkit-overflow-x: hidden; } /* tentei das duas formas */ body{ overf...
asked by 13.05.2015 / 17:28
1
answer

Load data while scrolling the page with jQuery

I need help completing a code I'm developing. How can I do it, so that when the user enters the page the last 8 posts appear, and when the user scrolls, load the posts, within a loop, and at the end show the message "No there's nothing else h...
asked by 07.03.2015 / 02:50
1
answer

Horizontal timeline while descending the page

(function($){ $(function(){ // Slider functionality // slide knob to position function (function( $ ){ $.fn.slideToPos = function() { var left = $(this).position().left + ($(this).width() /...
asked by 23.07.2015 / 18:09
3
answers

Opacity according to Page Scroll

I have the following complication: $(window).scroll(function() { $('ID').css('opacity', parseInt(1 - ($(this).scrollTop()/100)*1)); }); In this code I can put the opacity: 1; when the scroll is at the top and when spinning only 1px it a...
asked by 20.10.2016 / 23:59
3
answers

Change scrollbar placement in a div

By default, in a horizontal menu the content is read from left to right, as in this image: However,Iwouldlikethatwhenthecontentloads,thescrollbaris,say,automaticallymovedtotheright,asinthisimage: Is this possible?     
asked by 17.10.2018 / 19:05
4
answers

Scroll with Jquery

I'm creating a website, and I'm wanting to do a scrolling effect on the pages where clicking the menu item scrolls to where the related information is. It would be more or less the same, but a bit simpler with just the same scrolling. Coul...
asked by 26.05.2014 / 20:19
2
answers

Button that scrolls the page up without reaching the top

I have a code that scrolls the page to the top, but I do not want it to reach scrollTop = 0. It is possible that by clicking the button, it just slightly raises the page up, as if I had the keyboard above the keyboard? $(document).ready(fu...
asked by 04.10.2018 / 18:07
1
answer

Manipulating elements with page scrolling in JavaScript

I would like to display or hide the menu according to the scroll of the page, I tried to develop as follows: window.scrollTo(function(){ if (window.scrollTo() > 212) { // se for maior de 212 pixels some o menu document.getEl...
asked by 14.01.2016 / 17:16
1
answer

Smooth scroll anchor link

The following JS is intended to promote smooth scrolling when we click on anchors in a one-page site. Is it possible to restrict the performance of it only at resolutions higher than 760px? $(document).ready(function () { function filter...
asked by 24.02.2015 / 20:51