2 columns with independent scrolling

Hello,

I am an employee of Adobe and i am administrating a section of Adobe Wiki (wiki.corp.adobe.com).

I was wondering if there is any way i could have 2 independent scrolling columns, 1 left column that is fixed and does not scroll with the other one, a Table of contents, and one to the right containing the actual page contents.

 

I appreciate your answer,

Kind regards,

Daniel

1 answer

This widget could not be displayed.

Hi Daniel,

If you don't find a macro for this you can create that yourself.

Put the scrollable area in a div and link it with a class like this

.scroll {
overflow: auto;
height: 500px; 
}

PS: Your link doesn't work.

Hi Steffen,

Where do you do this?

Can you show me where you fill this in?

Kind regards,

Michel

  • Click Edit
  • Insert the CSS macro: Insert > Other Macros > CSS Stylesheet > Insert
  • Enter the code from above
  • Add a section to the page: Insert > Other Macros > Section
  • Insert two columns inside the section: Insert > Other Macros > Column
  • Insert the Table of contents macro inside the first column: Insert > Other Macros > Table of Contents
  • Insert a div inside the second column: Insert > Other Macros > Div
  • Double click and edit the div: Enter "scroll" at "Class"
  • Add text with headings to the second column

Hi Steffen,

That worked perfectly

 

Thanks,

 

Michel

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

343 views 2 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you