Quote:
Originally Posted by fimmel
try changing the last 2 characters to the iframe from:
to:
that fixed cutting the rest of the page off on my site
...forest
|
I don't know why the XML tag shorthand was used, especially considering that iframes have been depreated, and the whole rest of the tag isn't valid XML anyways.
You MUST (
rfc 2119) encode attributes with their entitles. This means replace the & with & as shown:
Code:
<iframe src="http://www.thebluealliance.net/tbatv/iframe_playlist.php?frontcolor=ffcc00&backcolor=660000&lightcolor=ffff00&year=2007&team=177" frameborder="0" height="470" width="395" scrolling="no"></iframe>
This holds for both HTML and XML.
Teams use the XHTML format,
team 237 for example, with
invalid XML. The only reason no XML error parser errors show up is because browsers will not use an XML parser unless application/xhtml+xml is sent in the Content-type header (sending documents as text/html will make browsers use the standards mode SGML parser). Don't get me wrong, XHTML is great, I use an XSL parser to make edits to my teams website, you can't do that with plain old HTML
Iframes are really hackish, it would be much better to create a custom flash player that will grab the team list, instead of coding it in HTML loaded from an iframe, or link to the list of videos otherwise.