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)
 Watermark Background?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 20 November 2004 :  18:38:27  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Is it possible to modify the background image so that it does not move when you move the forum scrollbars up and down I don't like the line you can see on long pages where the background pic repeats itself.

I believe this is called a watermark background.

eXtremeGossip

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 November 2004 :  19:10:49  Show Profile
something like this?

http://www.dynamicdrive.com/dynamicindex3/fixback.htm
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 20 November 2004 :  19:14:34  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Yes

Where/To what file should I add it?

<script language="JavaScript1.2">

if (document.all||document.getElementById)
document.body.style.background="url('notebook.jpg') white center no-repeat fixed"

</script>

eXtremeGossip

Edited by - Jorrit787 on 20 November 2004 19:16:03
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 02 January 2005 :  07:01:29  Show Profile
Does anybody know the anwser to this question? I want to do the same thing. Centre Background image!
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 02 January 2005 :  09:31:53  Show Profile  Visit PeeWee.Inc's Homepage
Add it to inc_header.asp

Thats all i can say for now. I'm on my laptop and dont have the files right now.

De Priofundus Calmo Ad Te Damine
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 02 January 2005 :  09:51:24  Show Profile
I've tried but I don’t really know what I am doing. If somebody could give me the exact line of code I need I would very much appreciate it.
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 02 January 2005 :  15:42:28  Show Profile  Visit dayve's Homepage
I would recommend the CSS approach over the JavaScript one.

http://www.w3schools.com/css/css_background.asp

<style>
 body {
 background-image: url(notebook.jpg); 
 background-position: top center;
 background-attachment: fixed;
}
</style>

This code should be placed within the <head></head> html tags.


Edited by - dayve on 02 January 2005 15:42:46
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 02 January 2005 :  15:56:29  Show Profile
In which asp file?

Thanks in advance
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 02 January 2005 :  16:08:30  Show Profile
Its OK, I put it into inc_site_Header.asp and it works great

www.elvethamheathforum.info
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 02 January 2005 :  16:27:58  Show Profile
Johnny Bravo,

It should go in inc_header.asp on a fresh install of 3.4.05 it is at about line 260, you will see the style sheet there. You just need to intergrate it in to that. I hope it helps.

Cheers,

David Greening
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 4.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07