www.webdeveloper.com
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Posts
    2

    Post mouseovers in external script

    ok, I'm making my navigation bar in an external javascript file so I don't have to edit every single page when I change one link, but I'm using mouse over image change for buttons, well since I'm using the external script I have to type into it:

    document.write (" links here ");

    and the code for the mouseover is:

    onmouseover="image.src='image.gif';"

    but since the document.write is taking up the "s I can't use them in the mousover script... and it doesn't work without them, I've tried:

    onmouseover='image.src=image.gif;'
    and
    onmouseover=image.src='image.gif';

    but nothing is working, I was wondering if there was a third set of markers that could be used instead of "s or 's, or anything I can do to make this work.

    thanks and God bless,
    Charles Parker

  2. #2
    Join Date
    Aug 2003
    Posts
    2
    ok I figured it out, thanx anyway =)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

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
HTML5 Development Center



Recent Articles