Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Page not displaying in IE

    Hi,

    I'm building a web application, and one of my pages (the login page) will display correctly in Firefox (it's XHTML compliant), but displays a blank page in IE (which will unfortunatly be how it is most often accessed). Could someone have a look at the site and see if there's anything wrong with it?

    It also makes heavy use of javascript, so if it looks like a javascript problem, I'll ask again in the javascript forum.

    The page is:

    http://www.housing.latrobe.edu.au/connections/ (login page/frameset page)
    http://www.housing.latrobe.edu.au/connections/login.php (the actual page that does not display)

  • #2
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think it's because you didn't close the script tags properly. I think they should be like -

    Code:
    <script type="text/javascript" src="includes/md5.js"></script>
          <script type="text/javascript" src="includes/sha1.js"></script>
          <script type="text/javascript" src="includes/functions.js"></script>
          <script type="text/javascript" src="includes/appointments.js"></script>
          <script type="text/javascript" src="includes/help.js"></script>
          <script type="text/javascript" src="includes/roomSelect.js"></script>
    Instead of -

    Code:
    <script type="text/javascript" src="includes/prototype.js" />
          <script type="text/javascript" src="includes/md5.js" />
          <script type="text/javascript" src="includes/sha1.js" />
          <script type="text/javascript" src="includes/functions.js" />
          <script type="text/javascript" src="includes/appointments.js" />
          <script type="text/javascript" src="includes/help.js" />
          <script type="text/javascript" src="includes/roomSelect.js" />

  • #3
    New Coder
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers, that did the trick

    I would have thought IE would recognize the XHTML way of closing tags. I know it recognizes it for some tags (It works with <br />).

    Now I just have to debug my javascript to work for both platforms :P

  • #4
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The XHTML way of closing tags only works for 'empty' tags such as image tags, and <br /> tags.

  • #5
    New Coder
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ahh, thanks At least that bit of code was in a header file, so I only have to change it in one place.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •