Post by fennecfyre on Jul 22, 2018 16:40:22 GMT -8
Site: racingthetide.boards.net/
To save space, I'd like to set it so that the bigger main fields of a character profile on my board (appearance, history, personality, etc) are enclosed in tabs, but I'm not quite sure how to do it. You can see what I have so far below, found a code that gives me the right sort of layout I was looking for, but the tabs don't actually do anything or react to being clicked. I found one tutorial but it requires JQuery, which doesn't seem to play nice with Proboards. Are there any other ways to go about this?
This is the tab code, at the moment it doesn't have any added css specific for it:
To save space, I'd like to set it so that the bigger main fields of a character profile on my board (appearance, history, personality, etc) are enclosed in tabs, but I'm not quite sure how to do it. You can see what I have so far below, found a code that gives me the right sort of layout I was looking for, but the tabs don't actually do anything or react to being clicked. I found one tutorial but it requires JQuery, which doesn't seem to play nice with Proboards. Are there any other ways to go about this?
This is the tab code, at the moment it doesn't have any added css specific for it:
<div class="profilecontainer" style="margin-top:20px;font-size:10pt;width:700px;text-align:left;">
<ul class="tab-links">
<li class="active"><a href="#tab1">Tab #1</a></li>
<li><a href="#tab2">Tab #2</a></li>
<li><a href="#tab3">Tab #3</a></li>
<li><a href="#tab4">Tab #4</a></li>
</ul>
<div class="tab-content">
<div id="tab1" class="tab active">
<p>Tab #1 content goes here!</p>
<p>Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum risus ornare mollis.</p>
</div>
<div id="tab2" class="tab">
<p>Tab #2 content goes here!</p>
<p>Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum risus ornare mollis. In hac habitasse platea dictumst. Ut euismod tempus hendrerit. Morbi ut adipiscing nisi. Etiam rutrum sodales gravida! Aliquam tellus orci, iaculis vel.</p>
</div>
<div id="tab3" class="tab">
<p>Tab #3 content goes here!</p>
<p>Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum ri.</p>
</div>
<div id="tab4" class="tab">
<p>Tab #4 content goes here!</p>
<p>Donec pulvinar neque sed semper lacinia. Curabitur lacinia ullamcorper nibh; quis imperdiet velit eleifend ac. Donec blandit mauris eget aliquet lacinia! Donec pulvinar massa interdum risus ornare mollis. In hac habitasse platea dictumst. Ut euismod tempus hendrerit. Morbi ut adipiscing nisi. Etiam rutrum sodales gravida! Aliquam tellus orci, iaculis vel.</p>
</div>
</div>
</div>