• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Can't get a glow and slide function working

  This script has a slide function and a glow filter that I can't seem to fix:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<title>Bits and PCs Services</title>
<meta name="description" content="Bits and PCs listing of services. " />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

#misshead  {
             filter: glow(color: #9999CC);

#texthead {
      width:375px; height:18px;
#head {
      position:absolute; left:505px; top:5px;             
.nav {
      text-align:center; font-size:80%;
h3 {      
      color: #000066; font-family: Garamond, Times New Roman, Times, serif;
h2 {      
      color:#000066; font-family: Garamond, Times New Roman, Times, serif; font-size: 40px;
#list {
      height: 310px; width: 300px; overflow: auto;
#sidebar {
      font-family: Garamond,       Times New Roman, Times, serif; font-size: 18px; width: 720px; float: right;
#ownit  {
         height: 12pt;
             filter: glow(color: #9999CC strength: 3);
function slide() {
        if (800 >= document.all.logo.pixelLeft)  {
                    documant.all.logo.style.pixelLeft ++;
                        setTimeout('slide()', 20);
            else  {


<body onload="slide()";>

<p class="nav">[<a href="index.htm" title="Bits and PCs home page">Home</a>]
[<a href="history/index.htm" title="Within these pages you'll find a history of personal computing as well as Bits and PC's own history">History Information</a>]
[<a href="specials.htm" title="Check out our advertised specials!">Advertised Specials</a>]
[<a href="products/index.htm" title="Find great deals on computers, monitors, accessories and more">Products</a>]
[<a href="services.htm" title="Let Bits and PC's take care of all your service needs.">Services</a>]</p>
<br /> <br />

<div id="head">
<h2 id="texthead">Bits and PCs</h2>
<br /> <br />

<div id="sidebar">Our services are listed on the left.
<br />All of our technicians are A+ certified.
<br /> We offer 24/7 service.  

<div id="list">
<h3>Data Recovery</h3>
<h3>Software Upgrades</h3>
<h3>Hardware Upgrades</h3>
<h3>Virus Removal</h3>
<h3>Disaster Recovery</h3>
<h3>Data Backup</h3>
<h3>Printer Repair</h3>
<h3>Spyware Removal</h3>
<h3>Software Training</h3>

<br />
<p>For 20 years Bits and PCs has been serving all your computer needs. We service computers located in homes and small businesses. </p>

<p class="nav">For more information about our services contact <a href="mailto:yourname@bitsPCs.com">StephenGamble@bitsPCs.com</a></p>

1 Solution
Jason C. LevineNo oneCommented:
The code is wrong.  You have JavaScript (the function stuff) in the middle of a style tag.

Move function slide() outside of the style and into its own <script> tags

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now