| 85 | | alert(e.target.innerHTML); |
| | 85 | alert(e.target.innerHTML); |
| | 86 | }) |
| | 87 | ; |
| | 88 | |
| | 89 | dojo.query("a").instantiate(dojox.widget.FisheyeLite,{ |
| | 90 | properties:{ |
| | 91 | fontSize:1.15, |
| | 92 | letterSpacing:2.85 |
| | 93 | } |
| | 94 | }) |
| | 95 | // stop anchors from doing _anything_ |
| | 96 | .connect("onclick",dojo,"stopEvent"); |
| | 97 | |
| | 98 | dojo.query(".imgBounce").instantiate(dojox.widget.FisheyeLite,{ |
| | 99 | // all the images need a width and a height (well, not need, |
| | 100 | // but to scale you do) |
| | 101 | properties: { |
| | 102 | height:1.75, |
| | 103 | width:1.75 |
| | 104 | } |
| 87 | | |
| 88 | | dojo.query("a").forEach(function(n){ |
| 89 | | // all the anchorhs get a little letter spacing love |
| 90 | | new dojox.widget.FisheyeLite({ |
| 91 | | properties:{ |
| 92 | | fontSize:1.15, |
| 93 | | letterSpacing:2.85 |
| 94 | | } |
| 95 | | },n); |
| 96 | | // stop anchors from doing _anything_ |
| 97 | | }).connect("onclick",dojo,"stopEvent"); |
| 98 | | |
| 99 | | dojo.query(".imgBounce").forEach(function(n){ |
| 100 | | // all the images need a width and a height (well, not need, |
| 101 | | // but to scale you do) |
| 102 | | new dojox.widget.FisheyeLite({ |
| 103 | | properties: { |
| 104 | | height:1.75, |
| 105 | | width:1.75 |
| 106 | | } |
| 107 | | },n); |
| 108 | | }); |
| | 106 | |