Javascript bug? RRS feed

  • Question

  • I created a javascript file that contains a series of functions for popup windows to eight diffrent info blurbs and found IE 7 displays a completely blank (white) page when calling the script via this method:

    <script language="javascript" type="text/javascript" src="../includes/pop_windows.js" />

    For the record, I tested same in Firefox, and it plays with it just fine.

    Frustrated, I resorted to the less efficient (in my opinion) method of calling the scripts from the <head> section of the source page itself, i.e.:

    <script language="javascript" type="text/javascript">

    function p1()    {
    function p2()    {
       ....etc ..............



    It worked, but if I'm correct (someone please set me straight if I'm NOT) that IE 7 can't handle the first method, I hope they fix it.




    Wednesday, October 25, 2006 5:31 PM

All replies

  • Maybe you should try to replace this line:

    <script language="javascript" type="text/javascript" src="../includes/pop_windows.js" />


    <script language="javascript" type="text/javascript" src="../includes/pop_windows.js"></script>


    I've had similar problem in IE6.


    Thursday, October 26, 2006 9:12 AM
  • David,

    Your genius was my gain today -- your suggestion works.

    Much thanks,


    Thursday, October 26, 2006 8:42 PM