Solved

Alternative to frames

Posted on 2004-04-23
10
480 Views
Last Modified: 2010-04-06
Hi, I'm looking for an alternative, insted of using frames... Is there something that can update a content in several pages? I used frames to create menus and things like that... Thanks a lot!
0
Comment
Question by:HyMaX
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 17

Expert Comment

by:dorward
ID: 10901983
0
 
LVL 10

Expert Comment

by:KenAdney
ID: 10902239
I'd recommend cascading style sheets.  Take a look at how http://csszengarden.com places their menus.
0
 
LVL 17

Expert Comment

by:dorward
ID: 10902290
While CSS is an excellent tool for presentation, it doesn't solve the problem of updating the content of multiple pages. You need some form of include or template for that.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:annamalai77
ID: 10906300
hi

i agree wit dorward.
u can create a menu using tools like DHTML menu creator, save in a file and include that file in all the other files.

that will be a better option.

regards
annamalai
0
 
LVL 3

Accepted Solution

by:
zastil earned 70 total points
ID: 10906671
Maybe use an <iframe></iframe> instead!
0
 
LVL 17

Expert Comment

by:dorward
ID: 10906682
Iframes are mentioned at the URI I referenced earlier - along with a bunch of warnings about the problems they can introduce.
0
 
LVL 4

Expert Comment

by:llcooljayce
ID: 10908104
Hi HyMaX,

<iframe> is by far the most efficient soloution to your problem.  The syntax is extremely easy and you can place it anywhere.  Check out  http://www.w3schools.com/tags/tag_iframe.asp for an indepth analysis of how to use the <iframe> tag

Cheers!
0
 
LVL 5

Expert Comment

by:bitter_chicken
ID: 10910982
The cost might seem a little prohibitive, but at least download the trial and see if it is worth it:

www.macromedia.com  - the product you're looking for is Dreamweaver MX 2004

It is (i think) the most popular web development tool....

It offers two ways to make do without those pesky frames:
 - Use of templates; you create one 'Template' page; and you decide which regions may or may not be edited. Then whenever you change the template, it automatically updates the code in all pages based on the template.
 - Use of 'library items'; you create bits of code, and save them in a library of bits. It tracks these bits wherever you insert them. So when you change any one of the bits, it will change in the whole site

bc :-)
0
 
LVL 4

Expert Comment

by:victorus
ID: 10919264
You could use PHP (if you have that option on your server) and use the include() programming statement to "include" the contents of a single file into your many html pages.
See:
http://us4.php.net/include/
for information on how this might be done...

-Vic
0
 

Author Comment

by:HyMaX
ID: 10919803
iframe was perfect for me! thanks!
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RSS Feeds--IE 13 195
error email attachment VB2010 5 58
How to i line up css containers from left to right 35 23
Coldfusion- Create and save form elements in Database 7 107
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

739 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