Changeset 1208

Show
Ignore:
Timestamp:
01/09/07 17:00:45
Author:
johnsa
Message:

user client:

- sweeping changes to event form
- inclusion of dojo widgets
- output is now valid xhtml
- clean up of some javascript

a bit more work to be done here

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webuser/webapp/resources/demoskins/resources/bwClock.css

    r952 r1208  
    5555  padding: 0; 
    5656} 
     57#bwClockSwitch { 
     58  position: absolute; 
     59  bottom: 5px; 
     60  left: 15px; 
     61  margin: 0; 
     62} 
    5763#bwClockCloseText { 
    5864  position: absolute; 
  • trunk/deployment/webuser/webapp/resources/demoskins/resources/bwClock.js

    r952 r1208  
    55 
    66function bwClockLaunch(type) { 
    7   if ((document.getElementById("clock").className == "shown") && (bwClockCurrentType == type)) { 
     7  if ((document.getElementById("clock").className == "visible") && (bwClockCurrentType == type)) { 
    88    changeClass("clock","invisible"); // if the clock with the same type is showing, toggle it off 
    99  } else { // otherwise, turn it on and display the correct type 
    1010    bwClockRequestedType = type; 
    1111    bwClockCurrentType = type; 
    12     changeClass("clock","shown"); 
     12    changeClass("clock","visible"); 
    1313    // the following is for Internet Explorer.  IE draws "windowed" objects 
    1414    // and unwindowed objects on seperate "planes"; windowed objects are always 
     
    1919    // browser window doesn't shift around) 
    2020   //changeClass("eventFormPrefLocationList","hidden"); 
    21    changeClass("eventFormLocationList","hidden"); 
     21   //changeClass("eventFormLocationList","hidden"); 
    2222   //changeClass("eventFormSponsorList","hidden"); 
    2323   //changeClass("eventFormPrefSponsorList","hidden"); 
    2424    bwClockIndicator = document.getElementById("bwClockDateTypeIndicator"); 
     25    bwClockSwitch = document.getElementById("bwClockSwitch"); 
    2526    if (type == 'eventStartDate') { 
    26       bwClockIndicator.innerHTML = "Start Time" 
     27      bwClockIndicator.innerHTML = "Start Time"; 
     28      bwClockSwitch.innerHTML = '<a href="javascript:bwClockLaunch(\'eventEndDate\');">switch to end</a>'; 
    2729    } else { 
    28       bwClockIndicator.innerHTML = "End Time" 
     30      bwClockIndicator.innerHTML = "End Time"; 
     31      bwClockSwitch.innerHTML = '<a href="javascript:bwClockLaunch(\'eventStartDate\');">switch to start</a>'; 
    2932    } 
    3033  } 
     
    3437  changeClass("clock","invisible"); 
    3538  //changeClass("eventFormPrefLocationList","shown"); 
    36   changeClass("eventFormLocationList","shown"); 
     39  //changeClass("eventFormLocationList","shown"); 
    3740  //changeClass("eventFormSponsorList","shown"); 
    3841  //changeClass("eventFormPrefSponsorList","shown");