[SOLVED] fixed background image

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
trancemaster2k
Regular
Posts: 45
Joined: Fri Jun 22, 2007 1:53 am

[SOLVED] fixed background image

Post by trancemaster2k » Wed Jul 04, 2007 4:26 pm

Hi,
I just found a small Javascript to display a image as
"fixed wallpaper".

Tried to insert this script into a small HTML nugget;
the image is displayed well but outside of the blog !

I'd like to have it working like on this site.

Where do I have to insert the Javascript code ?
Does the "body tag" work in PHP, too ?
Last edited by trancemaster2k on Wed Jul 04, 2007 10:17 pm, edited 2 times in total.

User avatar
Oliver
Regular
Posts: 178
Joined: Mon Jan 10, 2005 7:43 pm
Location: Herne, Germany
Contact:

Post by Oliver » Wed Jul 04, 2007 9:49 pm

Did you try to insert the code into the index.tpl of your template?
Image

trancemaster2k
Regular
Posts: 45
Joined: Fri Jun 22, 2007 1:53 am

Post by trancemaster2k » Wed Jul 04, 2007 10:16 pm

I just found the right place to edit it: inside the templates style.css file.

Here I can adjust a background image file with CSS parameters.

Decided to not use a background image, instead I played around with some colors...

Post Reply