Garry's Mod Wiki

DHTML:OnChildViewCreated

  DHTML:OnChildViewCreated( string sourceURL, string targetURL, boolean isPopup )

Description

Called by HTML panels when the page attempts to open a new child view (such as a popup or new tab).

Arguments

1 string sourceURL
The URL of the page requesting to create a child.
2 string targetURL
The URL of the requested child.
3 boolean isPopup
True if the requested view is a popup.