Jump to content

Recommended Posts

Posted

Try adding an HTML doctype (e.g. )

 

On IE9 here it's rendering in Quirks mode by default, but forcing the browser into standards mode (via the F12 developer tool) makes it render the same as it does in Firefox 4. I think adding the doctype will make it render in standards mode by default.

Posted

Sorry - I was playing - I've now created calendar2.html to play with and I'll leave calendar.html alone until I can come up with a fix :)

 

Si

Posted

Yippee - I'm starting to get there - I found someone elses .html that has a lot less css in it and that seems to be much better.

 

Interestingly - that doesn't have any doctype header in it and I'm really confused as to whether the css stylign should be commented out or not?

 

Si

Posted

Lastest I've come up with is that I used Firebug in Firefox to copy the actual HTML body text that FF thinks its getting via the javascript/css/html.

 

I then pasted this into http://www.st-leonards-pri.lancs.sch.uk/cal/calendarplain.html , added in the headers/css from calendar2.html and it looks fine in IE7 which would seem to exonerate the CSS element.

 

So at the moment, I think its the javascript thats not delivering the right content (or at least IE7 valid content anyway).

 

If there a tool/website that will let me view what my IE7 thinks its getting (like Firebug for Firefox)?

 

 

Simon

Posted
If there a tool/website that will let me view what my IE7 thinks its getting (like Firebug for Firefox)?

 

 

Simon

 

Can't you just hit F12 and use developer tools? (Pretty sure IE7 had it)

 

Steve

Posted (edited)

Right -gave up on the javascript calendar interface for IE7 and found some code to access a google calendar using php and css works fine in this one: )

 

Listing calendar contents

 

I just need to sort the incoming data into date/time order and find out how to deal with the "Technician on Site" recurring events (Which must have a different xml structure)

[EDIT] Sorted in 10 mins - you can add a parameter to the feed request that turns recurring into a set of single events before the xml feed is delivered to my code :)[/EDIT]

 

I'll find it a lot easier working in php - mainly because its much simpler to debug it as it just generates straight html :)

 

Ta for help though

 

Si

Edited by SimpleSi

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...