PDA

View Full Version : scroll box in the header


In$ane
12-11-2005, 11:43 PM
hi would like to put scrolling rss news feed in my forum header here is the code i am useing so far

<!-- logo -->
<link rel="stylesheet" type="text/css" media="screen" href="myg/myga.css" />
<div class="thbg">
<!-- Button Reihe Rechts oben -->
<if condition="$bbuserinfo['userid']"><div class="thba"><a class="thba" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"> <span>$vbphrase[log_out]</span> </a></div></if>
<div class="thbk"><a class="thbk" href="$vboptions[contactuslink]" title="$vbphrase[contact_us]" ><span>$vbphrase[contact_us] </span></a></div>
<if condition="$bbuserinfo['userid']"><div class="thbnl"><div id="usercptools"><a class="thbnl" href="#usercptools" title="$vbphrase[quick_links]" ><span>$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></div></div></if>
<div class="thbs"><div id="navbar_search"><a class="thbs" href="search.php?$session[sessionurl]" accesskey="4" title="$vbphrase[search]"><span>$vbphrase[search]</span></a> <script type="text/javascript"> vbmenu_register("navbar_search", true); </script></div></div>
<!-- /Button Reihe Rechts oben -->
<div class="thl"></div>
</div>
<div class="mhbg">
<div class="mhr"></div>
</div>
<div class="uhbg">
<div class="uhr"></div>
<!-- Button Reihe Rechts unten -->
<div class="uhbf"><a class="uhbf" href="faq.php?$session[sessionurl]" accesskey="5" title="$vbphrase[faq]"><span>$vbphrase[faq]</span></a></div>
<if condition="$show['member']"><div class="uhbnb"><a class="uhbnb" href="search.php?$session[sessionurl]do=getnew" accesskey="2" title="$vbphrase[new_posts_nav]"><span>$vbphrase[new_posts_nav]</span></a></div><else /><div class="uhbnb"><a class="uhbnb" href="search.php?$session[sessionurl]do=getdaily" accesskey="2" title="$vbphrase[todays_posts]"><span>$vbphrase[todays_posts]</span></a></div></if>
<div class="uhbk"><a class="uhbk" href="calendar.php?$session[sessionurl]" title="$vbphrase[calendar]"><span>$vbphrase[calendar]</span></a></div>
<div class="uhbb"><a class="uhbb" href="memberlist.php?$session[sessionurl]" title="$vbphrase[members_list]"><span>$vbphrase[members_list]</span></a></div>
<if condition="$show['registerbutton']"><div class="uhbr"><a class="uhbr" href="register.php?$session[sessionurl]" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></div></if>
<if condition="$show['member']"><div class="uhbu"><a class="uhbu" href="usercp.php?$session[sessionurl]" title="$vbphrase[user_cp]"><span>$vbphrase[user_cp]</span></a></div></if>
<div class="uhbh"><a class="uhbh" href="$vboptions[forumhome].php?$session[sessionurl]" title="Home"><span>Home</span></a></div>
<!-- /Button Reihe Rechts unten -->
<div class="uhl"></div>
</div>
<!-- /logo -->

<!-- content table -->
<div class="btm">
<div class="btr"></div>
<div class="btl"></div>
</div>
<div class="bl">
<div class="br">
<if condition="$show['popups']">
<!-- Left Sitebar -->
<div id="leftbox">
<div class="menubg"><div class="menul"></div><div class="menur"></div>
<div class="fortitel">&nbsp;<strong>Navigation</strong></div></div>
<table class="t" cellpadding="0" cellspacing="0"><tr><td><div class="mainborder">
<div class="content1m">

<div class="navb"><a href="http://www.gaming-community-alliance.net/vwar/">VWAR</a></div>

<div class="navb"><a href="http://gaming-community-alliance.net/css.html">{TPDP} CSS clan</a></div>
<div class="navb"><a href="http://www.gaming-community-alliance.net/vBulletin/arcade.php">Arcade Games</a></div>
<div class="navb"><a href="http://gaming-community-alliance.net/Ladders/">Ladders one</a></div>
<div class="navb"><a href="http://gaming-community-alliance.net/Ladders2/">Ladders two</a></div>

<div class="navb"><a href="http://www.gaming-community-alliance.net/vBulletin/VBGameServer.php">Game Servers</a></div>
<div class="navb"><a href="http://www.clanbase.com/news.php">Clanbase</a></div>
<div class="navb"><a href="http://gaming-community-alliance.net/vBulletin/javachat.php">Irc Chat</a></div>
<div class="navb"><a href="http://tpdpclan.fusionstats.com/">Server Stats</a></div>
</div>
</div></td></tr></table>
<div class="forubg"><div class="forul"></div><div class="forur"></div></div>
<div style="padding:5px 0px 5px 0px;"></div>

