Questions tagged [smoothstate.js]

smoothState.js is a jQuery plugin for adding page transitions.

smoothState.js is a jQuery plugin that progressively enhances page loads to give us more control over page transitions.

79 questions
1
vote
1 answer

jQuery is not defined on Wordpress - smoothstate Js

I am trying to install smoothState.js to my wordpress theme. It is not working and while debugging, I am seeing this error - "jQuery is not defined". This is in the smoothState.js file I copied over. Can anyone help me with this? Am I am installing…
bugbytes
  • 315
  • 1
  • 5
  • 13
1
vote
0 answers

Material Design Ripple Animation into Transition HTML Web

Hello StackOverFlowers! I found this really awesome animation on jsfiddle.net and would really love to use it in my project. I'f you follow the link the author, 'internoma', states that it can be used as a page transition if a little Ajax is…
Nate
  • 21
  • 5
1
vote
1 answer

SmoothStateJS with Custom Google Map

I know this question has been asked a few times before, but looking through the answers I still can't figure out how to fix the issue, Would someone be able to help? My map works when I refresh the page, but when I navigate to it from any other page…
DCR97
  • 27
  • 7
1
vote
0 answers

Stopping pacejs on smoothstate links

I'm trying to stop pace.js to load when the user clicks on Smoothstate links. I thought calling Pace.stop inside smoothscroll on events, using the ignore setting but still the event is triggered. $('.chronology-nav a').click -> …
adam
  • 618
  • 2
  • 11
  • 31
1
vote
1 answer

Using SmoothState.js with Wordpress but maintain body classes

Has anyone successfully used SmoothState.js with Wordpress? Particularly maintaining the classes that are applied to the body tag? I have applied SmoothState to my Wordpress site but the major problem I have is with the classes on the body tag not…
CraigDev
  • 113
  • 1
  • 12
1
vote
1 answer

SmoothState keeping js files for all pages, some functions being repalced

Lots of pages on my site have their own javascript files that are included in their respective pages. SmoothState provides the onAfter handler to re-initialize plugins, and some of these pages' javascript files have their own "init function" that…
Jeremy
  • 824
  • 1
  • 9
  • 21
1
vote
1 answer

smoothState.js: Add class to #main wrapper

I am using smoothStates default settings and I wanted to know if I can add a class to the main wrapper so I can change the background color of the site? I don't want to add another div under main as its just extra markup. At the moment I can only…
Emma Stone
  • 135
  • 1
  • 11
1
vote
1 answer

$.ajax submit on the same page and form works only the first time

I am using smoothState.js and I am having an issue with submitting a form and then reloading (refreshing) the page. When I submit the first time it works as expected. The page refreshes with the new/changed data in the inputs. But when I submit it…
Svedr
  • 589
  • 2
  • 6
  • 21
1
vote
1 answer

Post [object%20HTMLInputElement] 404 not found on $.ajax submit

I am having a slight issue trying to implement smoothState.js (https://github.com/miguel-perez/smoothState.js) with my JSP backend. I get this error when I try to submit the form for the first time. The second time I press submit it goes through, I…
Svedr
  • 589
  • 2
  • 6
  • 21
1
vote
0 answers

Scrollify not allowing other pages to scroll

I have a website I'm currently developing and I'm using Scrollify for one of the pages. In particular, my project sections. All the pages work fine until I visit my Project page. After that, none of them scroll anymore. The project page continues to…
1
vote
1 answer

How to Disable smoothState.js from WooCommerce Add-to-Cart Buttons and Login/Register Links

I've just implemented smoothState.js on a WooCommerce-powered store I'm currently working. Live demo can be found by following this link: http://demos.oosh.co/bt The only problems I'm still having are two: When you click the Add to Cart buttons the…
Kabolobari
  • 11
  • 3
1
vote
1 answer

Smoothstate.js and Django - Form POST only triggered on second click

Im currently trying to integrate Smoothstate.js into my Django Project. I'm using the js code snippet from the smoothstate.js github site. $(function(){ 'use strict'; var options = { prefetch: true, cacheLength: 2, onStart: { …
LonnyT
  • 590
  • 1
  • 8
  • 21
1
vote
0 answers

Using jQuery in combination with javascript electron

UPDATE: while I was pressing enter in StackOverflow is accidentally got submitted! Updating the Post at the moment Update 2: complete post finished I currently have a problem combining Javascript with jQuery in Electron. I am running javascript…
Subject
  • 11
  • 3
1
vote
0 answers

Smoothstate: simoultaneously show old and new content for smooth page transitions

I´m using smoothState.js for page transitions on a wordpress project. To built similar transitions as seen here, it´s necessary to see both the new and old content simoultaneously. According to the solution provided here, i have to clone the current…
1
vote
1 answer

SmoothSate.js issue

I'm trying to boost my online store's performance by using SmoothState.js. It work's very well, until I come to the part in the tutorial where I'm working on the functions.js file. What happens when the function.js file is added, is that some links…
vemund
  • 1,667
  • 4
  • 29
  • 43