Here is what I've done, I created a web page with a bulleted list of the
FORTRAN and C++ source files I have in a directory, and each bulleted item
has a hyperlink to an .htm file where I wrapped the source code with the
<PRE> tag targetted to an inline frame, so I can scroll through the code.
The problem is that I have many files and I don't want to have to create an
..htm file for every source file and just wrap a <PRE> tag around it. I've
tried hyperlinking directly to the source file, but it opens an "Open/Save"
dialog box, which is no good because ultimately the web pages will be
compiled into a .chm HTML Help File.
What I would like to do is to be able to link directly to the FORTRAN or C++
source file and have it displayed inside a scrollable frame, preferrably with
syntax highlighting, without having to create an .htm file for each source
file.
Jason Leigh
"Steve Easton" wrote:
> If you mean simply highlight the code part you can do it with CSS.
> If you mean you want to display the color coded text as seen in the IDE,
> take screenshots of the code you want to display and then use the images.
>
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> FP Cleaner
> http://www.95isalive.com/fixes/fpclean.htm
> Hit Me FP
> http://www.95isalive.com/fixes/HitMeFP.htm
>
>
> "Jason.S.Leigh" <(E-Mail Removed)> wrote in message
> news:A8307272-54B2-4010-9559-(E-Mail Removed)...
> >I have a project with many FORTRAN and C++ source files, and would like to
> > display the source code on my web page and if possible have the code syntax
> > highlighted.
>
>
>