<div class="menubg"><div class="menul"></div><div class="menur"></div>
<div class="fortitel">&nbsp;<strong>Clan Links </strong></div>
</div>
<table class="t" cellpadding="0" cellspacing="0"><tr><td><div class="mainborder">
<div class="content1m">
<p>-<a href="http://btkclan.fr.st/ ">btk clan</a></p>
<p>-<a href="http://www.clan-ltd.co.uk/intro/index.html">Clan LtD</a></p> <p>-<a href="http://www.dogsofwarclan.co.uk/news.php">DoW Clan</a></p> </div>
</div></td></tr></table>
<div class="forubg"><div class="forul"></div><div class="forur"></div></div>
<div style="padding:5px 0px 5px 0px;"></div> <div style="padding:5px 0px 5px 0px;"></div>
</div>
<!-- End Left Sitebar -->


<!-- Right Sitebar -->
<div id="rightbox">
<div style="padding:5px 0px 5px 0px;"></div>

<div class="menubg"><div class="menul"></div><div class="menur"></div>
<div class="fortitel">&nbsp;<strong>Gaming Links</strong></div></div>
<table class="t" cellpadding="0" cellspacing="0"><tr><td><div class="mainborder">
<div class="content1m">
<p>-<a href="http://server.counter-strike.net/server.php?cmd=tools">CSS Server Tools</a></p>
<p>-<a href="http://www.tlb.nu/a_better_cs.asp">CSS TLB</a></p>
<p>-<a href="http://www.cstrike-planet.com/cfgmaker?cfg=srcds">CSS cfgmaker</a></p>
<p>-<a href="http://cssprays.www-pros.com/howto/howto.htm">CSS Spay Logos</a></p>
<p>-<a href="http://www.goteamspeak.com/news.phpteam">Teamspeak</a></p>
<p>-<a href="http://www.valvesoftware.com/">Valve Software</a></p>
<p>-<a href="http://www.steampowered.com/">Steam</a></p>
<p>-<a href="http://www.clanbase.com/news.php">Clanbase</a></p>
</div>

</div>
</td></tr></table>
<div class="forubg"><div class="forul"></div><div class="forur"></div></div>
<div style="padding:5px 0px 5px 0px;"></div>
<div class="menubg"><div class="menul"></div><div class="menur"></div>
<div class="fortitel">&nbsp;<strong>Skinning Links</strong></div></div>
<table class="t" cellpadding="0" cellspacing="0"><tr><td><div class="mainborder">
<div class="content1m">
<p>-<a href="http://www.counter-strike-dl.com">Counter Strike DL</a></p>
<p>-<a href="http://www.fpsbanana.com/">FPSBANANA</a></p>
</div>

</div>
</td></tr></table>
<div class="forubg"><div class="forul"></div><div class="forur"></div></div>
<div style="padding:5px 0px 5px 0px;"></div>

</div>
<!-- End Right Sitebar -->


<!-- Center Box -->
<div id="middlebox">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<div class="forbg"><div class="forl"></div><div class="bll"></div>
<div class="fortitel"><strong><span class="style1">Gaming community Alliance Forum</span></strong></div>
</div>
<table class="t" cellpadding="0" cellspacing="0"><tr><td><div class="mainborder">
<div class="content1">
<div class="abschluss"></div>
</div> <td><script language="JavaScript" src="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.cstrike-planet.com/rss/news.xml&chan=y&num=6&desc=1&targ=y" type="text/javascript"></script>
<noscript>
<a href="http://jade.mcli.dist.maricopa.edu/feed/feed2js.php?src=http%3A%2F%2Fwww.cstrike-planet.com/rss/news.xml.php&chan=y&num=6&desc=1&targ=y&html=y">CSS News</a>
</noscript></td>
</tr>
</table></TD>

</td></tr></table>
<div class="forubg"><div class="forul"></div><div class="forur"></div></div>
<div style="padding:5px 0px 5px 0px;"></div>

</div>



<!-- End Center Box -->
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td></tr>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
$spacer_open

$_phpinclude_output



can this be done i would like to add news feeds it has feeds but they don't scroll i have no idea at the momnet how to do it some idea would be great

or a link to a site or pm me thxs for reading it

the centre box is green think this the place to change the code..:)