Hello SAS programmers.
I am trying to do (using ODS) very simple HTML site. I wrote a code like this:
Data Fakedata;
Length fakevar $ 1;
Label fakevar = '00'X;
Fakevar = ' ';
Run;
Proc Template;
DEFINE STYLE Fish_Style;
STYLE Body / backgroundimage ="C:\Temp\Fishing_Club\Files\Tlo_1.gif" watermark=ON;
STYLE SysTitleAndFooterContainer / background = _undef_;
STYLE Systemtitle / background = _undef_;
STYLE SystemFooter FROM TitlesAndFooters "Controls system footer text." /
PROTECTSPECIALCHARS = OFF
background = _undef_;
END;
Run;
ODS HTML BODY="C:\Temp\Fishing_Club\Fish1.html" Style=Fish_Style;
TITLE1 " ";
TITLE2 COLOR="#FFEB8C" JUSTIFY=CENTER HEIGHT=6 FONT="Castellar" "Fishing Club";
Proc Print Data=Fakedata noobs label;
Var Fakevar / style(data) = [just=right
posthtml =
"
<a href='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG'>
<IMG src='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG'
height=125 width=100 alt='...' > </a>
<a href='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG'>
<IMG src='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG'
height=100 width=125 alt='...' > </a>
<a href='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG'>
<IMG src='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG'
height=100 width=125 alt='...' > </a>
"];
Run;
ODS HTML CLOSE;
Unfortunately I have WARNIG:
"WARNING: The quoted string currently being processed has become more than 512 characters long. You may have unbalanced quotation marks"
...and I don't now how correct this.
When I put more photos every photos are erased from the site.
Any solutions ???
Regards & thx
I am trying to do (using ODS) very simple HTML site. I wrote a code like this:
Data Fakedata;
Length fakevar $ 1;
Label fakevar = '00'X;
Fakevar = ' ';
Run;
Proc Template;
DEFINE STYLE Fish_Style;
STYLE Body / backgroundimage ="C:\Temp\Fishing_Club\Files\Tlo_1.gif" watermark=ON;
STYLE SysTitleAndFooterContainer / background = _undef_;
STYLE Systemtitle / background = _undef_;
STYLE SystemFooter FROM TitlesAndFooters "Controls system footer text." /
PROTECTSPECIALCHARS = OFF
background = _undef_;
END;
Run;
ODS HTML BODY="C:\Temp\Fishing_Club\Fish1.html" Style=Fish_Style;
TITLE1 " ";
TITLE2 COLOR="#FFEB8C" JUSTIFY=CENTER HEIGHT=6 FONT="Castellar" "Fishing Club";
Proc Print Data=Fakedata noobs label;
Var Fakevar / style(data) = [just=right
posthtml =
"
<a href='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG'>
<IMG src='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4062.JPG'
height=125 width=100 alt='...' > </a>
<a href='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG'>
<IMG src='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4063.JPG'
height=100 width=125 alt='...' > </a>
<a href='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG'>
<IMG src='C:\Documents and Settings\kostas\Desktop\Photo\2007_06_19 - Wypad na Bolenia\IMG_4064.JPG'
height=100 width=125 alt='...' > </a>
"];
Run;
ODS HTML CLOSE;
Unfortunately I have WARNIG:
"WARNING: The quoted string currently being processed has become more than 512 characters long. You may have unbalanced quotation marks"
...and I don't now how correct this.
When I put more photos every photos are erased from the site.
Any solutions ???
Regards & thx