![]() |
Can I write dynamic php content to an iFrame?
ie. a forum or such?
Noob question I know, sue me. |
Quote:
|
Quote:
ok thank you next question. you suggest using a force frame script? |
what exactly do you wanna do with it?
|
embed a forum into an iframe lol
gotta fit in with the site template so thats the reason behind the force frame question. or is there an easier way to do that? i just need to make sure that the interface sticks around and that no one can bypass it. i.e. sidebar etc. |
like this:
pageLoc = self.location; pageAdd = top.location; if (pageLoc hahahaha pageAdd) { contentSrc = escape(pageLoc); contPage = 'index.html?' + contentSrc; top.location.href = contPage; } |
Why don't you use something like vBulletin where you control the actual template of the forum. Or am I off in my interperation of what you want to do?
|
Quote:
if you link a forum in your iframe and they have top.location in it then it wont work. It will break out of the iframe. |
Quote:
but thats still gonna be a stand alone page. i need to nestle it into the site. its side and top bars surrounding an iframe where all the content is diplayed. i need the forum to do the same. |
Quote:
i thought if LOC and ADD were the same then it forced a load of the index which contained the shit in an iframe? |
All times are GMT -7. The time now is 05:41 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123