[system] / trunk / webwork2 / htdocs / js Repository:
ViewVC logotype

Log of /trunk/webwork2/htdocs/js

View Directory Listing Directory Listing


Sticky Revision:

Revision 6306 - Directory Listing
Modified Tue Jun 22 20:48:43 2010 UTC (2 years, 10 months ago) by gage
changes to aaccommodate the CanvasObject type


Revision 6293 - Directory Listing
Modified Mon Jun 14 04:09:56 2010 UTC (2 years, 11 months ago) by Mgage
backporting

Revision 6291 - Directory Listing
Modified Tue Jun 8 17:50:22 2010 UTC (2 years, 11 months ago) by mgage
syncing svn with the latest cvs updates

Revision 6177 - Directory Listing
Modified Sun Jan 3 17:11:37 2010 UTC (3 years, 4 months ago) by gage
Added name TIMEOUT for the delay time between checking whether the applet is ready.

Revision 6078 - Directory Listing
Modified Sun Jul 12 23:37:10 2009 UTC (3 years, 10 months ago) by gage
Changed how errors are caught in methodDefined() to prevent unneeded error messages in firefox

Made cosmetic corrections to how error messages are reported.

Revision 6054 - Directory Listing
Modified Thu Jun 25 17:28:00 2009 UTC (3 years, 10 months ago) by gage
update warning when initializeAction() is called (change to initializeWWquestion()

Revision 6045 - Directory Listing
Modified Thu Jun 4 02:00:35 2009 UTC (3 years, 11 months ago) by gage
update applet support code

Revision 6028 - Directory Listing
Modified Sun Mar 22 18:31:38 2009 UTC (4 years, 2 months ago) by gage
refining the applet API

Revision 6024 - Directory Listing
Modified Tue Mar 10 20:49:56 2009 UTC (4 years, 2 months ago) by gage
finish the conversion to setConfigAlias from configAlias

Revision 6019 - Directory Listing
Modified Tue Mar 10 12:07:47 2009 UTC (4 years, 2 months ago) by gage
refactored code using methodDefined()
converted configAlias to setConfigAlias
replaced debug by jsDebugMode (for now -- eventually we'll have a debug mode for each applet)

Revision 6012 - Directory Listing
Modified Thu Feb 19 03:30:45 2009 UTC (4 years, 3 months ago) by gage
reset  state preserving answer box to blank after restoring applet to virgin state.

Revision 6008 - Directory Listing
Modified Thu Feb 19 03:03:43 2009 UTC (4 years, 3 months ago) by gage
Additional support for debugging -- including the ability to reset the applet to
it's virgin state.

Revision 6002 - Directory Listing
Modified Sun Feb 8 15:16:14 2009 UTC (4 years, 3 months ago) by gage
Added copyright notice

Revision 6001 - Directory Listing
Modified Sun Feb 8 03:29:24 2009 UTC (4 years, 3 months ago) by gage
Corrected typo
Applet.pm ww_applet_support.js AppletObject.pl and math/system.template should soon be up to date and synchronized

Revision 6000 - Directory Listing
Modified Sun Feb 8 01:07:42 2009 UTC (4 years, 3 months ago) by gage
Added an alert message to warn that some of the support files might not be up to date.

Revision 5998 - Directory Listing
Modified Sat Feb 7 23:12:57 2009 UTC (4 years, 3 months ago) by gage
javaScript support file for adding applets to WeBWorK.

Revision 5940 - Directory Listing
Modified Sat Oct 18 12:00:04 2008 UTC (4 years, 7 months ago) by gage
Added Base64.js for use with applets

Revision 4914 - Directory Listing
Modified Thu Mar 29 19:48:58 2007 UTC (6 years, 1 month ago) by glarose
More gateway fixes/additions.  This commit
  - moves javascript code for gateways into htdocs/js/gateway.js,
  - updates the gateway template to use that,
  - updates the gateway CSS file to use Louis Zulli's workaround
    for IE6 not honoring position:fixed, and adds CSS definitions
    for a score reporting box for multi-page, multi-attempt quizzes,
  - updates the GatewayQuiz module to print a score reporting box
    for multi-page, multi-attempt quizzes,
  - updates the Grades module to correctly sort problems for
    GatewayQuiz assignments that have randomly ordered problems, and
  - adds some error checking to ProblemSetDetail to avoid people
    doing things like submitting a zero time limit for a gateway.

Revision 4776 - Directory Listing
Modified Mon Feb 12 21:35:38 2007 UTC (6 years, 3 months ago) by dpvc
Added comments about how to install the file.

Revision 4775 - Directory Listing
Modified Mon Feb 12 21:32:31 2007 UTC (6 years, 3 months ago) by dpvc
Completely rewrote the file to use a different technique.  Instead of
looking for unbeforeunload events (which didn't work reliably, since
Firefox will reload the page before it has a chance to install the
handler), we look for F5 key events and F5 ignore keydown events, but
reload the page on F5 keyup instead.  This skips the autorepeating
keys and only reloads the page when the user lets go of the key.  So
there is only one reload.  After several autorepeated F5 keypresses, a
dialog will appear asking you to check if something is holding down
the F5 key.

Revision 4774 - Directory Listing
Modified Sun Feb 11 23:34:31 2007 UTC (6 years, 3 months ago) by dpvc
Corrected comment indicating time was in micro- rather than
milliseconds.

Revision 4770 - Directory Listing
Modified Fri Feb 9 23:35:48 2007 UTC (6 years, 3 months ago) by dpvc
Implements a JavaScript solution to prevent excessive reloads by
students who prop their books on the F5 key.

Revision 4391 - Directory Listing
Added Wed Aug 23 20:14:34 2006 UTC (6 years, 8 months ago) by dpvc
This file helps WW manage the browsers windows that it opens.  The
current approach is to use a separate window for the Problem Editor
and a third window for viewing the problem when you test it.  This is
fine, except that if you use the navigation links in the editor, those
pages will open int he editor window, and this can mean the editor
window is used for non-editing functions.  Worse, if you click on an
"Edit it" link in this window and expect a new one to open, you will
be surprised to see it appear in the current window.

This javascript file makes the editing window work as it was intended:
clicking on the navigation links opens those pages in the ORIGINAL
window again, not the editor window, so the editor window will be used
only for editing.  It also uses the main window for viewing the
problems, so there are only two main windows now.  This should
simplify the editing of problems.

To use this file, add

  <script src="<!--#url type="webwork" name="htdocs"-->/js/ww-windows.js"></script>

to the .template file that you are using just before the </body> (not
that it must be at the END of the page, or it may not work properly).

This will also fix a problem with Firefox where the editor window
woudl not come to the front if it already exists and inot the
front-most window.

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9