Post by goodkel on May 21, 2015 15:43:15 GMT -8
Forum URL: racl.freeforums.net
I don't mind it either place, but one of them has to go. What have I done wrong? Thank you for your help! Kelly
Here's my forum wrapper:
<!-- Theme Hide/Show -->
<script type="text/javascript">
$(document).ready(function() {
$("#hideshowbutton").click(function() {
if($("#boxofstuff").is(":visible")) {
$("#boxofstuff").slideUp();
$(this).html("read more");
} else {
$("#boxofstuff").slideDown();
$(this).html("read less");
}
});
});
</script>
</head>
<body>
{if $[maintenance_mode]}
<div class="maintenance-header">
{if $[can.disable_maintenance]}<p>Finished with maintenance? $[disable_maintenance_link].</p>{/if}
</div>
{/if}
<div style="margin: 0 auto;" id="navigation-menu" class="ui-helper-clearfix">
<ul role="navigation">
{foreach $[navigation.menu]}
<li>
<a {if $[navigation.menu.active]}class="state-active"{/if} href="$[navigation.menu.href]"{if $[navigation.menu.accesskey]} accesskey="$[navigation.menu.accesskey]"{/if}>
$[navigation.menu.name]
{if $[navigation.menu.notification.total]}
<div class="tip-holder" onclick="window.location='$[navigation.menu.notification.href]'; return false;">
<div class="tip-number">$[navigation.menu.notification.total]</div>
<span class="tip"></span>
</div>
{/if}
</a>
</li>
{/foreach}
{if !$[current_user.is_member]}
<li>$[login_link]</li>
<li>$[register_link].
{else}
<li>$[logout_link]</li>
<li>$[participated_threads_link]</li>
{/if}
</ul>
{if $[current_user.is_member]}
<p id="welcome">
You are awesome $[current_user.name]
</p>
{/if}
</div>
<div style="text-align: center;">
<b>You are awesome $[current_user.name].</b>
</div>
<a id="hideshowbutton" class="button">read more</a>
<div id="wrapper">
<div id="boxofstuff" style="display: none;">
<div class="left stuff">stuff on the left</div>
<div class="middle stuff">stuff down the middle</div>
<div class="right stuff">stuff on the right</div>
<br style="clear: both;" />
</div>
<header>
<div id="banner-container" role="banner">
<h2 id="banner">
$[forum.title]
</h2>
</div>
<a id="navigation-skip" href="#content" accesskey="s" class="aria-hidden" title="Skip Navigation">Skip Navigation</a>
<a href="#" accesskey="d" title="Open Menu" onclick="proboards.hotkeys.activate(Keys.d); return false;"></a>
</header>
$[header]
<div id="navigation-tree">
$[navigation.tree]
</div>
<div id="content" role="main">
{if $[notice]}
<div class="container">
<div class="title-bar"><h2>$[notice.title]</h2></div>
<div class="content pad-all cap-bottom">
$[notice.message]
</div>
</div>
{/if}
$[content]
$[shoutbox]
</div>
<span id="copyright">Theme by <a href="http://smangii.proboards.com">Smangii</a></span>
$[footer]
{if $[is_mobile_browser]}
<br /><p class="center">Switch to the $[mobile_switch_link].</p>
{/if}
</div>
</body>
</html>
I don't mind it either place, but one of them has to go. What have I done wrong? Thank you for your help! Kelly
Here's my forum wrapper:
<!-- Theme Hide/Show -->
<script type="text/javascript">
$(document).ready(function() {
$("#hideshowbutton").click(function() {
if($("#boxofstuff").is(":visible")) {
$("#boxofstuff").slideUp();
$(this).html("read more");
} else {
$("#boxofstuff").slideDown();
$(this).html("read less");
}
});
});
</script>
</head>
<body>
{if $[maintenance_mode]}
<div class="maintenance-header">
{if $[can.disable_maintenance]}<p>Finished with maintenance? $[disable_maintenance_link].</p>{/if}
</div>
{/if}
<div style="margin: 0 auto;" id="navigation-menu" class="ui-helper-clearfix">
<ul role="navigation">
{foreach $[navigation.menu]}
<li>
<a {if $[navigation.menu.active]}class="state-active"{/if} href="$[navigation.menu.href]"{if $[navigation.menu.accesskey]} accesskey="$[navigation.menu.accesskey]"{/if}>
$[navigation.menu.name]
{if $[navigation.menu.notification.total]}
<div class="tip-holder" onclick="window.location='$[navigation.menu.notification.href]'; return false;">
<div class="tip-number">$[navigation.menu.notification.total]</div>
<span class="tip"></span>
</div>
{/if}
</a>
</li>
{/foreach}
{if !$[current_user.is_member]}
<li>$[login_link]</li>
<li>$[register_link].
{else}
<li>$[logout_link]</li>
<li>$[participated_threads_link]</li>
{/if}
</ul>
{if $[current_user.is_member]}
<p id="welcome">
You are awesome $[current_user.name]
</p>
{/if}
</div>
<div style="text-align: center;">
<b>You are awesome $[current_user.name].</b>
</div>
<a id="hideshowbutton" class="button">read more</a>
<div id="wrapper">
<div id="boxofstuff" style="display: none;">
<div class="left stuff">stuff on the left</div>
<div class="middle stuff">stuff down the middle</div>
<div class="right stuff">stuff on the right</div>
<br style="clear: both;" />
</div>
<header>
<div id="banner-container" role="banner">
<h2 id="banner">
$[forum.title]
</h2>
</div>
<a id="navigation-skip" href="#content" accesskey="s" class="aria-hidden" title="Skip Navigation">Skip Navigation</a>
<a href="#" accesskey="d" title="Open Menu" onclick="proboards.hotkeys.activate(Keys.d); return false;"></a>
</header>
$[header]
<div id="navigation-tree">
$[navigation.tree]
</div>
<div id="content" role="main">
{if $[notice]}
<div class="container">
<div class="title-bar"><h2>$[notice.title]</h2></div>
<div class="content pad-all cap-bottom">
$[notice.message]
</div>
</div>
{/if}
$[content]
$[shoutbox]
</div>
<span id="copyright">Theme by <a href="http://smangii.proboards.com">Smangii</a></span>
$[footer]
{if $[is_mobile_browser]}
<br /><p class="center">Switch to the $[mobile_switch_link].</p>
{/if}
</div>
</body>
</html>