Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 485
  • Last Modified:

Alternative to frames

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
HyMaX
Asked:
HyMaX
1 Solution
 
KenAdneyCommented:
I'd recommend cascading style sheets.  Take a look at how http://csszengarden.com places their menus.
0
 
dorwardCommented:
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
Technology Partners: 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!

 
annamalai77Commented:
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
 
zastilCommented:
Maybe use an <iframe></iframe> instead!
0
 
dorwardCommented:
Iframes are mentioned at the URI I referenced earlier - along with a bunch of warnings about the problems they can introduce.
0
 
llcooljayceCommented:
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
 
bitter_chickenCommented:
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
 
victorusCommented:
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
 
HyMaXAuthor Commented:
iframe was perfect for me! thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now