Seite 1 von 5

Kleines Umbau!

Verfasst: 06.09.2003 20:04
von noob
Hi leute!
habe ien problem. ich möchte damit, wo man gucken kann wer grade online ist und dann auf den namen klickt um profil zusehen kommt das extra in ein javafenster: so eins

Code: Alles auswählen

<script language="JavaScript">
function openBrWindow9()



{



var PopUpLocationX=0;



var PopUpLocationY=0;



var PopUpURL="DER LINK"



splashWin = window.open (PopUpURL, 'clanbanzai', 'fullscreen=0, toolbar=0, location=0, directories=0, status=0, menubar=0, width=800,height=530, scrollbars=1, resizable=0');



splashWin.moveTo(PopUpLocationX, PopUpLocationY)



}



</script>
und das gleiche bei "Letzter Beitrag" wenn man auf den namen klickt auch in so ein fenster öffnet

das auch mit
Moderator: RPG-Projekt//Team

http://www.rpg-projekt.de/rpg_projekt_d ... um.php?f=1

Verfasst: 06.09.2003 20:10
von codemonkey
Du hast doch den Java Script Code, wo liegt das Problem?

Verfasst: 06.09.2003 20:45
von Gast
wie und wo soll ich das einbauen??

Verfasst: 06.09.2003 20:47
von codemonkey
Das ganze baust du in deine viewforum_body.tpl ein.

Verfasst: 07.09.2003 17:00
von Gast
also ich hab das eingebaut

Code: Alles auswählen

<script language="JavaScript"> 
function openBrWindowa() 



{ 



var PopUpLocationX=0; 



var PopUpLocationY=0; 



var PopUpURL="{topicrow.TOPIC_AUTHOR}" 



splashWin = window.open (PopUpURL, 'clanbanzai', 'fullscreen=0, toolbar=0, location=0, directories=0, status=0, menubar=0, width=800,height=530, scrollbars=1, resizable=0'); 



splashWin.moveTo(PopUpLocationX, PopUpLocationY) 



} 



</script>
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
    <tr> 
      <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
    </tr>
    <tr> 
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
        -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
    </tr>
  </table>

  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline">
    <tr> 
      <th colspan="2" align="center" height="25" class="thCornerL" nowrap>&nbsp;{L_TOPICS}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap>&nbsp;{L_REPLIES}&nbsp;</th>
      <th width="100" align="center" class="thTop" nowrap>&nbsp;{L_AUTHOR}&nbsp;</th>
      <th width="50" align="center" class="thTop" nowrap>&nbsp;{L_VIEWS}&nbsp;</th>
      <th align="center" class="thCornerR" nowrap>&nbsp;{L_LASTPOST}&nbsp;</th>
    </tr>
    <tr> 
      <td class="catHead" colspan="5" height="20">&nbsp;<span class="gensmall"><b>{L_MODERATOR}: 
        {MODERATORS}</b></span> </td>
      <td class="catHead" height="20" align="right"><span class="gensmall"><b>{PAGINATION}</b></span>&nbsp;</td>
    </tr>
    <!-- BEGIN topicrow -->
    <tr> 
      <td class="row6" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
      <td class="row7" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
        {topicrow.GOTO_PAGE}</span></td>
      <td class="row7" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
      <td class="row7" align="center" valign="middle"><span class="name"><a href="javascript:openBrWindowa();">{topicrow.TOPIC_AUTHOR}</a></span></td>
      <td class="row7" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
      <td class="row6" align="center" valign="middle" nowrap><span class="postdetails">{topicrow.LAST_POST_TIME}<br />
{topicrow.LAST_POST_AUTHOR}
{topicrow.LAST_POST_IMG}</span></td>
    </tr>
    <!-- END topicrow -->
    <!-- BEGIN switch_no_topics -->
    <tr> 
      <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
    </tr>
	<!-- END switch_no_topics -->
    <tr>
      <td class="catBottom"" align="center" valign="middle" colspan="6" height="32"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
        <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
        </span></td>
    </tr>
    <tr> 
      <td class="hozbar" align="center" valign="middle" colspan="6" height="20">&nbsp;</td>
    </tr>
    <tr> 
      <td class="catBottom" valign="middle" colspan="6" height="28"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
        -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
    </tr>
  </table>
</form>
  
  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
    <tr> 
      <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
      
    <td align="right" valign="middle" width="100%">{JUMPBOX} </td>
    </tr>
  </table>
<br />

<table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline">
  <tr> 
    <th class="th" height="20" align="left" colspan="2">&nbsp;Further options 
    </th>
  </tr>
  <tr> 
    <td class="catHead"><span class="nav">&nbsp;{PAGE_NUMBER}</span></td>
    <td class="catHead" align="right"><span class="nav">{PAGINATION}&nbsp;</span></td>
  </tr>
  <tr> 
    <td class="row5" align="center" valign="middle" colspan="2"> 
      <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
        <tr> 
          <td align="left" valign="top"> 
            <table cellspacing="3" cellpadding="0" border="0">
              <tr> 
                <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
                <td class="gensmall">{L_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" /></td>
                <td class="gensmall">{L_ANNOUNCEMENT}</td>
              </tr>
              <tr> 
                <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" /></td>
                <td class="gensmall">{L_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
                <td>&nbsp;&nbsp;</td>
                <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" /></td>
                <td class="gensmall">{L_STICKY}</td>
              </tr>
              <tr> 
                <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" /></td>
                <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
                <td>&nbsp;&nbsp;</td>
                <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" /></td>
                <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
              </tr>
            </table>
          </td>
          <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><span class="gensmall">&nbsp;{S_TIMEZONE}</span></td>
          <td align="right"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>&nbsp;</span></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr align="left"> 
    <td class="catHead" valign="middle" colspan="2"><span class="cattitle">&nbsp;Users 
      Browsing this forum </span></td>
  </tr>
  <tr> 
    <td class="row5" valign="middle" colspan="2"> <span class="gensmall"><b>&nbsp;{LOGGED_IN_USER_LIST}</b></span> 
    </td>
  </tr>
  <tr> 
    <td class="hozbar" align="center" valign="middle" colspan="2" height="20">&nbsp;</td>
  </tr>
  <tr> 
    <td class="newcat_bot" align="center" valign="middle" colspan="2" height="10">&nbsp;</td>
  </tr>
</table>
aber das geht net siehe hier http://www.rpg-projekt.de/rpg_projekt_d ... um.php?f=1

Verfasst: 07.09.2003 20:25
von Gast
plz help

Verfasst: 08.09.2003 14:38
von Gast
HELP!!! PLZ

Verfasst: 08.09.2003 21:29
von Tuxman
Help, I need somebody, help, not just anybody... :lol:

Tipp: Vom Thread hochholen wird's net besser :)

Verfasst: 08.09.2003 22:57
von BB
splashWin = window.open (PopUpURL, 'clanbanzai', 'fullscreen=0, toolbar=0, location=0, directories=0, status=0, menubar=0, width=800,height=530, scrollbars=1, resizable=0');

hmm ich würde sagen das ROT gekennzeichnete, da gehört die url zum fenster rein.. :grin:

Verfasst: 09.09.2003 11:54
von Gast
NEIN ! :=)

in

Code: Alles auswählen

var PopUpURL="DER LINK" 
Hier gehoehrt das rein!