SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dreamweaver and Javascript - Rotating Banner Script - please help

    I have inserted the banner ad rotation javascript found here. The script works fine on my .dwt Dreamweaver template, but I can't get it to work on the HTML pages outside of the template (child pages).

    Included in the HEAD of the web page:

    Code HTML4Strict:
    <!-- InstanceBeginEditable name="javascript" -->
    <script type="text/javascript" language="javascript" src="../verticalbanner.js"></script>
    <!-- InstanceEndEditable -->

    Javascript included within the BODY tags of the web page:

    Code HTML4Strict:
    <body class="twoColFixLtHdr" onload="banner()">

    Code HTML4Strict:
    <a href="javascript:gothere()"><IMG SRC="images/banner-tuxman475.jpg" WIDTH="120" HEIGHT="475" BORDER="0" NAME="bannerad" /></a>

    Thanks so much!
    -GH

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the external Javascript file: (placed on its own Javascript page):
    javascript-file.txt


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
  •