Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8787013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:46:43+00:00 2026-06-13T21:46:43+00:00

I have two lots of the same divs on seperate pages – Is there

  • 0

I have two lots of the same divs on seperate pages – Is there a way to animate them to from the start position landing page to the postion on the 2nd page and open the first content div (blue) so basically animate left to make a vertical line instead of the cube.

so from here http://www.crazyedits.co.uk/

to here http://www.crazyedits.co.uk/home.php# and open the first coloured div?

I am just starting to learn so try to keep it simple peeps (sorry if my question is obvious) – but i have tried for 5 hours to find a solution and nothing seems to work.

landing page button

<div class="button1">
    <div id="icon"><img src="Images/home.png" width="200" height="160" /></div>
    <div id="title">HOME</div>
</div>

content page button

<div>   <div class="content_button1">
    <div ="icon"><a href="#home_page" ><img src="Images/home.png" width="200" height="160" style="border:none;" /></a></div>
    <div id="title"><li><a href="#home_page" >HOME</a></li></div>
    <div id="home_page" class="contain"></div> </div>
</div>

CSS

I think the issue i have is i have had to set 2 different css sets for the buttons on each page – one aligning them in the center and one aligning them left. So if there is a way that i could use the same class and still get the 4 in the square as they are and something to do with an absolute position then i would be a step closer to making it work

/******page buttons*******/

.content_button1{width:199px; height:199px; margin:0px 0px 19px 0px; background-color:#09C;} 
.content_button2{width:199px; height:199px; margin:19px 0px 19px 0px; background-color:#C00;} 
.content_button3{width:199px; height:199px; margin:19px 0px 19px 0px; background-color:#F60;} 
.content_button4{width:199px; height:199px; margin:19px 0px 19px 0px; background-color:#093;} 

/*****landing page buttons*****/

.button1{width:199px; height:199px; float:left; margin:20px ; background-color:#09C;} 
.button2{width:199px; height:199px; float:left; margin:20px ; background-color:#C00;} 
.button3{width:199px; height:199px; float:left; margin:20px ; background-color:#F60;} 
.button4{width:199px; height:199px; float:left; margin:20px ; background-color:#093;} 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:46:44+00:00Added an answer on June 13, 2026 at 9:46 pm

    You can’t really make an animation between 2 pages wecause the page 2 is loaded in the browser and animation is done via JS. The best solution is to make your stuff in a single page and play with absolute position.

    I write a piece of code that could be a little complicated, but I commented a lot, in order to explain you all the stuff.

    The four square are first place at the center of the page and re positionned when you resize the window.

    Then, when you click on one of four square, an animation is launched and the corresponding content appear.

    After that, clicking on another square make appear the corresponding content.

    Good luck !

    http://fiddle.jshell.net/4SZXT/11/ <– The code is here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two dates.Got them from something like...... Calendar c=Calendar.getInstance(); year=c.get(c.YEAR); month=c.get(c.MONTH); month++; date=c.get(c.DATE);
I have two unrelated repositories 'public' and 'develop': prj/ public/ develop/ 'develop' has lots
I have two identical SQL Server tables ( SOURCE and DESTINATION ) with lots
I relised I have lots of models view models with those two properties public
I have two classes (MVC view model) which inherits from one abstract base class.
I have two columns say Main and Sub . (they can be of same
I have two activities almost doing the same thing. The only thing that differs
I have two tables with a many to one relationship which represent lots and
I've two images captured from two cameras of same make placed some distance apart,
I have two tables here both contain like lots of records in the tens

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.