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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 How to set a fixed background ?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 23 December 2002 :  07:18:18  Show Profile  Visit MarcelG's Homepage
Hi,

I upgraded to 3.4 today, from 3.305.
In 3.305 I set a fixed background, by editing the INC_TOP.ASP, and including the following line:

<body background="../images/aofish_back.gif" bgproperties="fixed" bgColor="<% =strPageBGColor %>" text="<% =strDefaultFontColor %>" link="<% =strLinkColor %>" aLink="<% =strActiveLinkColor %>" vLink="<% =strActiveLinkColor %>">


In 3.4 I tried to edit the inc_header.asp, but still the background picture scrolls along with you as you scroll down the page....
Is there a way of 'fixing' this ?

portfolio - linkshrinker - oxle - twitter

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 23 December 2002 :  07:26:46  Show Profile
how did you make the change? what does the line look like where you made the change?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 23 December 2002 :  07:39:16  Show Profile  Visit MarcelG's Homepage
I used this one:

Response.Write	"</head>" & vbNewLine & "<body bgproperties=""fixed"" background=""../images/aofish_back.gif""" & 
" bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" &
strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & 
""">" & vbNewLine & _


In the file INC_HEADER.ASP.
In fact it is a one-liner, but for layout reasons I have broken it down for this post.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 23 December 2002 :  08:15:06  Show Profile
that should work. can you post a link to a text version of inc_header? and also to your forum?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 23 December 2002 :  10:11:26  Show Profile  Visit MarcelG's Homepage
Nikkol,

The forum is on an intranet environment, so no link there ...
However, I made the file available at this location. That's were I have my external forum running.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 23 December 2002 :  10:50:12  Show Profile
hi~ marcelgoertz,
yes, your code should work... just in a wrong place.
there are two <body....> in new 3.4 inc_header.asp, the one you placed is for Setup page only. the other one in about line.279

and in 3.4, you can just setup your background image in Admin Section / Font/Table Color Code Configuration find this...
Page Background Image URL: ../images/aofish_back.gif

then i think you can simply your code to this...
"<body bgproperties=""fixed"" " & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 23 December 2002 :  11:27:29  Show Profile  Visit MarcelG's Homepage
Thank you!!! Thank you!!!

portfolio - linkshrinker - oxle - twitter
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.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07