HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
I want to display a web page within a web page Posted by AgentSaenz on 25 Jul 2008 at 6:42 PM
I want to display a web page with in a web page. Now, inevitably, the question comes "Why would you want to do that?" Or "Just post a simple <a herf =""> whatever link. Well, I'm in charge of designing the web site, and only do what the client/customer wants. To answer the question on a more practical basis, the web site has user profiles and at the bottom of their profile, the customer wants the web site for taht user's sponsor displayed.
I'm not sure if this is something that HTML can handle or if I need to just sift through JavaScript or PHP manuals to find the answer, but I thought I'd ask the gurus here. If you can help, please do or at least point me to a link taht will have the answer. Thanks!
Report
Re: I want to display a web page within a web page Posted by rushentt on 26 Jul 2008 at 5:16 PM

Just use a frameset which can be done in HTML
You will have to decide where on the page you are going to display it
For example:-
<frameset id="framain" frameborder="0" framespacing="0" rows="152,*">
<frame src="heading.htm" name"heading" id="heading" scrolling="no"
marginheight="0" marginwidth="0"
framespacing="0" frameborder="0">

<frameset id="frabody" frameborder="0" framespacing="0" cols="160,*">
<frame src="menu.htm" name="menu" id="menu" noresize="yes" scrolling="no"
marginheight="10" marginwidth="0"
framespacing="0" frameborder="0">

<frame class="fbody" src="mainpage.htm" name="body" id="body" noresize="yes" scrolling="yes"
marginheight="0" marginwidth="0"
framespacing="0" frameborder="0">

</frameset>
</frameset>

Rgds

Terry


: I want to display a web page with in a web page. Now, inevitably,
: the question comes "Why would you want to do that?" Or "Just post a
: simple <a herf =""> whatever link. Well, I'm in charge of designing
: the web site, and only do what the client/customer wants. To answer
: the question on a more practical basis, the web site has user
: profiles and at the bottom of their profile, the customer wants the
: web site for taht user's sponsor displayed.
: I'm not sure if this is something that HTML can handle or if I need
: to just sift through JavaScript or PHP manuals to find the answer,
: but I thought I'd ask the gurus here. If you can help, please do or
: at least point me to a link taht will have the answer. Thanks!
:
Report
Re: I want to display a web page within a web page Posted by chriseccles2 on 22 Sept 2008 at 9:01 AM
In case anyone new isn't aware of it, this technique can also
be used to include a call to SSI (for example, to display a hits
count or whatever) within an HTML page which isn't normally
parsed to detect comments as possible #exec calls.
-
Just link the frame to another .shtml file on your server which
contains the call to the counter, and the counter will display
inside the inline frame.
-
This saves having to annoy the webmaster at your host by
insisting that all .html is parsed for SSI's ! !

-
Chris


Report
This post has been deleted. Posted by salacious_0929 on 17 Nov 2008 at 12:01 PM
This post has been deleted.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.