compguy11, on Feb 4 2009, 03:02 AM, said:
Can you post the snippet of code you are having trouble with? The board header and footer can be a real hit or miss place to insert code, especially Javascript based stuff.
Here is the code that is in the skin now for the needed scripts and css:
<script src="http://www.delta-visions.net/forums/custom/js/jquery-1.2.6.min.js" type="text/javascript"></script>
<script src="http://www.delta-visions.net/forums/custom/js/ui.core.js" type="text/javascript"></script>
<script src="http://www.delta-visions.net/forums/custom/js/ui.tabs.min.js" type="text/javascript"></script>
<link id="dvGlobalMessageCss" rel="stylesheet" type="text/css" href="http://www.delta-visions.net/forums/custom/css/dvGlobalMessage.css" />
the script that will find my menu divs and create an accordion menu:
<script src="http://www.delta-visions.net/forums/custom/js/menufinal.js" type="text/javascript"></script>
The script that will create my rotating jquery tabs:
<script language="javascript" type="text/javascript">
jQuery(document).ready(function(){
jQuery('#pnlTabs').attr('style', 'display:block;width:100%;');
jQuery('#pnlTabs > ul').tabs({ fx: {opacity: 'toggle', fxSpeed: 'slow'}});
jQuery('#pnlTabs > ul').tabs('rotate', 6000, true);
});
</script>
Here is the html for the tabs and menu:
<div id="customglobalmessagewrapper">
<div id="customglobalmessage">
<div id="dvTabRotator">
<div id="pnlTabs">
<ul id='tabControls'>
<li><a href='#tabItem1'><span>Sig of the Week</span></a></li>
<li><a href='#tabItem2'><span>Artist of the Month</span></a></li>
<li><a href='#tabItem3'><span>"Number One" Team</span></a></li>
<li><a href='#tabItem4'><span>Team Battle League</span></a></li>
</ul>
<div id='tabItem1' class="tabitem" style="width:100%;text-align:center;">
<div>
<div class="tabcontent" style="width:100%;text-align:center;">
<span style="color:#f89e10;font-weight:bold;">The winner of SOTW 93 is ookami!!</span>
<br />
<img src="http://i303.photobucket.com/albums/nn138/ookami-w/HL2009OF.png" />
<p>Voting has started for SOTY 2008. Check it out and vote for 2008's competitors.
<br />
SOTW 94 is now open for entry's. </p>
</div>
</div>
</div>
<div id='tabItem2' class="tabitem" style="width:100%;text-align:center;">
<div>
<div class="tabcontent" style="width:100%;text-align:center;">
<a href="http://www.delta-visions.net/forums/index.php?showtopic=13884" target="_self" alt="Artist of the Month">
<img src="http://www.delta-visions.net/Content/ImageRotator/ad_aotm.jpg" border="0" />
</a><br />
<span style="color:#f89e10;font-weight:bold;">Voting for AOTM [Nov-Dec] is in progress!</span>
<br />
<a href="http://www.delta-visions.net/forums/index.php?showtopic=13884" target="_self" alt="Artist of the Month" style="color:#0CF;text-decoration:none;">» VOTE HERE «</a>
<br />
</div>
</div>
</div>
<div id='tabItem3' class="tabitem" style="width:100%;text-align:center;">
<div>
<div class="tabcontent" style="width:100%;text-align:center;">
<br />
Currenty No Team holds the Number One Position
<br />
» <a href="http://www.delta-visions.net/forums/index.php?showtopic=14218">TEAMS AND BATTLE LEAGUE</a> «
<br />
» <a href="http://www.delta-visions.net/forums/index.php?showforum=26">Battle Request</a> «
<br />
» <a href="http://www.delta-visions.net/forums/index.php?showforum=35">Teams Forums</a> «
<br /><br />
</div>
</div>
</div>
<div id='tabItem4' class="tabitem" style="width:100%;text-align:center;">
<div>
<div class="tabcontent" style="width:100%;text-align:center;">
There are currently no Team Battle Stats Available
<br />
» <a href="http://www.delta-visions.net/forums/index.php?showtopic=14218">TEAMS AND BATTLE LEAGUE</a> «
<br />
» <a href="http://www.delta-visions.net/forums/index.php?showforum=26">Battle Request</a> «
<br />
» <a href="http://www.delta-visions.net/forums/index.php?showforum=35">Teams Forums</a> «
<br /><br />
</div>
</div>
</div>
<div class="clearfloat"></div>
</div>
</div>
<div id="dvQuickLinks">
<ul id="menu1" class="menu noaccordion collapsible">
<li><a href="#">» General</a>
<ul class="expand">
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=6">News, Info and Rules</a></li>
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=144">Introductions</a></li>
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=75">FAQ</a></li>
</ul>
</li>
<li><a href="#">» The Colloseum</a>
<ul class="expand">
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=25">SOTW</a></li>
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=143">AOTM</a></li>
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=26">Battle Requests</a></li>
<li><a href="http://www.delta-visions.net/forums/index.php?showforum=65">Battle Voting</a></li>
</ul>
</li>
</ul>
</div>
<div class="clearfloat"></div>
<div id="dvMessages">
<p><i>
NOTE: All members with 0 postcount will be removed regularly.
So if you want to keep your account or you just joined contribute to the forum.
Don't hesitate to start an introduction thread or give us some feedback.
Remember NOT to post links in your first post or you could be autoremoved as a potential spammer. Thanks
</i></p>
</div>
</div>
</div>
So standalone it works. If I insert all the scripts in the board header and footer wrapper and post the html in a new post it works.
If I put the html also in the board header and footer wrapper the script does not do its job. I have no clue why, hope you are able to help me out.
PS. you can still check it out, you still have root admin rights.
You can see it working here:
http://www.delta-visions.net/forums/index....showtopic=14300
This post has been edited by Senthrax: 05 February 2009 - 07:27 PM