We're looking for some form of solution to iframes, we cant use php include because its not practical - Unless iframes are now compatible with all well-known browsers.
Any ideas?
Printable View
We're looking for some form of solution to iframes, we cant use php include because its not practical - Unless iframes are now compatible with all well-known browsers.
Any ideas?
Iframes have been compatible with all browsers for years.
wth u on about ?
U wnt to include pages on ur site?
Use AJAX content loading?
Oh, i didnt think that iframes were compatible with all browsers, so to name they work with IE, Firefox, Opera, Safari ?
Yea, should make sense, its a basic function to replace a div's contents with that of a page with some loading text just before. Its basic and ugly but thats the sort of thing you will be looking at if you go down the ajax route.HTML Code:
<!-- javascript (include prototype and scriptaculous here) -->
<script src="linkto/prototype.js" type="text/javascript"></script>
<script src="linkto/scriptaculous.js" type="text/javascript"></script>
<script type="text/javascript">
function loadPage( div, url ){
var loadingText = 'Loading...'; //html can go here too
document.getElementByID(div).innerHTML = loadingText;
new Ajax.Updater( div, url );
}
</script>
<div id="content"></div>
<a href="#" onClick="loadPage( 'content', 'news.php' );">News</a>
However iFrames are fine to use (even though I hate people who do ;) ).
IFrames are fine.Quote:
However iFrames are fine to use (even though I hate people who do ;) ).
Rather than using outdated iFrames, you should probably use AJAX from one of the many Javascript libraries. I would recommend JQuery (http://jquery.com) or my personal favourite, Scriptaculous (http://script.aculo.us)
If they work use them, iframes in my opinion are simpler and easier to use, no need to worry about them being out of date if they do the job you want them to do, as a few people have said they are fine
I don't see why you're attempting to correct someone who quite ab bit more then you.
Considering you, is also wrong, is trying to correct Tim.. I'll correct you.
If you want to get technical about it, the correct way to say it is IFrame.. so you are infact wrong, there is a capital F.
IFrame or IFRAME, but to be honest, it doesn't matter how you type it.. as long as people know what you are talking about.
Thanks ;)
You are infact wrong. You corrected Tim in saying that IFrame did not have a capital F. Please explain to us where you got this information, that proves that it does not have a capital F.
IFrame
I - Inline
F - Frame
The two words combined, would produce two separate capital letters, hence IFrame.
I respect your opinion on saying that I am a *** coder. That is your opinion, and only your opinion, it doesn't affect the truth at all ;)
I like how you appear to be e-hard on here, it's quite entertaining, having to resort to words like ******, when you were proven wrong.
Just seems to me like you are are sore loser, or just can't take being proven wrong.
Nope. He wasn't kidding
I'm better than anyone on this forum at absouloutly everything in the world. but people can't seem to accept that.
Shame really.
I would also like to see such points proven. Especially from someone who likes to sign his/her posts with xoxoxox. :S
Then your post stands at what it is, pure stupidity.
You're claiming that you're better then anyone on this forum, at absolutely everything in the world and that people just can't seem to accept that, yet what do we have to accept?
You won't show us proof of this, so what can you expect? People don't just accept things based on one person's opinion of themself.