SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Hybrid View

  1. #1
    Skills to Pay the Bills Sparkie's Avatar
    Join Date
    Jul 1999
    Location
    A cave with 47 computers and an internet feed
    Posts
    3,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript mouseovers not working in header/footer file

    Erk!

    The javascript isn't working in my header and footer files for MascotArtist, take a look:

    www.mascotartist.com/header.html
    www.mascotartist.com/footer.html

    The right menu is what's wrong. It comes up with an error saying "Object Expected" Please help!

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well I only get an error in the footer. If you actually put both files together you should see your error go away because you will actually be including the javascript where the footer can read them.
    Wayne Luke
    ------------


  3. #3
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did that fix it - or is there more to come?

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  4. #4
    Skills to Pay the Bills Sparkie's Avatar
    Join Date
    Jul 1999
    Location
    A cave with 47 computers and an internet feed
    Posts
    3,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope, sorry..I still get the error.

  5. #5
    SitePoint Enthusiast
    Join Date
    Jul 2002
    Location
    Penns Woods
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    src

    I didn't find the js file at the location specified in header.html, but I did find it here...

    src="http://www.mascotartist.com/images/rollover.js"
    // PS! My brain just hit a bad sector...

  6. #6
    pg for mild peril cow's Avatar
    Join Date
    Mar 2000
    Location
    nevada, usa
    Posts
    636
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah the errors went away when i combined both files and changed the rollover.js src to:
    Code:
    <script language="JavaScript" type="text/javascript" src="http://www.mascotartist.com/images/rollover.js"></script>
    "There's no justice like angry mob justice!" --Seymour Skinner

  7. #7
    Skills to Pay the Bills Sparkie's Avatar
    Join Date
    Jul 1999
    Location
    A cave with 47 computers and an internet feed
    Posts
    3,559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay..I have it set as:

    http://www.mascotartist.com/images/rollover.js

    in the header.html file, but I still get errors...


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
  •