The code is:
a source for an iframe is a link to a page within the site or a http:// url to another site's page.
So EW is doing exactly what it should, which is nothing.
Expression Web MVP
- Edited by KathyW2 Sunday, February 19, 2012 9:42 PM
In the above example, you would want to change forum-name to the name of the group you want to pull into the iframe."
Yes, I did already have the full code as per the Google instructions, part of it got lost in my paste in to the message - sorry. So your note is that EW does not support JScript, so its display function will fail, just as it does. By "Web display works" I mean that any web browser does display correctly, only EW fails.To say that display view is not a browser is curious to me, I would (did) presume that it means "Display [like a browser]".
I hadn't seen that EW dosn't support JS - that is the missing information, thanks.
Might be good if EW would say that, instead of just "could not open page". And then it does not just miss that added iframe, but does not display any of the page - a bug in my opinion.
I'm not sure what you mean by your proposed change to the Google code to add a placeholder, it works fine in FFox without any change.
EW's Design Pane is a sketch pad, if you will. It doesn't display active content, but it does other things that browsers can't do and that web designers need (Visual Aids, including showing edges of elements, padding, margins, errors, and allowing you to work in the design pane and have the code automatically update, etc.). That's why it's so important to preview in the 4 or 5 major browsers.
If EW did act as a browser, which one should it work like? That would be just as (if not more) counterproductive--lulling people into a false sense that all is fine without checking in other browsers.
Comic Sans walks into a bar. The bartender says, "Get out! We don't serve your type."
" a bug in my opinion."
No, it's not a bug at all. EW Design View (NOT "Web display") is not a browser, and never said it was. There's a reason that EW has Browser Preview tools: use them. Not only is EW Design View not a browser, but it could not be: there are many browsers and they don't all display the same, and many have frequent updates, so which browser, which version, should it try to pretend to be? And, Design View displays visual aids which take up their own space, etc.. Browsers run javsascript and do other things requiring interaction: EW Design View does not. Use browser previews, in all the widely used browsers, to see how your page actually works.
"I'm not sure what you mean by your proposed change to the Google code to add a placeholder, it works fine in FFox without any change."
- Edited by KathyW2 Monday, February 20, 2012 7:16 AM
" I still think it could display the rest of the page, missing what it could not render, instead of a blank page & error message instead."
It will. If you have something else on the page besides that iframe, EW will display it, only displaying the missing src error inside the iframe. (Unless the other things on your page required browser interactivity, of course. EW displays static content.)