Solved

How to read txt file with html?

Posted on 2006-06-27
1
2,207 Views
Last Modified: 2012-06-21
Hi,
I am creating CD Catalog using HTML, but instead of creating multiple html pages ( I have the same frame for over 40 pages) I would like to have all data in txt file and would be able to read it from frame page.
We already have a website with php and mySQL. The idea is the same, but should be non-server language.
I was thinking about JavaScript, but there are a lot of complications with hacks/workarounds that might work in some browsers.
Any advice on simple CD Catalog?
0
Comment
Question by:idiotsavant0207
[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
1 Comment
 
LVL 2

Accepted Solution

by:
T3Logic earned 250 total points
ID: 16995003
If you just want to read a text file you can include it in some sort of frame.  Iframe or regular html frames will do the trick.

Granted javascript can not read/write to a text file.  

Another option would be to use xml and xml stylesheets.  This way the catalog can be formated somewhat.

http://www.w3.org/Style/XSL/
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

617 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