Nafets
08-22-2011, 06:32 PM
1) Script Title: Watermark
2) Script URL (on DD): <script language="JavaScript1.2">
/*
Watermark Backgound Image Script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS,
visit dynamicdrive.com
*/
if (document.all||document.getElementById)
document.body.style.background="url('notebook.jpg') white center no-repeat fixed"
</script>
3) Describe problem: Hello! I am not so good at this with html, but when I put in the code above, and I have changed the picture, and put the code close to the "Body" tag, the background colour dissapears. How do I fix that?
I have tried to change the code, put it in other places, but if I got the bgrcolour back, then the image dissapears. If I got the image to work, then the bgr-colour dissapear. Is there anyone out there who could help me with that problem?
Kind regards
Nafets/Sweden
2) Script URL (on DD): <script language="JavaScript1.2">
/*
Watermark Backgound Image Script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS,
visit dynamicdrive.com
*/
if (document.all||document.getElementById)
document.body.style.background="url('notebook.jpg') white center no-repeat fixed"
</script>
3) Describe problem: Hello! I am not so good at this with html, but when I put in the code above, and I have changed the picture, and put the code close to the "Body" tag, the background colour dissapears. How do I fix that?
I have tried to change the code, put it in other places, but if I got the bgrcolour back, then the image dissapears. If I got the image to work, then the bgr-colour dissapear. Is there anyone out there who could help me with that problem?
Kind regards
Nafets/Sweden