IE says "Cannot display webpage" when script reference is in body?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luftikus143
    New Member
    • Jan 2007
    • 97

    IE says "Cannot display webpage" when script reference is in body?

    Hi there,

    a very strange happened. It seems that IE (7 and 8) can't load a webpage when the script reference (script language="javas cript" type="text/javascript" src="..:") is in the body... It should be normally put into the header, that's clear. But sometimes, on dynamic web portals, it seems really complicated to do that. So, on some occasions, I insert the script somewhere in the body. But it seems that is something IE really does not like. When I put the same reference in the header, no problem.

    I am surprised to see that behavior. Is there anything I can do? Besides doing the effort to put all the references than into the header?

    Thanks for any hints.
  • luftikus143
    New Member
    • Jan 2007
    • 97

    #2
    Hmmm.... looks like the "wz_tooltip.js" , which has to be placed after the HEAD generates touble....

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Do you have a test page or some example code to reproduce the problem?

      Comment

      Working...