viewername = "filename.htm"
The viewername command allows you to set the name of the Html file that will be used by the new magazinepage. (The actual viewer Html file is created using the new magviewer page.) For the new magazine page, Palview will place the following JavaScript at the top of the html page that it creates: var vh=450; var vw=700; var top=left=0; var scrnw=screen.width; var scrnh=screen.height; if(scrnw>vw){ left=(scrnw-vw)/2; top=(scrnh-vh)/2; } function Gm(gn) { var viewer='gameview.htm?g=g'+gn; window.open(viewer,'','height='+vh+',width='+vw+',top='+top+',left='+left); } This JavaScript code will be used to link to the games themselves so that they can be viewed in the new game viewer. This JavaScript code must know the name of the viewer Html file as can be seen above. The viewername INI option provides this name to Palview when it is asked to build the new magazine page that makes use of the new game viewer system. |