
09-13-2007, 05:02 PM
|
 |
|
|
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by LCN2007
Is this the best way i can intergrate the Radio stations link in to CMPS?
<td class="vbmenu_control"><a href="/forum/radiostations.php" target="blank">LCN Radio</a></td>
|
Change the javascript that you add in the navbar to:
Quote:
<!--
function openRadioStations(){
radioStationsWindow = window.open('$vboptions[bburl]/radiostations.php', 'radiostations', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>
|
and leave the link as:
Quote:
<td class="vbmenu_control"><a href="javascript penRadioStations()">$vbphrase[rs_radiostations]</a></td>
|
that is how the hack should be written anyway, IMO - more compliant vb coding that way
|