View Full Version : Page within a page
iampedro
11-14-2003, 11:26 AM
Is it possible to put this page ? Click Here (http://www.thecraveclass.com/cal)
Inside another html page?
Peter
animgirl
11-14-2003, 12:04 PM
yep.
Welcome to the forums!
animgirl
iampedro
11-14-2003, 12:28 PM
How? Is there some page can you explain?
animgirl
11-14-2003, 12:37 PM
For example: On a client's site of mine, they wanted an engagements calendar. But we wanted to have it within the already built site. The engagements calendar was a totally separate script that I had to converge within our site layout.
See it here (http://www.alliancemusic.org/engagements/)
In simple terms, I took the code for the calendar and placed it within the code of the page that I had scripted. Then I adjusted the css so that it matched the scheme of my site.
Do you have a page or some code that you are trying to insert this script into, that we could look at?
I think I could be of better help on this if I saw your situation.
animgirl
iampedro
11-14-2003, 12:49 PM
I just have this calendar that I want to put in a normal html code.
Calendar: http://www.thecraveclass.com/cal/
Typcial webpage: http://www.thecraveclass.com
animgirl
11-14-2003, 01:25 PM
Okay, could you please zip the calendar project as a whole and place it here for me to download and work on?
Thanks,
animgirl
Daybreak_0
11-14-2003, 01:32 PM
animgirl
I have seen you list that site before "alliancemusic.org". Don't know if it is their bandwidth but it always takes me 2-3 minutes to load their page.
Regards
Day
animgirl
11-14-2003, 01:33 PM
Hmmm, could you pm me your specs?
Thanks,
animgirl
Daybreak_0
11-14-2003, 03:22 PM
Specs? not exactly sure what you mean.
well I don't know you that well and not on the first date. :D
But -
win98 - fully updated
p3 833 (so old now)
Cable - very good speeds though - different than US as not as many people on it. Faster than DSL.
IE6
location Australia.
ummm more?
Do not normally have any trouble with US sites.
Regards
Day
iampedro
11-14-2003, 04:02 PM
Here is the project... I am working with a program that my host put on the server... The files are too large..
Here is the project though:
http://webcalendar.sourceforge.net/
animgirl
11-15-2003, 06:36 AM
Hey iampedro: Could you zip the files and upload them?
Daybreak: LMBO that was funny.
Could you try to visit another site of mine that's also on the same server and see how that one loads? Here's a plug for my personal site (hehe): Impel Designs (http://www.impeldesigns.com)
Thanks so much,
animgirl
iampedro
11-15-2003, 06:48 AM
I can zip and upload the install files from the webcalandar site.. but for my project... I won't upload it b/c of security reasons.. I hope that you understand..
animgirl
11-15-2003, 07:00 AM
Well, did you know that you could upload it directly here by browsing on your comp?
(Just wanted to make sure)
animgirl
iampedro
11-15-2003, 07:03 AM
I understand what your saying... I understand how to imbed a webpage within a webpage but I don't know how to imbed a actively changing web php page into a html page that is my issue..
Daybreak_0
11-15-2003, 01:44 PM
Animgirl
Your site, so soon!!, loads within a couple of seconds. Very impelssive.
But tested Alliance's again, and could not even get on. Tried several times but same result. I tested the images on the home page including backgrounds, and each loaded without a problem, even though some are large.
Not sure what it could be and maybe it is only me that is having a problem.
Day
animgirl
11-15-2003, 03:13 PM
I can zip and upload the install files from the webcalandar siteYeah, do that please.
Daybreak: I'm not sure what the issue is, but it does bug me. I'm going to keep pondering it... thanks for letting me know, oh; and for the specs. ;)
animgirl
daferret
12-11-2003, 05:46 PM
Hi everyone!
I'm new, but that's off topic... :)
Originally posted by iampedro
I understand how to imbed a webpage within a webpage but I don't know how to imbed a actively changing web php page into a html page
For a static HTML page you could frame *cringe* it. Instead of specifying a local file in a frame, just have the URL to that calendar.
If the page that you want to embed that calendar in uses scripting (like PHP), you could have a script that would grab the calendar and include it.
Sorry, but it's been a while since I've scripted anything so all I can say is how I think the script would work...
1. Accesses the calendar page
2. Grabs the relevant content
a. script would search for a begin marker (like maybe the open body tag)
b. copy all content until it hits the end marker (like the end body tag)
c. keeps all the content in a variable
3. Then writes the content on your page.
a. the variable is printed on your page.
As long as the calendar page doesn't modify the open body tag, you should be able to grab the entire page no matter how the content changes. However, all its local styling won't be applied if the calendar page is using stylesheets (since you'd be grabbing the info after the body tag). This could be a good thing if you wanted to style it your own way.
HTH
Originally posted by iampedro
I understand what your saying... I understand how to imbed a webpage within a webpage but I don't know how to imbed a actively changing web php page into a html page that is my issue..
You can imbed it pretty easily using an iframe but I don't understand what the "actively changing" has to do with it. The biggest problems I see are the fact that it's huge (it's a page in itself) and the app generated markup is awful and probably not conducive to easy incorporation.
Sinai
06-29-2004, 11:00 PM
<iframe scroll=auto height =300 width=300 frameborder=0 src="http://www.content.com">your browser doesn't support iframes. please update your browser.</iframe>
That you can place where ever you want your content to display. Just replace the src url with what you want to call into the page. To call up the php script just locate the index page for the script and tell the iframe to src it.
Sinai
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.