ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The HTMLEndPage property gets and sets the HTML code inserted at the end of the page.
Note: It is also possible to specify the HTML code added at the end of the page in the "Advanced" tab of the page description window ("Html" tab)..
Example
// Ajoute un code Google Analytics
sCodeGoogle 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.HTMLFinPage = sCodeGoogle
Syntax

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

<HTML content> = <Page used>.HTMLEndPage
<HTML content>: Character string
HTML content inserted at the end of the page.
<Page used>: Page name
Name of the page to be used.

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

<Page used>.HTMLEndPage = <HTML content>
<Page used>: Page name
Name of the page to be used.
<HTML content>: Character string
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
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help