/    Sign up×
Community /Pin to ProfileBookmark

Opening a page within a page

Not sure if the title of the thread describes what I need…
I want to create a simple web page with a title, menu and content parts as shown below…
[IMG]http://img147.imageshack.us/img147/8530/43412213zk3.jpg[/IMG]
I was thinking of using a table and place all of these parts in different cells of the table, merging the top two rows for the logo.
The question I have is how to open the links in the menu cell of the table, so that they would open inside the content cell of the table without having html code for menus and title on each page?

Thanx in advance ?

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@CentauriNov 08.2007 — Firstly, [B]DON'T[/B] put the various parts in tables - tables are for displaying tabular data, not for laying out sites...

You could use an iframe, but these have accessibility / usability issues like standard frames do. The normal method is to load a new page with the same headers / menus etc, but you can use server-side languages such as SSI, PHP or ASP (depending on what your server supports) to either insert common header and menu files into each page, or insert content pages into a common master page - each page is reloaded with the common parts on each, but the server does the work of combining them so you don't have to manually write (and update) the header and menu in each page.
Copy linkTweet thisAlerts:
@KarpatyauthorNov 08.2007 — This is a basic html assignment and does not require any server-side languages. It wont even be put up on the net. I had done similar things with PHP on my personal site a while back and just thought maybe there was an alternative to this method using html only. I guess there isnt.

P.S. I never use frames - cant stand them.
Copy linkTweet thisAlerts:
@felgallNov 08.2007 — Maybe you should consider using object tags instead as they are the replacement for frames and all the other tags that used to be used for embedding things into web pages.
Copy linkTweet thisAlerts:
@jackacohenJan 16.2010 — See:

http://comaj.net/logic/fotProbs.htm

Then use view-->source to see straight html coding.
×

Success!

Help @Karpaty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...