PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
Products
WINDEVWEBDEV - Server codeWEBDEV - Browser codeWINDEV MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses
..HTMLEndPage is used to find out and modify the HTML code added at the end of the page.
Note: The HTML code added at the end of the page can also be specified in the "Advanced" tab of the description window of the page ("Html" tab).
Example
// Adds a Google Analytics code
sGoogleCode is string = [
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-99999999-9']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol?
'https://ssl': 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
]

MyPage..HTMLEndPage = sGoogleCode
Syntax

Finding out the HTML content inserted at the end of the page Hide the details

<HTML Content> = <Page Name>..HTMLEndPage
<HTML Content>: Character string
HTML content inserted at the end of the page.
<Page Name>: Character string (with or without quotes)
Name of page to use.

Modifying the HTML content inserted at the end of the page Hide the details

<Page Name>..HTMLEndPage = <HTML Content>
<Page Name>: Character string (with or without quotes)
Name of page to use.
<HTML Content>: Character string (with quotes)
HTML content that must be inserted at the end of the page.
Remarks
The HTML code is inserted at the end of the page, just before the closing of the "BODY" tag.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment