Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Control menu behaviour
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 10 May 2002 :  11:04:15  Show Profile  Visit Syko BA's Homepage
I have a question relating to the menus on my site http://www.xbox-zone.net
If you click the 'Login' button the right and left menus disapear this is done by using code like this.


<% if Request.Form("Method_Type") <> "login" _
AND Request.Form("Method_Type") <> "logout" then %>


But for example if you click the 'Profile' button the right menu moves into the middle.
Can I change the table layout to keep this menu over to the right, or can anyone think of some
simular code to that above that will make both menus disapear when certain pages are displayed.

The menu on the right also misbehaves whilst I am veiwing other pages, (probably 5 pages in total)

Thanks


XBox Zone

_barbara
Junior Member

Germany
123 Posts

Posted - 10 May 2002 :  12:39:35  Show Profile
You can try to put table width=100% tags around the content of those problematic pages. E.g. in pop_profile.asp,

 
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_functions.asp" -->
<% if not(strUseExtendedProfile) then %>
<!--#INCLUDE FILE="inc_top_short.asp" -->
<% else %>
<!--#INCLUDE FILE="inc_top.asp" -->
<table width=100%><tr><td>
<%
end if
'....


... and (at the end)
 
if not(strUseExtendedProfile) then
%>
<!--#INCLUDE FILE="inc_footer_short.asp" -->
<% else

%>
</td></tr></table>
<%

WriteFooter
end if %>


Hope that helps. Looking at search.asp can also give you some hints how to deal with small page content as this one is displayed correctly in your forum (it uses a table with 100% width too).

I like much your forum design by the way.

Barbara

Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 10 May 2002 :  13:00:12  Show Profile  Visit Syko BA's Homepage
barbara

Thank you for the compliment,
I have tried the code you mentioned but the problem is still there.

Thanks again.


XBox Zone
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.48 seconds. Powered By: Snitz Forums 2000 Version 3.4.07