Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Forums
Blogs
Articles
Groups
Galleries
Member List
Calendar
Home
Forum
Simply Business
Fucking Around & Business Discussion
Can I write dynamic php content to an iFrame?
Can I write dynamic php content to an iFrame?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
jimthefiend
So Fucking Banned
Join Date:
Oct 2003
Posts:
18889
Share
Post
#1
Can I write dynamic php content to an iFrame?
01-02-2006, 08:35 AM
ie. a forum or such?
Noob question I know, sue me.
grumpy
Too lazy to set a custom title
Join Date:
Jan 2002
Posts:
9870
Share
Post
#2
01-02-2006, 08:49 AM
Originally posted by
jimthefiend
ie. a forum or such?
Noob question I know, sue me.
yes you can. Just see a iframe as a second browser window wich you can control from your main window.
Don't let greediness blur your vision
|
You gotta let some shit slide
icq - 441-456-888
Comment
Post
Cancel
jimthefiend
So Fucking Banned
Join Date:
Oct 2003
Posts:
18889
Share
Post
#3
01-02-2006, 08:51 AM
Originally posted by
grumpy
yes you can. Just see a iframe as a second browser window wich you can control from your main window.
ok thank you next question.
you suggest using a force frame script?
Comment
Post
Cancel
grumpy
Too lazy to set a custom title
Join Date:
Jan 2002
Posts:
9870
Share
Post
#4
01-02-2006, 08:55 AM
what exactly do you wanna do with it?
Don't let greediness blur your vision
|
You gotta let some shit slide
icq - 441-456-888
Comment
Post
Cancel
jimthefiend
So Fucking Banned
Join Date:
Oct 2003
Posts:
18889
Share
Post
#5
01-02-2006, 08:58 AM
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.
Comment
Post
Cancel
jimthefiend
So Fucking Banned
Join Date:
Oct 2003
Posts:
18889
Share
Post
#6
01-02-2006, 09:03 AM
like this:
pageLoc = self.location;
pageAdd = top.location;
if (pageLoc hahahaha pageAdd) {
contentSrc = escape(pageLoc);
contPage = 'index.html?' + contentSrc;
top.location.href = contPage;
}
Comment
Post
Cancel
modF
Confirmed User
Join Date:
Aug 2002
Posts:
1888
Share
Post
#7
01-02-2006, 09:04 AM
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?
I do things
skype:themodF
Comment
Post
Cancel
grumpy
Too lazy to set a custom title
Join Date:
Jan 2002
Posts:
9870
Share
Post
#8
01-02-2006, 09:05 AM
Originally posted by
jimthefiend
like this:
pageLoc = self.location;
pageAdd = top.location;
if (pageLoc hahahaha pageAdd) {
contentSrc = escape(pageLoc);
contPage = 'index.html?' + contentSrc;
top.location.href = contPage;
}
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.
Don't let greediness blur your vision
|
You gotta let some shit slide
icq - 441-456-888
Comment
Post
Cancel
jimthefiend
So Fucking Banned
Join Date:
Oct 2003
Posts:
18889
Share
Post
#9
01-02-2006, 09:07 AM
Originally posted by
modF
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?
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.
Comment
Post
Cancel
jimthefiend
So Fucking Banned
Join Date:
Oct 2003
Posts:
18889
Share
Post
#10
01-02-2006, 09:10 AM
Originally posted by
grumpy
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.
i thought if LOC and ADD were the same then it forced a load of the index which contained the shit in an iframe?
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment