I've used this script before and its always worked fine, but not this time. Has it changed?
http://www.noahsvideo.com/PELUSOhistory.htm
Thanks
I've used this script before and its always worked fine, but not this time. Has it changed?
http://www.noahsvideo.com/PELUSOhistory.htm
Thanks
The DD script for the Watermark Background Image
<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>
Hi egghead2000,
It's working
Apparently, you just have to note that you set your td background to #F7EA92
...It covers the image. You might wish to remove your bgcolor attribute in your last <td>
...Also place your JS in the head section, not in the body
...Also, have you consider the point that when the user disabled their Javascript?..then your image in the center will not be shown.
...This script from DD, also has a CSS counterpart:
See if it helpsCode:<style type="text/css"> body{background:url('pm.gif') white center no-repeat fixed;} </style>![]()
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
Thanks, I tried the above and can see the image for a split second as the page loads. Then it is covered again. I've got to get to work and will try again this evening.
Thanks again
I guess this watermark script doesn't work with any bgcolor. As soon as I use a page color or table color it covers the watermark. Is there a way to put the watermark on top of the bgcolor so it shows?
Change the color from,
to #F7EA92.Code:background:url('pm.gif') white center no-repeat fixed;
....and remove the bgcolor declaration in your td's.
See if it helps![]()
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
Well, I thought I had it. The color I put with the watermark script turns the entire page that color. Is it possible to have the page background one color and the table background another color and have the water mark show through. Please see the following example.
www.noahsvideo.com/pt.htm
I'm trying t0 do this page with a water mark.
www.noahsvideo.com/pelusohistory.htm
Thanks
Bookmarks