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

Hi Steffen,

That worked perfectly

 

Thanks,

 

Michel

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,088 views 17 14
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