Adding Scripts to Xsitepro
December 22, 2008 by Scott
Filed under Xsitepro Tutorials
Scripts are generally small pieces of code (often Javascript, or another programming language) which, when inserted into your Web page content, give a specific piece of functionality.
XSitePro itself has some scripts built in (Image Galleries, Random Quotes, News Scrollers, etc.) but you may choose to use third party scripts in your Web pages, in which case you may find you need this particular advanced page setting feature.
Many scripts freely available for your download and use, in your Web page(s), require specific pieces of script code to be copied and pasted into specific positions in your Web page’s HTML code – or else the script simply will not function.
Note: You will generally be informed of this when downloading, or copying, the script.
Using the controls on this tab is very straightforward. Essentially, if you have been informed that in order for a script to work on your Web page you must copy a certain piece of code into your page’s ‘Head’ section, ‘Top of Body’ section or ‘Bottom of Body’ section you’ll be able to do just that, right here on this tab.
While not essential, a basic knowledge of the terms ‘Head’ and ‘Body’ sections (within a Web page’s HTML code) is useful if using this tab, in the advanced page settings.
Unlike the ‘global’ script settings for your site’s pages, accessed via the Global Scripts button on the Other Tab, the settings on this tab, in advanced page settings, give you control over script code placement at an individual, page-by-page level.
The user guide will inform you further…just know that there is an easy way to add tracking codes, popups and other 3rd party scripts to your xsitepro sites without having to jump through hoops







