2022.2

Table Of Contents
l
TheWebcontextiscreatedandoneWebpageorsectionisaddedtoit.Youcanseethisonthe
Resourcespane:expandtheContextsfolder,andthenexpandtheWebfolder.
See"Webpages"onthefacingpagetolearnhowtofillawebpagetemplateintheDesigner.
AlthoughonlyonewebpagecanbegeneratedperrecordwhengeneratingWeboutput,theWeb
contextcancontainmultiplesections.Onesectioniscreatedatthestart,butyoucanaddmore;
see"AddingaWebpage"onthefacingpageand"ImportingaWebpage"onpage499.
l
Astylesheet,namedcontext_web_styles.css,isaddedtothetemplate.IfaTemplateWizard
wasusedtocreatethetemplate,Foundationstylesheetsareaddedaswell.Stylesheetsareloc-
atedinthefolderStylesheetsontheResourcespane.Thesestylesheetsaremeanttobeused
forstylesthatareonlyappliedtoelementsintheWebcontext;see"Stylingandformatting"on
page671.
GeneratingWeboutput
Whenthetemplateisready,youcan:
l
OutputthewebpageasanasanintegralHTMLfileattachedtoanEmailcontextinthesametem-
plate.
l
OutputtheWebcontextinanautomatedWorkflowusingtheCreateWebContenttask(seeWork-
flowHelp:CreateWebContent).
See"GeneratingWeboutput"onpage1348.
Includes
TheWebcontextoutputsoneHTMLwebpage.InadditiontotheHTMLtextitcontainseitherthe
resourcesorreferencestotheresourcesnecessarytodisplayit.
JavaScriptfilesareaddedtothe<head>inthegeneratedHTMLfile.JavaScripttoolboxeslikejQuery
anditsplugins,orMooTools,areusefulwhenyouwanttoimplementspecialfeaturesinthewebpage.
(See"UsingJavaScript"onpage512)
Stylesheetsarealsoaddedtothe<head>andareusedjustastheywouldbeusedinaregularweb
page.(Alsosee:"StylingtemplateswithCSSfiles"onpage672)
WhichstylesheetsandJavaScriptfilesareincluded,andinwhichorder,canbedecidedfortheWeb
contextasawhole,aswellasperWebsection.
TomakethissettingfortheWebcontextasawhole,right-clickthecontextontheResourcespaneand
selectIncludes.Alternatively,selectContext > Includesonthemainmenu.(Notethatthisoptionis
onlyavailablewheneditingaWebsectionintheWorkspace.)Forfurtherexplanationsee:"Includesdia-
log"onpage890.
TomakethissettingforaparticularWebsection,right-clickthesectionontheResourcespaneand
selectIncludes.
Page 497