Javascript only Partially Working in IE7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thefmgirl
    New Member
    • Jan 2007
    • 5

    Javascript only Partially Working in IE7

    On my website, I have a page that displays images when you mouse over a text link. I also have it as a clickable link. The address is http://www.paigebrennan.com/reviews.htm

    In lower versions of IE, as well as FF and Netscape, when you mouse over a link, my image pops up where specified (see code below) and stays there until you move on to the next link.

    However, in IE7, it displays only half of the image. I am not too familiar with javascript, but I believe that is what I used to make this work. I have included an example of one of my links below. It is the link for "Capitol Inn" on my page. Can anyone suggest why IE7 is only displaying half of the linked image?

    Thanks for your help!

    [HTML]<td><div align="left" class="style15" ><span class="style11" ><a href="reviews/capitolinn.jpg? AID=/20060330/GO02/603300310/1025" target="_blank" ><a href="reviews/capitolinn.jpg" onmouseover="th is.T_FIX = [600, 200]; this.T_STICKY=t rue; return escape('<img src=\'reviews/capitolinn.jpg\ ' width=\'600\'>' )">Capitol Inn </a></span></div></td>[/HTML]
    Last edited by acoder; Feb 7 '07, 12:16 PM. Reason: Code in tags/activated link
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Perhaps you need to use a strict doctype otherwise IE goes into quirks mode and behaves like an old browser. See this thread.

    Comment

    Working...