Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-04-2005, 11:24 PM   PM User | #1
EvilPenguin
New Coder

 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
EvilPenguin is an unknown quantity at this point
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)
EvilPenguin is offline   Reply With Quote
Old 12-04-2005, 11:33 PM   PM User | #2
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
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" />
__________________
markaylward.co.uk
mark87 is offline   Reply With Quote
Old 12-04-2005, 11:45 PM   PM User | #3
EvilPenguin
New Coder

 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
EvilPenguin is an unknown quantity at this point
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
EvilPenguin is offline   Reply With Quote
Old 12-04-2005, 11:51 PM   PM User | #4
mark87
Senior Coder

 
Join Date: Dec 2004
Location: Essex, UK
Posts: 2,636
Thanks: 0
Thanked 0 Times in 0 Posts
mark87 is on a distinguished road
The XHTML way of closing tags only works for 'empty' tags such as image tags, and <br /> tags.
__________________
markaylward.co.uk
mark87 is offline   Reply With Quote
Old 12-04-2005, 11:55 PM   PM User | #5
EvilPenguin
New Coder

 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
EvilPenguin is an unknown quantity at this point
Ahh, thanks At least that bit of code was in a header file, so I only have to change it in one place.
EvilPenguin is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:25 AM.


Advertisement
Log in to turn off these ads.