/* SCRIPT */
/* NOTE: double-slash commenting does not work. */
/* Start JS by hiding the widget "JAVASCRIPT ENGINE" on page load
Call functions in widget events with
javascript:functionname();
Call functions in page events with
javascript:void(functionname());
(Note: add a 500 ms wait after hiding the widget before calling any functions)
*/
function go()
{
alert("Last time I saw you,\n
We'd both split in two.\n
You were looking at me,\n
I was looking at you.");
}
function toggleFullScreen()
{
if ((document.fullScreenElement && document.fullScreenElement !== null) ||
(!document.mozFullScreen && !document.webkitIsFullScreen)) {
if (document.documentElement.requestFullScreen) {
document.documentElement.requestFullScreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullScreen) {
document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
}
}
function FullScreen()
{
if ((document.fullScreenElement && document.fullScreenElement !== null) ||
(!document.mozFullScreen && !document.webkitIsFullScreen)) {
if (document.documentElement.requestFullScreen) {
document.documentElement.requestFullScreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullScreen) {
document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
}
}
/* STYLE */
/* Add CSS classes to widgets on load (if checked) by adding
".classname" to the widget name:
"email field" = "email field .highlight"
Add classes to widgets dynamically with:
$axure('@widgetname').jQuery().addClass("classname");
NOTE: some styles may need !important overrides.
*/
.highlight {
color: #FF0000 !important; /* needs override to work */
text-shadow: black 0.2em 0.2em 0.4em;
}
JAVASCRIPT ENGINE (hide this widget to start)
function getValue() {$.get("../jsTest/value.txt", function(data) {
$axure("@return").text(data);
$axure("@return").moveBy(0,0,{});
});
}
JAVASCRIPT ENGINE (hide this widget to start)
Hey there! Let's review a few things before we begin.
- The minimum screen resolution is recommended to be 1280x1024 at 100% zoom level. (Windows is usually slightly zoomed in by default, so please check for best results).
- The recommended browser to use for this test is Google Chrome.
- In order to maintain the fidelity of the test, the browser should be set to and remain at full screen (with no tabs or address bar at the top of the screen) for the duration of the test. The below button should expand your browser to full screen. Go ahead and set it to full screen now.
- To make sure you will see the entirety of the test, please check that the green stroke on this page aligns with the edges of your screen. You can adjust your browser zoom level with ctrl +/- to set it to 100%.
Go Fullscreen
EDGE OF SCREEN
EDGE OF SCREEN
NO TABS OR ADDRESS BAR SHOULD BE SHOWING
All Set, Next Step
Please Visit Studio One Test Hub on Desktop.
If you're seeing this message on your laptop/desktop, please try adjusting your browser zoom level. We recommend zooming out until the green outline on the page appears within your screen.
The minimum screen resolution is recommended to be 1280x1024 at 100% zoom level. (Windows is usually slightly zoomed in by default, so please check for best results).
Our mini tests are not set up to be viewed on mobile or tablet size screens.
The recommended browser to use for this test is Google Chrome.