Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

[HERO System 5e] WIP 5e version for HERO ... is there a way to add a new tab....

OK - got my disappearing tabs situation figured out....but what I'd like to be able to do now is add an additional tab sheet( Equiptment) based on a pull down menu on my first tab sheet (Campaign Type). Is there a way to do this? Any help would be appreciated.
HTML/CSS Files: <a href="https://github.com/bubblegmkd/Roll20_Character_She" rel="nofollow">https://github.com/bubblegmkd/Roll20_Character_She</a>... <a href="https://github.com/bubblegmkd/Roll20_Character_She" rel="nofollow">https://github.com/bubblegmkd/Roll20_Character_She</a>...
1458265215
Finderski
Pro
Sheet Author
Compendium Curator
I was looking at the code linked above...it looks odd, and I'm assuming that's the case, because it seems to be an rtf document rather than a plan text html file. &nbsp;You may want to save it as plaintext. Either way, can you change the values of the dropdown menu? Here's the code you have currently: &lt;select class="head1" name="attr_Campaign_Type" style+"width:74%"&gt; &lt;option value=""&gt;Choose a Campaign Type&lt;/option&gt; &lt;option value="campaign_normal"&gt;Normal&lt;/option&gt; &lt;option value="campaign_heroic"&gt;Heroic&lt;/option&gt; &lt;option value="campaign_superheroic"&gt;Superheroic&lt;/option&gt; &lt;/select&gt; Can you change it something like this: &lt;select class="head1" name="attr_Campaign_Type" style+"width:74%"&gt; &lt;option value="0"&gt;Choose a Campaign Type&lt;/option&gt; &lt;option value="1"&gt;Normal&lt;/option&gt; &lt;option value="2"&gt;Heroic&lt;/option&gt; &lt;option value="3"&gt;Superheroic&lt;/option&gt; &lt;/select&gt; Once you do that, you can have a checkbox with the name='attr_Campaign_Type' with the value=1, then when the dropdown has Normal selected, the checkbox will automatically be checked, and then you can use that to &nbsp;hide/unhide the additional tab. &nbsp;If you want to see how I did it, you can view the Savage Worlds Tabbed character sheet. I hide the Vehicles tab and the Arcanum tabs based on things in the configuration section. You can see the code here:&nbsp; <a href="https://github.com/finderski/roll20-character-shee" rel="nofollow">https://github.com/finderski/roll20-character-shee</a>...
Thanks!