ChrisWeigen
ChrisWeigen

Reputation: 69

How can I set a specific page transition from Page1.html into Page2.html?

Using http://tympanus.net/Development/PageTransitions/

Take a look at that website, and the transition i'm trying to work with is 'rotate > room >'

Here's the github repo of where I'm at, but I'm very lost and this is getting extremely difficult to incorporate. What I want to achieve is for example:

Homepage.html > room to left > leftpage.html

leftpage.html (ONLY HAS 1 OPTION) > room to right > homepage.html

Upvotes: 3

Views: 118

Answers (1)

adv12
adv12

Reputation: 8551

Note that the URL on the site you link to never changes for the different "pages." All the content is on a single page. It's not possible to control the transition the browser displays between two completely different HTML pages. If you can re-implement your site as a single-page site, you'll be able to use CSS transitions to switch between different content divs.

Upvotes: 2

Related Questions