А именно заменить
if(not isprop(PrintMode) or PrintMode != 2)
println(s)
if(isprop(PrintMode))
block.inclvl()
end
end
event(onPrint)
на
if(not isprop(PrintMode) or PrintMode != 2)
println("")
print(s)
if(isprop(PrintMode))
block.inclvl()
end
end
event(onPrint)
Add(HtmlEntryPoint,2953706,21,105)
{
link(onStart,7595461:doPrint,[])
}
Add(HTM_Div,7595461,112,105)
{
Id="topmenu"
link(onPrint,9846599:doEvent,[])
}
Add(HTM_Li,5338961,203,105)
{
link(onPrint,12132705:doPrint,[])
}
Add(HTM_A,12132705,252,105)
{
Href="#"
link(onPrint,3530580:doEcho,[])
}
Add(Echo,3530580,301,105)
{
Message="HOME"
}
Add(Hub,9846599,154,105)
{
OutCount=4
link(onEvent1,5338961:doPrint,[])
link(onEvent2,9323016:doPrint,[(186,118)(186,150)])
link(onEvent3,335281:doPrint,[(186,125)(186,195)])
link(onEvent4,7303837:doPrint,[(186,132)(186,237)])
}
Add(HTM_Li,9323016,203,144)
{
link(onPrint,200418:doPrint,[])
}
Add(HTM_A,200418,252,144)
{
Href="#"
link(onPrint,8460934:doEcho,[])
}
Add(Echo,8460934,301,144)
{
Message="menu2"
}
Add(HTM_Li,335281,203,189)
{
link(onPrint,1829453:doPrint,[])
}
Add(HTM_A,1829453,252,189)
{
Href="#"
link(onPrint,9480489:doEcho,[])
}
Add(Echo,9480489,301,189)
{
Message="menu3"
}
Add(HTM_Li,7303837,203,231)
{
link(onPrint,11222417:doPrint,[])
}
Add(HTM_A,11222417,252,231)
{
Href="#"
link(onPrint,2641628:doEcho,[])
}
Add(Echo,2641628,301,231)
{
Message="menu4"
}
<div id="topmenu">
<li>
<a href="#">HOME</a>
</li>
<li>
<a href="#">menu2</a>
</li>
<li>
<a href="#">menu3</a>
</li>
<li>
<a href="#">menu4</a>
</li>
</div>
<!-- made by HiAsm 4.4 build 185 -->
а не не очень читабельный
<div id="topmenu">
<li>
<a href="#">
HOME</a>
</li>
<li>
<a href="#">
menu2</a>
</li>
<li>
<a href="#">
menu3</a>
</li>
<li>
<a href="#">
menu4</a>
</li>
</div>
<!-- made by HiAsm 4.4 build 185 -->