warum sollte dsa nicht klappen mit dem chat
das haab ich iim index_body.tpl stehen
ahja und wie setz ich das in die praxis um wenn die aufgerufene datei eine php startseite ist??<!-- Chat -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" height="28"><span class="cattitle">...wer ist im Chat?</span></th>
</tr>
<tr>
<td class="row1" align="center" valign="middle"><img src="templates/fisubsilversh/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall"> {TOTAL_CHATTERS_ONLINE} <br />
{L_LOGIN_TO_JOIN_CHAT}<br /><br />
[ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}', 'scrollbars=no,width=540,height=450')">{L_CLICK_TO_JOIN_CHAT}</a> ]
<br /><br />{CHATTERS_LIST}
</span></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"> <img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<!-- Chat -->
bei einem herkömmlichen menue setz ich das popup script auch in die navigtionsseite z. bsp.
<script language="javascript" type="text/javascript">
var win=null;
function NewWindow(mypage, myname,w,h,scroll,pos){
if(pos=="random") {LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition =(screen.height)?Math.floor(Math.random() *((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition= (screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height) ?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+', top='+TopPosition+',left='+ LeftPosition+', scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage, myname,settings);}
</script>