Location: A review of cardiac cellular electrophysiology models @ a80b964384c0 / dojo-presentation / js / dojo / dojox / fx / tests / test_Nodelist-fx.html

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2010-05-04 12:37:19+12:00
Desc:
adding initial version of SED-ML L1V1 file reproducing what is in graphs/BR-INa-variants.xml
Permanent Source URI:
https://models.cellml.org/workspace/a1/rawfile/a80b964384c0c7683d7c5d07b73a5af7a973d46c/dojo-presentation/js/dojo/dojox/fx/tests/test_Nodelist-fx.html

NodeList and dojo.query "magic"

stuff going on:

  • watch the startup cycle
  • click col 6
  • click top right box
  • hover to highlight() node

custom query:

dojo.query("");
(dojo:)
.fadeIn
.fadeOut
.wipeOut
.wipeIn
.slideTo (x: 0, y:0)

(dojox:)
.highlight
.sizeTo (a fixed size)
.slideBy (top: left: offset fixed)
.fadeTo (35% opacity)

Run
1
2
3
4
5
6
7
2
3
4

HTML AFTER

classes available to play with:

	.testBox
	.noIdHere
	each row: .rowOne .rowTwo .rowThree .rowFour
	each col: .iOne .iTwo .. iSeven
	#randomNode, #node9, #node7, #aNode, #node1, #node2, #node4, #node6

the dojo.query() isn't limited to the testDiv, it parses the body. try: dojo.query("fieldset") and slideBy animation