Rollover script crashes

  • Thread starter Thread starter Mark D. Hall
  • Start date Start date
M

Mark D. Hall

Hi,

When I insert the swap image behavior to certain buttons, I get an Internet
Explorer Script Error inside of FP2003 saying Line 497, Char 3, Error: The
site or file name contains invalid characters...then it goes on to say the
URL is c:\program files\microsoft
office\templates\1033\behaviors11\actions\swapimg.htm...do I want to
continue?"

What is that and why is it happening. It doesn't do it on every button, but
I have one named "contactus.jpg" and then "contactusover.jpg". It also
crashes whether or not I name the image in the IMG tage.

Then, when I post the site to the web, I get an IE6 error saying there is an
error in line 43, char 148, an expected ")" Code 0.

I only get this error when I insert a swap image. Even if the page is
simply a single button that tries to swap out.

Thanks,
Mark
 
Also, the error I get from IE once the site has been posted refers to the
body tag where the images get preloaded.

M
 
Okay, the first error that was happening in FP2003 happens because the
rollerover name has to be 14 or fewer characters (not including the .JPG,
..GIF...).

The 2nd problem with IE happened because I had an apostrophe in my web name,
and it was crashing the script...

Mark
 
Back
Top