ik ben bezig in me source met een tab systeem in news.php voor prive berichten en forum maar niks werkt heb verschillende optie geprobeerd
alleen als ik op de link klik gatie open in een ander scherm en dat is neitgoed het moet dus open gaan in news.php
als tab functie maar dat gaat dus niet
wie heeft een oplossing
hier het stukje code waarom het gaat
PHP
<script language="javascript">
function openTab(pTabPage,pTab)
{
document.getElementById('block1').style.display = 'none';
document.getElementById('block2').style.display = 'none';
document.getElementById(pTabPage).style.display = 'block';
document.getElementById('tab1').style.background = '';
document.getElementById('tab1').style.fontWeight = 'normal';
document.getElementById('tab2').style.background = '';
document.getElementById('tab2').style.fontWeight = 'normal';
document.getElementById('tab3').style.background = '';
document.getElementById('tab3').style.fontWeight = 'normal';
document.getElementById(pTab).style.background = 'url('images/tab_info_arrow.gif') bottom no-repeat';
document.getElementById(pTab).style.fontWeight = 'bold';
}
</script>
<div style="width:100%; height:25px; background:url('images/tab_info_bg.jpg') repeat-x; font-family:arial; font-size:12px; color:#2a190e;">
<div id="tab1" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px; background:url('images/tab_info_arrow.gif') bottom no-repeat; font-weight:bold;"><a href="#" onclick="openTab('tabs_1','tab1'); return false">Inbox</a></div>
<div style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">
|
</div>
<div id="tab2" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('tabs_2','tab2'); return false">Nieuw</a></div>
<div style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">
| </div>
<div id="tab3" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="index.php?a=message&box=sent">Verstuurd</a></div>
<div style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">
</div>
</div>
Toon Meer