If you are on MS windows, one option is to load your tests in a separate hta window. To do this first create an empty html file template and save it with .hta extension, then insert the following tag into the head section of the html (right after title section):
<HTA:APPLICATION
    ID="whatever"
    ICON=""
    APPLICATIONNAME="write app name here"
    VERSION = "1"
    SHOWINTASKBAR="yes"
    BORDER="thick"
    BORDERSTYLE="normal"
    SINGLEINSTANCE="yes"
    SYSMENU="yes"
    WINDOWSTATE="normal"
    MAXIMIZEBUTTON="yes"
    MINIMIZEBUTTON="yes"
    CAPTION="yes"
    CONTEXTMENU="yes"
    INNERBORDER="no"
    NAVIGABLE="yes"
    SCROLL="no"
    SCROLLFLAT="yes"
    SELECTION="no">

everything else is like in an ordinary html document, including javascript and css. So either put your tests right there (it can be run from a website too), or additionally create a frame or an iframe where you load your tests in. In this case the iframe should contain a few additional properties: src="http://tests.html"; application="yes" trusted = "yes". If you store this hta file locally, then tests can be loaded and executed in the iframe. I am not experienced with revBrowser though...

One more way would be to load the tests in a popup window using javascript like this: <a href="#" onClick='window.open("test1.html", "test", "toolbar=0, status=0, top=1, left=100, height=50, width=500");'>test1</a>

Maybe someone will provide better alternatives...
Regards!
Viktoras

Sharon Stamps wrote:
Hello all,

I am looking at two possible ways to approach a requested feature...I am working with ESL teachers and they are using a service to create a grammar test - an HTML javaScript test. They would like to use these pre-created tests in conjunction with a login and would also like to make sure the students cannot navigate from the test or see the address of the test. So, my questions...

1. I tried to work with revBrowser but was unable to get the javaScript to work. Is there a way to get javaScript to function in revBrowser like it does in the web browser?

2. Can I call the file to open in the web browser using revGoURL but make sure the navigation bar isn't visible and prevent students from navigating away from the test?

Answers to these questions and/or any other suggestions/solutions would be much appreciated! I am still wrapping my mind around all of Rev's internet capabilities and I'm sure I've missed something...

Thanks!

Sharon





_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to