Navigate (Method)

Revision as of 18:42, 13 February 2024 by Pongo02 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Navigate( Content URL = about:blank )
Returns nil
Description: Allows the DHTML to load a trusted url. It should be noted that Navigate loads about:blank by default.
Member of: HtmlWindow


Example
This code will open shirt.png, the default roblox T-Shirt from around 2010:
local HtmlService = game:service("HtmlService")
local htmlWindow = HtmlService:NewWindow()

htmlWindow:Show()
htmlWindow:Navigate("http://roblox.com/images/shirt.png")