Can't get a glow and slide function working

Posted on 2011-05-06
Last Modified: 2013-10-05
  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)  {
                        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=""></a></p>

Question by:gamblsj
    1 Comment
    LVL 70

    Accepted Solution

    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

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now