Friday, March 25, 2005

Instructional Components Prototype

This project has occupied most of my time this week. I've done so much JavaScript work on it trying to get show/hide functionality working across all the various content modules all contained within the same document. I've made some progress in some areas, but problems still abound. We need to sit down at some point and discuss the exact functionality needed for this thing so we can actually plan a course of development rather than hack it together as something is brought up. Right now I'm trying to figure out how to enable back/forward navigation but it's not going very well.

I've also done a bit of SVG work for this, creating a floating navigational element (pan/zoom). It works well enough, but I pretty much just hacked together scripts from other sources. FM wants to create a library of objects we can use for navigation and other features, which is probably a good idea if we're going to continue using SVG. At some point I'll need to devote some time to developing something we can use that looks a little nicer. What I've done for the prototype is functional but a little skittish when it comes to mouse tracking and not smooth enough for production use.

Mass Mailing

To the web list. 2371 recipients. A fairly large number of bounces for bad e-mail, which is surprising on this list. Also a couple of the typical stupid spam filters. Some people shouldn't be responsible for e-mail systems. One system blacklisted us because our e-mail contained the word "cialis" but the only occurence of that phrase was in the word "specialists."

Friday, March 18, 2005

Component Prototype

I made some major modifications to the show/hide navigation script I wrote for inclusion in the prototype that FM is working on. Some of the modifications may make their way back into the script, but for now I'll be keeping them separate. Here's a breakdown of the changes:
  • Split up the initial setup portion of the script into two parts: one sets up the page for use with the navigation script (hide navigation sections, add click event for every link to aid in navigation); the second determines which section needs to be shown.
  • The new second part of the function determines whether or not an anchor is included in the URL. If none is present then the first section is made visible. If one is present and it matches one of the navigation sections then that section is made visible. If it matches an anchor other than one of the navigation sections it climbs the DOM tree to see if that anchor is contained in one of the navigation sections, which is then made visible.
  • The new click event for links was necessary to allow anchor navigation within a document. Since an anchor may be in a hidden section it was necessary to find a way to determine when such a link was clicked so that the correct section could be shown. The function loads the new URL and then reloads the page, causing the load event to fire which then displays the correct navigation section and jumps to the anchor point.
  • Split the function that shows/hides the navigation section into two different functions. The first determines (based on the click event) which navigational link was click and so which section needs to be shown. The second performs the actual work of showing the correct section. I split this up so that I could do the show/hide work outside of the original flow (the navigation click). This was necessary for the creation of the added functionality described in the previous bullets. It also allows someone to create a link to perform this function.
I still have a few problems to work out, bookmarking and back/forward navigation. Regarding bookmarking, since the script prevents the browser from loading the navigation links it is impossible to bookmark a section. One way around this is to not prevent the default action, but the jumping around that occurs is not desirable. Regarding history navigation, since JS is responsible for setting up the state of a document (e.g. which section is shown), and since there is no way to detect the action of clicking back/forward, the back/forward navigation of the browser becomes unusable.

Friday, March 11, 2005

IERI Utility

There's a problem when processing an enacted analysis sighting when the sighting has no observable indicators (whether defined in the criterion or marked as "Not Applicable" by the analyst). Indicators that aren't observable/applicable are marked as a -1 internally. Any value entered for these indicators leads them to be counted as having been rated (all indicators must be rated in some way before the criterion rating can be made). However, since these are not observable/applicable indicators they are not added to the indicator sum for calculation of the criterion rating. Thus, if all indicators in a sighting are not observable/applicable the indicator sum will be zero and an overflow occurs. I modified the rating portion of the script to check and see if the indicators rated is greater than zero, allowing for a valid criterion rating to be produced. If no indicators have an actual rating the utility maintains a "Not Rated" state.

Thursday, March 03, 2005

Web Site Updates

I've completed some help text for the AAAS search engine. The text is fairly comprehensive (I think) and is the first step on our three-stage plan to revitalize the web site. Initially I had planned on including images to help illustrate the explanations provided. In the end, though, I decided that it would probably not be necessary and that I did not want to spend the time working on it.

I'll be showing off the survey at tomorrow's Web Oversight meeting.

Francis has some suggestions that look pretty good. One of the suggestions includes adding an image to one section and so I may end up adding others as well.

Wednesday, February 23, 2005

IERI Utility

The change I made to the utility to allow multiple instances of the same enacted activity sequence (EAS) had a flaw. When a new EAS instance was added the utility wasn't associating the activities of that sequence correctly. Instead of associating the activities based on the EAS plus instance the processing script was associating them with the first EAS returned. The script has been updated so that the activities are associated correctly. I also went in and corrected the EASes KM had created before we discovered the problem.

Friday, February 18, 2005

IERI Utility

Created some screen shots for KM. Eight shots total of five different screens.


Made a modification to the utility so that multiple instances of a teacher/activity sequence could be made. KM needs this so that multiple testers can timecode the same enacted activity sequence (EAS) . The changes were fairly simple:
  • I modified the database to add a new field to store the instance number. The instance number is stored in the enSequence table in the field instance.
  • I modified the processing script (process.asp) so that when a new activity is added it no longer checks for a previous instance. Now it counts the number of previous instances and adds a new one with an incremented instance value.
  • I added a new column to the EAS timecoding listing table. The column displays the value of the instance field. An additional sort is done on this field so that the instances are displayed in order (1, 2, ...).
I think this might also be a good addition for instances where a teacher teaches the same lesson to multiple classes. I don't know that IERI will ever need this capability. But as a utility function it may be something useful. I doubt we'll ever release the utility publicly, but I would like to at least plan for such an eventuality. It would be a bit of a waste to just ditch the utility once we're done with it. We should at least consider releasing it as an open-source project (though I have pretty big doubts that it would find much of an audience).


One final change ... I added a teacher filter to the EAS timecoding list. Previously, when an administrator accessed this list every available EAS was shown. The list could grow to unmanagable size quickly. The full list is still shown initially, but now the user has the ability to limit the list to the EASes for a specific teacher.

This feature is also available to less-priveledged users. However, the reason for the change does not have as serious an affect on these users.