Tuesday, January 24, 2006

Tyler Web Bug note #1

Just hoping to share some stuff I came across while doing web app.

1. Loading dynamic XML document via HTTPS to Flash in IE.
With the current IE 6, you will not be able to do that unless you specify the cache and pragma header in the xml document to cache. This is a bug in IE 6 causing dynamic xml documents not to load for Flash in SSL.

2. Server side preloading
When doing preloading on server side by pushing partial completed webpage first and following by the completed one once it has finished. You must take note that the rendering engine in most browser will not display your html code (esp table tag) unless you complete them. Using div tag is better

3. XML node manipulation for html tag in IE (esp doing AJAX)
Almost all standard xml javascript is supported in IE except a few functions which are buggy in IE. A few examples is the setAttribute method. Doing it in IE will output the correct innerHTML string but it does not register in the windows event. e.g node.setAttribute("onclick", "method_name()") will not work unless you manually register the event in windows, setting attribute for class, CSS will not work also. Use the conventional method if need be.

No comments: