I'm using Ascensor.js

I have five div

<div id="about" class="section"></div>
<div id="home" class="section"></div> 
<div id="services" class="section"></div>
<div id="portfolio" class="section"></div>
<div id="contact" class="section"></div>

I need to create layout like,

about => left
home => center
services => up
portfolio => down
contact => right

Please help to create layout

Recommended Answers

You probably need something like this:

AscensorMap:'2|1 & 1|2 & 2|2 & 3|2 & 2|3'

And three <section>'s, one for each floor. In the middle section, you'll need three <article>'s. This is what I make of the documentation.

Jump to Post

All 2 Replies

You probably need something like this:

AscensorMap:'2|1 & 1|2 & 2|2 & 3|2 & 2|3'

And three <section>'s, one for each floor. In the middle section, you'll need three <article>'s. This is what I make of the documentation.

@pritaeas

Thanks
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.