ZennoLab Assemblies Documentation
SubscribePageLoading Method
ZennoLab.CommandCenter Namespace > Tab Class : SubscribePageLoading Method

Type: System.String

The javascipt code.

Type: System.String

Type of code usage (onetime, domain, alltime).

Type: System.String

The domain for subscribe if choosen loadType is "domain". Optioal field.

Type: System.Boolean

true if needs evaluate script in all tabs, works only for "domain" and "alltime" types; otherwise false. Default value is false.

Subscribe javascript code to DOMContentLoaded event on page.
Syntax
public void SubscribePageLoading( 
   string script,
   string loadType,
   string domain,
   bool useAllTabs
)

Parameters

script

Type: System.String

The javascipt code.

loadType

Type: System.String

Type of code usage (onetime, domain, alltime).

domain

Type: System.String

The domain for subscribe if choosen loadType is "domain". Optioal field.

useAllTabs

Type: System.Boolean

true if needs evaluate script in all tabs, works only for "domain" and "alltime" types; otherwise false. Default value is false.

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members