Editing USub Applet Sample Problem

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 206: Line 206:
 
<p>When the submit button is pressed, the hidden form fields defined in this block are filled with information from the applet.
 
<p>When the submit button is pressed, the hidden form fields defined in this block are filled with information from the applet.
 
</p>
 
</p>
|- style=" background-color:#ccffff;"
 
| <pre>
 
TEXT(MODES(TeX=>"", HTML=><<'END_TEXT'));
 
<script>
 
if (navigator.appVersion.indexOf("MSIE") > 0) {
 
document.write("<div width='3in'
 
align='center' style='background:yellow'>
 
You seem to be using Internet Explorer.
 
<br/>It is recommended that another
 
browser be used to view this page.</div>");
 
}
 
</script>
 
END_TEXT
 
</pre>
 
| <p>
 
The text between the <code><script></code> tags detects whether the student is using Internet Explorer. If the student is using this browser, a warning is issued and the student is advised to use another browser. IE mis-sizes the applets. Some will work correctly when displayed at the wrong size, but others will fail. We do not recommend using IE with WeBWorK problems with Flash embedded.</p>
 
 
|- style="background-color:#ffdddd;"
 
|- style="background-color:#ffdddd;"
 
| <pre>
 
| <pre>

Please note that all contributions to WeBWorK_wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see The WeBWorK Project wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)