Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displays the old page twice #19

Closed
ghost opened this issue Oct 16, 2014 · 8 comments
Closed

Displays the old page twice #19

ghost opened this issue Oct 16, 2014 · 8 comments

Comments

@ghost
Copy link

ghost commented Oct 16, 2014

Hi there,

i would love to use this great plugin for a drupal installation. The transition itself works fine but the old page displays twice. After one click, the animation begins. After fading out the old content, the page displays again followed by the url request. The new page loads followed by the choosen transition.
Are there ways to solve this?

Thank you very much

@gauravpadia
Copy link
Collaborator

Hi Devkick,

Do you have any URL in action to see this issue ?

Thanks.

@ghost
Copy link
Author

ghost commented Oct 16, 2014

Sure

Hi Devkick,

Do you have any URL in action to see this issue ?

Thanks.


Reply to this email directly or view it on GitHub.

@gauravpadia
Copy link
Collaborator

@devkick

After checking your website HTML source, it seems you are not adding "animsition" class to body tag.

If you add animsition class to your body tag then this issue will be fixed but I think it will create new issue, after you add animsition class to body then loading icon may not show. To fix that you will need to wrap your body inner part with <div class="animsition"></div>. See example below:

<body>

  <div class="animsition">


    <a href="./page1" class="animsition-link">animsition link 1</a>

    <a href="./page2" class="animsition-link">animsition link 2</a>

  </div>

</body>

See "Step 2 HTML Markup" on the demo link - http://git.blivesta.com/animsition/

Also I think you are directly calling animsition plugin on body element. After you make above changes please follow "Step 3: Call the animsition" as per demo link.

Please let me know this helps or not.

Thanks.

@ghost
Copy link
Author

ghost commented Oct 17, 2014

Done, and changed the loadingParentElement from “body" to ".animsition”.
Works fine (my bad). Thank you for help and this plugin.


Andreas Blaschke
(Responsive) Web-Frontend-Entwickler

+49 (0) 7062 902070 1 | devkick.de | twitter.com/@devkick
Im Mühlhof 11, 74360 Ilsfeld

On 16.10.2014, at 21:45, Gaurav Padia notifications@github.com wrote:

@devkick

After checking your website HTML source, it seems you are not adding "animsition" class to body tag.

If you add animsition class to your body tag then this issue will be fixed but I think it will create new issue, after you add animsition class to body then loading icon may not show. To fix that you will need to wrap your body inner part with

. See example below:

<a href="./page1" class="animsition-link">animsition link 1</a>

<a href="./page2" class="animsition-link">animsition link 2</a>

See "Step 2 HTML Markup" on the demo link - http://git.blivesta.com/animsition/

Also I think you are directly calling animsition plugin on body element. After you make above changes please follow "Step 3: Call the animsition" as per demo link.

Please let me this helps or not.

Thanks.


Reply to this email directly or view it on GitHub.

@ghost ghost closed this as completed Oct 17, 2014
@blivesta
Copy link
Owner

@gauravpadia 👍

@gauravpadia
Copy link
Collaborator

@devkick My pleasure, glad I could help. By the way I think you should keep loadingParentElement set to "body" otherwise "loading" text/animation will not show because "animsition" class have opacity set to zero.

@ghost
Copy link
Author

ghost commented Oct 17, 2014

Understand, changed for 1 minute.
Thank you


Andreas Blaschke
(Responsive) Web-Frontend-Entwickler

+49 (0) 7062 902070 1 | devkick.de | twitter.com/@devkick
Im Mühlhof 11, 74360 Ilsfeld

On 17.10.2014, at 12:21, Gaurav Padia notifications@github.com wrote:

@devkick My pleasure, glad I could help. By the way I think you should keep loadingParentElement set to "body" otherwise "loading" text/animation will not show because "animsition" class have opacity set to zero.


Reply to this email directly or view it on GitHub.

@senkmathew
Copy link

Hi
Sir, Could you please tell me how this can be used in div transition. I want to keep the header and footer only the central div should move. Is this possible with this.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants