DHTML: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
oh that's an artifact from tcrf
Linking to ScreenGui instead of CoreGui
Line 33: Line 33:


== See also ==
== See also ==
* [[RBX.lua.CoreGui_(Object)|User GUIs, your best option for a substitute, added 2009]]
* [[RBX.lua.ScreenGui (Object)|User GUIs, your best option for a substitute, added 2009]]

Revision as of 21:04, 17 April 2023

Work In Progress
This is currently being worked on! Check back later for more information... hopefully.


Ouch!
The following article, DHTML, mentions a feature exclusive to certain versions of the client.
Specifically: {{{reason}}}


DHTML was a feature, added sometime before 2007, which would let you create and display HTML documents during gameplay. These were seperate windows that would open on the user's computer.

Usage

local w = game:service("HtmlService"):NewWindow()

w.DocumentComplete:connect(function ()
	w:SetBody([==[
<table width="420" height="190" border="0">
	  <tr>
	    <td width="490" bgcolor="#FFFFFF"><font color="#000000"> 
	      </font><div align="center">
		<p><font color="#000000"><b>Hello, World!</b></font></p>
		<p><font color="#000000">I am a DHTML window!</font></p>
			
	      </div>
	    </td>
	  </tr>
	</table>
]==])	
	w:Show()
end)
w:Navigate()

You would end up with something like this:


See also