Thanks for the info. Accessing the alternate content from a comment isn't as aesthetically pleasing as pulling it from noscript, but it's not bad either. I'm definitely interested if you find a way to do this.
Thanks Alan mab wrote: >> Unfortunately, I just found a problem with this variation in the >> iPhone browser. For some reason, it isn't showing the alternate >> content. I just get a blank page. Does anyone know if the iPhone >> browser has a problem with innerHTML? Mike, have you tried your >> solution on the iPhone? >> > > Yes, I've been struggling with this problem over the last few days in > fact. The problem is that WebKit browsers (Safari & Chrome) do not > allow access to the contents of a noscript tag through the DOM - they > just show the contents as blank. So my solution which relies on being > able to get the contents of the noscript tag for case 3 fails. > > I've looked through the code for WebKit to see if I can change this > behavior somehow. As far as I can tell there's not a solution. All I > can think of is to have the alternate content both in a noscript tag > and in a specially marked HTML comment. Then for case 3 I'll get the > alternate content from the HTML comment. It's very ugly but for me the > solution to this issue is worth it. I'll post again when I come up > with something. > > Even choosing Flash you can't escape all the cross browser issues. > Sigh. > > -Mike > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
