Navigate (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
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")