Generic-user-small Khoivu Nguyen 1 post

I have tried to run the Ajax/Geometry example with IE 6 and it does not work. I do not have IE JS script debugger so I do not know why it broke.

—K

 
Headshot_120px_small Christophe P... 28 posts

I’m sorry to hear that. I confess to not having had time to test again the entire codebase after the latest lib changes. I’ll try and find a moment to test that up in the coming days, and will reply here (and post an errata on the book’s blog, if need be).

Thanks for the heads up!

 
Headshot_120px_small Christophe P... 28 posts

Hey Khoivu,

I finally found a moment to test the Ajax geometry example on IE6, as provided in the code archive for the book. Functionally, it works like a charm, so I don’t know what kind of issue you have, perhaps you typed it yourself and forgot a tiny thing?

On the other hand, the CSS doesn’t work so well (IE6 doesn’t size positioned elements based on left and right only, it requires width), so I tweaked the CSS for it and will upload it in a book erratum at some point.

Here is the changed part of geometry.css:


.widget {
  position: absolute; top: 5em; width: 15em;
  border: 0.25em solid gray; background: silver;
  padding: 2em 0.5em 0.5em;
}

.widget h2 {
  position: absolute;
  top: 0; left: 0; width: 15.6em; height: 1.5em;
  font-size: 1em; line-height: 1.5em;
  margin: 0; padding: 0 0.2em;
  background: gray; cursor: move;
}

‘hope this helps,

- Christophe

3 posts, 2 voices