


brede_html_open_jerne - Open a file and write a "Jerne" header
function fid = brede_html_open_jerne(filename, PropertyName,
'PropertyValue')
Input: filename String with filename
Property: DirectoryBar String or cellstring with HTML that
is displayed as the directory bar.
Title String with title
This functions opens a file for writing a writes a header in
the style of "jerne". The fid returned can be used to write
to the body of the web-page. After writing the body the file
should be close with the brede_html_close_jerne function.
Example:
fid = brede_html_open_jerne('helloworld.html');
fprintf(fid, 'Hello, World')
brede_html_close_jerne(fid);
directoryBar = { '<a href="http://www.imm.dtu.dk">IMM</a>' ...
'<a href="http://www.dtu.dk">DTU</a>'};
fid = brede_html_open_jerne('helloworld.html', ...
'directoryBar', directoryBar, 'title', 'Hello')
fprintf(fid, 'Hello, World')
brede_html_close_jerne(fid, 'directoryBar', directoryBar);
See also BREDE, BREDE_HTML_CLOSE_JERNE, BREDE_WRITE.
$Id: brede_html_open_jerne.m,v 1.15 2009/10/25 17:21:21 fn Exp $