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...
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...
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...
(function($){
$(function(){
// Slider functionality
// slide knob to position function
(function( $ ){
$.fn.slideToPos = function() {
var left = $(this).position().left + ($(this).width() /...
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...
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?
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...
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...
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...
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...