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

Yamaboy
Starting Member

46 Posts

Posted - 15 March 2006 :  14:56:11  Show Profile
Thanks for the help with previous issues. Here is my current question. Is there a way to use a background image in the forum and not have it repeat on the y axis? My current solution without getting into the code is to make a long vertical image. The image I would like to uses a gradient fade to white, so if I could set the background as white with the image on top of it, that would be fine. Ususally this is done through CCS, but I have no idea how that would apply to the snitz software. Thanks.

AnonJr
Moderator

United States
5768 Posts

Posted - 15 March 2006 :  15:44:20  Show Profile  Visit AnonJr's Homepage
Around line 260(ish) in inc_header.asp you should see some other CSS thats included in all the pages in the forum. You should be able to add the CSS for the image here and see it on almost all the pages. I'd set the regular page background using your admin panel.

The only pages this won't affect are the pages that use inc_header_short.asp and these are usually your pop-up type pages so it probably won't be a big deal.

Just a quick stab at it, and lines 260(ish) - 262(ish) should look something like this (with changes in red):
		"<style type=""text/css"">" & vbNewLine & _
		"<!--" & vbNewLine & _
		"body {background:url(yourimagehere) repeat:repeat-y;}" & vbNewLine & _
		"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _

Edited by - AnonJr on 15 March 2006 15:45:31
Go to Top of Page

Yamaboy
Starting Member

46 Posts

Posted - 15 March 2006 :  16:30:00  Show Profile
I think that got it. I actually ended up just using this. Seems to work well.

"<style type=""text/css"">" & vbNewLine & _
"<!--" & vbNewLine & _
"body {background-image:url(folder/background.jpg); background-repeat: no-repeat; }" & vbNewLine & _
"a:link {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _

Thanks AnonJr.

Edited by - Yamaboy on 15 March 2006 16:34:33
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 March 2006 :  19:19:56  Show Profile  Visit AnonJr's Homepage
As long as you're happy with it.

Glad to help.
Go to Top of Page

localgeek
Starting Member

3 Posts

Posted - 19 May 2006 :  07:29:39  Show Profile  Visit localgeek's Homepage
How about a gradient background? My site (http://mylocalgeek.net) uses a gradient background fade.

I've used the Site Integration mod (great, by the way) to integrate the forum into me site design, but I'd like to include the gradient background coding. Currently, it looks like this:

<body topmargin="24" leftmargin="24" rightmargin="24" bottommargin="24"; style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#FFFFFF', startColorstr='#C0CFE2', gradientType='0');">

Local Geek
http://mylocalgeek.net
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 May 2006 :  08:15:45  Show Profile  Visit AnonJr's Homepage
Off the top of my head I'd say you could add that to the same area...

260(ish) - 262(ish) should look something like this (with changes in red):
		"<style type=""text/css"">" & vbNewLine & _
		"<!--" & vbNewLine & _
		"body {filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#FFFFFF', startColorstr='#C0CFE2', gradientType='0');}" & vbNewLine & _
		"a:link    {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _


That's just a quick guess as I've not tried any DX effects in my websites. (a few HTA's, but not websites)

Question though, how well does this work in browsers outside of IE?
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 19 May 2006 :  08:16:38  Show Profile
It won't; filter is something Microsoft made up - IE only.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 May 2006 :  08:27:31  Show Profile  Visit AnonJr's Homepage
I'd thought so, just wasn't certain.

What alternatives are there?
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 19 May 2006 :  08:29:57  Show Profile
Use an image!


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 May 2006 :  08:32:25  Show Profile  Visit AnonJr's Homepage
I was thinking 'other than an image'... but yeah, an image works.
Go to Top of Page

localgeek
Starting Member

3 Posts

Posted - 19 May 2006 :  09:00:20  Show Profile  Visit localgeek's Homepage
Can you please tell me the coding to prevent an image from "tiling" vertically when the screen exceeds the vertical height of the image?

Thanks in advance.

Local Geek
http://mylocalgeek.net
Go to Top of Page

localgeek
Starting Member

3 Posts

Posted - 22 May 2006 :  11:03:44  Show Profile  Visit localgeek's Homepage
Shaggy (and all),
Thanks for the suggestions. I re-did the backgounr using CSS and an image, rather than the MS gradient filter. Works fine and is compatible with my integrated site forum, too.

Local Geek
http://mylocalgeek.net
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 22 May 2006 :  15:05:52  Show Profile  Visit AnonJr's Homepage
Glad you got everything set.
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  08:06:20  Show Profile
You're welcome


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07