Solved

Need an Html code that can be used as default for all pages.Just the content inside the box needs to change. Any help

Posted on 2007-11-19
3
145 Views
Last Modified: 2012-03-15
Hi,

Need an Html code that can be used as default for all pages.Just the content inside the box needs to change. All the data in and around the page is should be same.So that i can change the text inside it and change the links according to my requirmnt.
Any way of doing this with some software that you have a easy way..With some complex functionality.
I have tried many editors but none works good for me and others are payed which i cannot pay for a one time job...
Can any one create one page for me with all common used data.
Regards
Sharath
0
Comment
Question by:bsharath
3 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 20311545
You could create this one page and have an <iframe> in the middle of it.
Then simply load new content into this iframe to match the link clicked
0
 
LVL 11

Author Comment

by:bsharath
ID: 20311556
Ok...
Can you help with the Main page...
Its all static pages with all common options...What ever you can think off...
0
 
LVL 11

Accepted Solution

by:
siliconbrit earned 500 total points
ID: 20311627

Here is a simple example for your Main Page that assumes you have five underlying pages of content that can populate the iframe.  The links on the left each load a different page into the 'target' named 'content.  I have named the iframe 'content' to demonstrate this.

Please note that you will need 5 additional html pages named 'page1.html, page2.html etc for this to work properly.  Each of these pages should only have the content that will be displayed in the iframe.

The 'src' attribute of the iframe is initially set to 'page1.html' so that it loads this page when the visitor first arrives.
<table width="100%"  border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td><a target="content" title="Page One" href="page1.htm">Page One</a></p>&nbsp;</td>

    <td rowspan="5"><iframe src="page1.html" name="content" width="400" height="100%" scrolling="no"></iframe>

</td>

  </tr>

  <tr>

    <td><a target="content" title="Page Two" href="page2.htm">Page One</a></p>&nbsp;</td>

  </tr>

  <tr>

    <td><a target="content" title="Page Three" href="page3.htm">Page One</a></p>&nbsp;</td>

  </tr>

  <tr>

    <td><a target="content" title="Page Four" href="page4.htm">Page One</a></p>&nbsp;</td>

  </tr>

  <tr>

    <td><a target="content" title="Page Five" href="page5.htm">Page One</a></p>&nbsp;</td>

  </tr>
 

</table>

Open in new window

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…
Learn how to use the remote presentation tool in Prezi to allow you to harness the power of this cloud based presentation platform. You can show your presentation with a remote audience using this free tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now