【正文】
wish. 33 169。 2020 BMC SOFTWARE, INC. Specifying an alternate path for HTT’s To modify the location of the HTT files using keystrokes merely add the following line to your keystroke file。 2020 BMC SOFTWARE, INC. Accessing the Publishing options The Web Publishing option may be grayed out if you do not have the Microsoft Web Publishing Wizard installed. You can obtain a copy of this wizard from the Microsoft Web Site at: 26 169。39。CENTERH3Page 1/h3/center39。frame name=contents src= … (39。frameset rows=150,*39。/Frameset39。frameset rows=150,*39。 2020 BMC SOFTWARE, INC. Processing Flow – A Closer Look When the Web Publishing process is started the first template to be called is . A closer look at the execution of this one template helps to illustrate what happens throughout the entire process. {HEADER SUBSTITION} {FRAME GENERATION} { EXECUTION} { EXECUTION} { EXECUTION} {NO FRAMES SECTION} {BACKGROUND} {PROJECT NOTES} {PERPAGE EXECUTION} {END OF PAGE DETAILS} The processing of the project template can be split into three main section. The header section is simply some HTML that initializes the page and creates a title. The frame generation section lays down the DHTML that selects the display type (thumbnails or page selection). This section also launches the execution of the project1 and project2 templates. The no frames section is what is displayed if your browser does not support frames, this includes the creation of the page background and any notes that have been included in the project. This section launches the PERPAGE template and ends with some content closing off the HTML page. 21 169。s displayed in one frame, the page pointed to by that hyperlink usually opens in another frame called the target frame. The special target “_self” means replace the content in the current page with the page referenced by the hyperlink. frame name=main src=“ base target=_self39。 2020 BMC SOFTWARE, INC. Frames frameset cols=“300,*” frameset rows=“150,*” frame name=“topleft” frame name=“bottomleft” /frameset frame name=“rightside” noframes Frames can be nested to provide a series of columns and rows as with Visualizer’s default web publishing format. 17 169。 2020 BMC SOFTWARE, INC. JavaScript Other operatives include variable declaration and conditional logic as illustrated below. SCRIPT LANGUAGE=“JavaScript” var somevariable = 10 if ( condition ) { code to executed if true … } else { code to execute if false … } /SCRIPT 13 169。 2020 BMC SOFTWARE, INC. Variable Substitution / Macro Execution Cols=? Replacing the question mark with anything else will cause the output to be displayed in columns. XinY=7 Sets the Width of the Graph output XinX=5 Sets the Height of the Graph output GREF Execute the PERGRAPH Template, replacing the entry with the name of the resulting file. Titl The Graph’s Title PxlX The width of the graph In Pixels PxlY The height of the graph In Pixels PFtr The Graph’s Footer Tabl Create the table for the values in the graph. 9 169。 2020 BMC SOFTWARE, INC. Fundamental HTML This section outlines the background information required to understand how to customize your Visualizer web publishing efforts using HTML and Javascript. 5 169。 1 169。 2020 BMC SOFTWARE, INC. Outline 1) Necessary HTML Background. 1) Hypertext templates and the special Visual/ variables 2) Controlling the browser through Dynamic HTML 3) Using VBScript and Javascript to modify output 4) Customizing the output with HTML Frames 2) Understanding the HTT Processing Flow 3) Generating the Web Publishing 4) Sample Output 5) Common Customization Requests 6) Supporting the customizations 7) Conclusion 4 169。 2020 BMC SOFTWARE, INC. Variable Substitution / Macro Execution PHdr The Page Header (Numbered by default) Pnum The page number the graph is on Page Process the PERPAGE Template Date The date the page was generated. (Not the date of the published data!) Subl The Text from the Graph’s Subtitle Head The name of the project nPNF Export a copy of the graph in PNF Format nPNG Export a copy of the graph in PNG Format nJPE Export a copy of the graph in JPE Format nJPG Export a copy of the graph in JPG Format Graph Process the PERGRAPH Template ?Tbl Is this graph a table? Returns Yes or No. TREF Execute the PERTABLE Template, replacing the entry with the name of the resulting file. 8 169。 2020 BMC SOFTWARE, INC. JavaScript