Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 inc_header

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
jeeper Posted - 30 December 2005 : 19:33:06
How do you get the login/logoff buttons to reload the page in the same frame? I moved my login to a side menu (using frames), but when I click login, it loads my side menu in the main frame.<
2   L A T E S T    R E P L I E S    (Newest First)
jeeper Posted - 18 January 2006 : 23:05:51
doesn't work.
What I did was create a frames page with a side menu. The side menu calls the Inc_header.asp file. What can I add/change in that file to force the reload to occur in the main window?

If I add:
<SCRIPT language="JavaScript">
<!--
parent.main.location.reload();
-->
</SCRIPT>
to inc_header there is no change.
If I put it in the sidemenu.asp it gives me a "data must be reloaded error" and loops over and over.
<
Sonic Posted - 30 December 2005 : 21:36:06
use in the login and logout script this java script to reload the main menu
-->
<%
case "login"
if strLoginStatus = 0 then %>
Username oder Passwort falsch
<meta http-equiv="Refresh" content="5; URL=<% = strReferer %>">
<% else %>
Login erfolgreich
<meta http-equiv="Refresh" content="2; URL=<% = strReferer %>">

<SCRIPT language="JavaScript">
<!--
parent.main.location.reload();
-->
</SCRIPT>
<% end if %>




<% case "logout" %>
Logout erfolgreich
<meta http-equiv="Refresh" content="2; URL=<% = strReferer %>">

<SCRIPT language="JavaScript">
<!--
parent.main.location.reload();
-->
</SCRIPT>


the green part is the name of your main frame
an example you can see at www.sonic.selfip.org/page/
<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000 Version 3.4.07