HTML

These puzzles manipulate HTML DOM elements.

#

"add HTML element"

#

"get attribute"

#

"set attribute"

#

"set style"

#

"set css rule"

#

"event"

#

"get event property"

#

"window"

#

"document"

#

"body"

#

"draw line"

#

"remove line"

#

"bind element"

#

"init fullscreen"

#

"get URL data"

Retrieves URL data of the window to which an application is loaded:

  • Entire URL - text, e.g. "https://www.example.com/my_awesome_app.html?image_url=https://www.uploadserver.com/path/to/image.jpg"

  • Parameters - dictionary, e.g. {"image_url": "https://www.uploadserver.com/path/to/image.jpg"}

  • Host name - text, e.g. "www.example.com"

This puzzle may be useful in situations when the configuration data of an application are stored in its URL. For example, you can specify an image to be used as a texture in the following way:

https://www.example.com/my_awesome_app.html?image_url=https://www.uploadserver.com/path/to/image.jpg

See the Custom Image demo in your Verge3D distribution for a working example.

#

"set URL param"

This puzzle may be useful in situations when the configuration data of an application are stored in its URL. For example, you can specify an image to be used as a texture in the following way:

https://www.example.com/my_awesome_app.html?image_url=https://www.uploadserver.com/path/to/image.jpg

See the Custom Image demo in your Verge3D distribution for a working example.

#

"take screenshot"

#

"open file" and "opened file"

Last updated