Changeset - 91587f0c2417
[Not reviewed]
default
0 2 0
Ethan Zonca - 15 years ago 2011-01-15 13:51:11
ez@ethanzonca.com
Show onload qtip for class ID on pageload for first item only. Todo: show the tip on the last class, so that default classes work.
2 files changed with 6 insertions and 2 deletions:
0 comments (0 inline, 0 general)
school.d/cedarville.inc
Show inline comments
 
@@ -54,6 +54,7 @@ EOF;
 
 * \return
 
 *   An array of Course objects.
 
 */
 
/*
 
function cedarville_default_classes()
 
{
 
  $chapel = new Course('Chapel');
 
@@ -62,6 +63,7 @@ function cedarville_default_classes()
 

	
 
  return array($chapel);
 
}
 
*/
 

	
 
/**
 
 * \brief
scripts/scheduleInput.js
Show inline comments
 
@@ -221,7 +221,7 @@ function addTips(id) {
 
      tip: true
 
    },
 
    show: { effect: { type: 'fade', length: 2000 } },
 
/*    show: { ready: false }, */
 
    show: { ready: true }, 
 
/*    hide: { when: { event: 'inactive' } }, */
 
    corner: { target: 'topMiddle', tooltip: 'bottomMiddle' },
 
  });
 
@@ -294,7 +294,9 @@ function add_sections(cnum, data)
 
				    }
 
			    });
 

	
 
		addTips('.class'+classNum+ ' td:first');
 
		if(classNum == 0) {
 
			addTips('.class'+classNum+ ' td:first');
 
		}
 
		classNum++;
 

	
 
		return (classNum - 1);
0 comments (0 inline, 0 general)