Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 ayoung likes this

Hi Steffen,

That worked perfectly

 

Thanks,

 

Michel

Hi Steffan,

Thank you for posting this! This is exactly what I'm looking for! Unfortunately, I could not find the CSS Stylesheet or Div macros in the Other Macros list. Do you have an add-on that includes those commands?

Thank you in advance!

Rhoda

Hi,

as far as I know, these macros were removed.
But your questions gave me an idea and I created a new post for this. Read this and see if it helps you:

https://community.atlassian.com/t5/Confluence-questions/Possible-workaround-for-missing-div-and-span-macros/qaq-p/1591423#M200638

Hi Steffen,

Thank you for such a quick reply! And thank you for the other post. I will check it out right now.

Have a great day!

Rhoda

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

78 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you