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

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
Like 1 person likes this

Hi Steffen,

That worked perfectly

 

Thanks,

 

Michel

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

808 views 38 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