| | |
Loading a Page Within a Page
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2006
Posts: 8
Reputation:
Solved Threads: 0
Without using frames, is it possible to load a html page within a certain area of another html page?
To hopefully make my question a little clearer, I am trying to write a website where I could have the site's logo an navigation system be saved on a certain file, and have all of the other pages on the site load that file so if I want to make a change, I won't need to rewrite the code on every page on the website. I know this is possible with frames, but I'm not really a fan of them and was wondering if there is any other way to do this.
Thank you!
To hopefully make my question a little clearer, I am trying to write a website where I could have the site's logo an navigation system be saved on a certain file, and have all of the other pages on the site load that file so if I want to make a change, I won't need to rewrite the code on every page on the website. I know this is possible with frames, but I'm not really a fan of them and was wondering if there is any other way to do this.
Thank you!
Last edited by Juggler; May 9th, 2007 at 8:48 pm. Reason: clarification of question
you can yes
e.g if you have a static page holding links in the left frame and you want the right pane to go to whatever link they click in the left pane then you can target one frame from another with something like:
this only works if you give your frames proper names
e.g if you have a static page holding links in the left frame and you want the right pane to go to whatever link they click in the left pane then you can target one frame from another with something like:
HTML and CSS Syntax (Toggle Plain Text)
<A href="page.html" target="contentframe">Link Description</A>
this only works if you give your frames proper names
Last edited by jbennet; May 9th, 2007 at 8:48 pm.
If i am helpful, please give me reputation points.
- you could use iframes (inline frames) but i wouldn't suggest it, this situation pertains better to frames if its a choice between the two;
- you can get a certain amount of 'global control' using sitewide stylesheets, but often not enough;
- beyond that, using some PHP, Perl, ASP, JSP, XSLT, etc at the server to glue parts of pages together works, with a fair degree of control;
- avoid using client-side Javascript or XSLT to do this, it doesn't make good sense;
- alternatively, if you don't have a need or desire for pages to be created everytime they are accessed, use any kind of programming / transformation language or other technology to prepare your pages from mutliple sources offline.
- you can get a certain amount of 'global control' using sitewide stylesheets, but often not enough;
- beyond that, using some PHP, Perl, ASP, JSP, XSLT, etc at the server to glue parts of pages together works, with a fair degree of control;
- avoid using client-side Javascript or XSLT to do this, it doesn't make good sense;
- alternatively, if you don't have a need or desire for pages to be created everytime they are accessed, use any kind of programming / transformation language or other technology to prepare your pages from mutliple sources offline.
Plato forgot the nullahedron..
•
•
Join Date: May 2007
Posts: 20
Reputation:
Solved Threads: 1
That is not possible, you must use server side script includes Juggler.
![]() |
Similar Threads
- Server Not Found/Problem loading Page (Web Browsers)
- Have formated but still goes to loading page?? (Troubleshooting Dead Machines)
- Javascript causes page to crash (JavaScript / DHTML / AJAX)
- I have an active connection but "Problem loading page" (I'm at a loss of what to do) (Networking Hardware Configuration)
- random page crashes in php (PHP)
- Page Loading (JavaScript / DHTML / AJAX)
- update the page without changing it? (Site Layout and Usability)
- Page hangs or displays connection pooling max size error (ASP.NET)
- Page gets switched to HTTP:/// and returns error (Web Browsers)
Other Threads in the HTML and CSS Forum
- Previous Thread: HTML redirect value
- Next Thread: how to?
Views: 5255 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
2002 appointments asp background backgroundcolor beta browser bug calendar cart center cgi code codeinjection corporateidentity create css deleted design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format free frontpage google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft missing mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl






