Forum Moderators: open
<iframe src="http://www.example.com/modules.php?op=modload&name=News&file=article&sid=53459&mode=thread&order=0&thold=0" height="300" width="100%" frameborder="0"></iframe>
but when i use the object tag, it doesnt work:
<object classid="http://www.example.com/modules.php?op=modload&name=News&file=article&sid=53459&mode=thread&order=0&thold=0" height="300" width="100%" type="text">object cant load</object>
i've tried classid and also data. i have other object tags on the site, specifically here:
<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>
and it works. the only thing i can figure is that the object source that isnt working doesnt have a .html suffix on the page. i did some poking around and i cant find that exception explained. i'm sure i'm missing something stupid. but the reason i think this is because i first tested a homepage, which didnt work, then i added "/index.html" to it, and it worked.
what bothers me is that the iframe always seems to work in ie, but the object, even when referring to .html pages, doesnt work in ie. i'd rather use object tags and tell my small site membership to use a real browser.
i really appreciate any insight you can provide. i'm dont have tons of expertise with html, but it's frustrating because i'm so close on this.
thanks.
[edited by: seanmh at 12:04 am (utc) on April 27, 2005]
[edited by: tedster at 12:51 am (utc) on April 27, 2005]
Second, you should remove the URL (or a friendly moderator will do it for you) to keep the post of general use. Your explanation of the problem is easy enough to understand withoug getting specific about your site.
Third, you might want to try a different type attribute in your object tag. Don't use "text", but "text/html". This will give the browser a better idea about what to do with the content it is supposed to load.