Results 1 to 3 of 3

Thread: Watermark Background Image Script

  1. #1
    Join Date
    Oct 2004
    Location
    Denamrk
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Watermark Background Image Script

    Hi!
    I'm trying to put this Watermark Background Image Script on my page, but i can't seemt to get it to work . Can anyone help me?
    This is how it lookes like now....

    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Hanne's Folke</title>
    <base target="_blank">
    <title>Hanne's Folke</title>
    <style type="text/css">
    <!--
    h1 {font-size: 20pt; font-family: Verdana}
    h2 {font-size: 12pt; font-family: Verdana}
    h3 {font-size: 10pt; font-family: Verdana}
    p {font-size: 10pt; font-family: Verdana}
    body,td,th {color: #043673;}
    body {background-color: #e3e3e3;}
    .style1 { color: #043673;
    font-weight: bold;}
    -->
    </style>
    </head>

    <body link="#e3e3e3" vlink="#e3e3e3" alink="#e3e3e3" bgcolor="#E3E3E3" text="#E3E3E3">
    <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('Vadum_021004_lille_red.jpg') e3e3e3 center no-repeat fixed"
    </script>

    <p align="center" class="style1"><font color="#800000" face="Monotype Corsiva" size="6">Hanne's
    Folke</font></p>
    <blockquote>
    <p align="center">&nbsp;&nbsp;&nbsp;&nbsp; <font face="Tahoma" size="2" color="#800000">&nbsp;
    </font></p>
    </blockquote>
    </body>

    </html>

    TY
    Maloun

  2. #2
    Join Date
    Oct 2004
    Location
    Denamrk
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oh...u can take a look at the script here...sorry...

    http://www.dynamicdrive.com/dynamicindex3/fixback.htm

  3. #3
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try replacing this line

    document.body.style.background="url('Vadum_021004_lille_red.jpg') e3e3e3 center no-repeat fixed"

    with something like this (edit web address as appropriate)

    document.body.style.background="url('www.host.com/folder/Vadum_021004_lille_red.jpg') #e3e3e3 center no-repeat fixed"

    Note I'm using #e3e3e3 instead of e3e3e3. This may or may not help.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •