Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipX.Lib v1.2 - <b>javascrbeg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
JavaScrBeg()
Returns/writes Javascript language begin script
---------------------------------------------------------------------

Syntax:

  JavaScrBeg()  --->  cString

Arguments: None

Returns: A character string consisting of the generated HTML tag.

Description:

  Generates Java Script language to start a java script section
  on the page.

  The generated string is always returned. The string will be written
  to standard-out depending on the value of StopWrite().
  The default StopWrite() value is FALSE. Setting the StopWrite() value
  to TRUE will suspend the write to standard-out.

  Requires a terminating JavaScrEnd() to end the Javascript section.

  All lines written between the begin and end tags must be formatted as
  proper Javascript, but can be as elaborate as necessary for your purpose.

Alternate:

  // Identify the script language
  htmlWrite( '  <script language="Javascript"> ' )
  // Start the script hide freture
  htmlWrite( '    <!-- hide Javascript ' )
  // Force line break
  htmlWrite( Chr(13)+Chr(10) )

Files: Library is ClipX.Lib


See Also: JavaScrEnd()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson