Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Location
    Southern Illinois
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How do I add mousetrails to a HTML called up by a CGI script?

    OK, here's the problem. I am using a forum program called YaBB. I would like to add a mousetrail to each page.

    The process is relatively simple, the CGI (PL) script in this case refers to a HTML file called "template.html" which is used as a css for the entire forum. I have added the mousetrail script to the "template.html" and tested "template.html" on the computer. This works fine. The mousetrail works exactly as supposed to.

    Now when I load the modified "template.html" onto the server the mousetrail doesn't work. Since the "template.html" is in the cgi bin of the server, I thought maybe it could not call up the graphics from there, so I moved the graphics to a "public" folder on the server and changed the path to the graphics in the script to match. Still nothing.

    Any help would be appreciated. I don't think this is a call up problem with two of the same scripts because the thing works perfectly on my system, just doesn't work on the server.

    Any help is appreciated.

    webpage is here:

    Bootleg Hollow Ranch
    click on the "Equestrian Forum" link.

    You can view the source and maybe see where I went wrong.
    Last edited by Dauthus; 09-30-2002 at 08:25 AM.

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Bulgaria
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,
    Try doing the sqme for the script as You did for the images - create a .js file somewhere, then include it in the template.html as <script language="JavaScript src="...">

    Alex


  •  

    Posting Permissions

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