With DFDC now approaching six years old, the template it is based on was breaking in a lot of places. After a few hours of debugging, hopefully they have all been fixed now!
I spent a few hours fixing the following broken code on the site:
- In Firefox v3, the flash in the top left was improperly spaced. Turns out putting the embed code for the SWF inside the Object code was the problem. Solved it with the SWFobject which is a javascript that loads only the right object or embed code based on the browser.
- The flash players on the multimedia page were not loading properly in IE 7, many times coming up blank. The solution was again to use the SWFobject loader. But it required all the code to redone which took a few hours.
- The audio clips for the Long John Nebel and the 1956 Vancouver recording were mixed up too.
- With the new flash player code, the expand-to-full-screen button works now too!
- Ever since the IE v7 came out, the pictures of the books on the right hand side of the Writings page were hidden to the right of the page. The solution was to use a table with “width=100” to bring them back onto the page. It is a hack but it works on all the browsers tested so far.
As a new feature, there are also now floating javascript buttons on certain pages, like the multimedia page in order to make vertical navigation faster. I also updated all the books that had a table of contents with the floating menu, for example the White Sands Incident.
Let me know if anything else is broken.
Cheers, Sean.