LoadBrowserURL: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
{{New feature/item|3.0150|1.5||
This function loads the specified URL.
This function loads the specified URL.
}}


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">bool loadBrowserURL ( browser webBrowser, string url )</syntaxhighlight>
<syntaxhighlight lang="lua">bool loadBrowserURL ( browser webBrowser, string url )</syntaxhighlight>
{{OOP||[[Element/Browser|browser]]:loadURL||loadBrowserURL}}


===Required arguments===
===Required arguments===
Line 12: Line 16:


==Example==
==Example==
Todo
==See Also==
Todo
Todo


==See also==
==See also==
{{CEF_functions}}
{{CEF_functions}}

Revision as of 19:22, 7 February 2015

This function loads the specified URL.

Syntax

bool loadBrowserURL ( browser webBrowser, string url )

OOP Syntax Help! I don't understand this!

Method: browser:loadURL(...)
Counterpart: loadBrowserURL


Required arguments

  • webBrowser: The browser element which will load the URL
  • url: The url you want to load. It can either contain a remote website ("http://" prefix) or a website stored within a local resource ("gui.html" for example).

Returns

Returns true if the URL was successfully loaded.

Example

Todo

See also