Last change
on this file since 619 was
619,
checked in by ramonb, 15 years ago
|
lib/:
- added new AJAX dependancies: ExtJS, pChart, Lightbox2
|
File size:
904 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Ext JS Library 2.2.1 |
---|
3 | * Copyright(c) 2006-2009, Ext JS, LLC. |
---|
4 | * licensing@extjs.com |
---|
5 | * |
---|
6 | * http://extjs.com/license |
---|
7 | */ |
---|
8 | |
---|
9 | Ext.onReady(function(){ |
---|
10 | new Ext.ToolTip({ |
---|
11 | target: 'tip1', |
---|
12 | html: 'A very simple tooltip' |
---|
13 | }); |
---|
14 | |
---|
15 | new Ext.ToolTip({ |
---|
16 | target: 'ajax-tip', |
---|
17 | width: 200, |
---|
18 | autoLoad: {url: 'ajax-tip.html'}, |
---|
19 | dismissDelay: 15000 // auto hide after 15 seconds |
---|
20 | }); |
---|
21 | |
---|
22 | new Ext.ToolTip({ |
---|
23 | target: 'tip2', |
---|
24 | html: 'Click the X to close me', |
---|
25 | title: 'My Tip Title', |
---|
26 | autoHide: false, |
---|
27 | closable: true, |
---|
28 | draggable:true |
---|
29 | }); |
---|
30 | |
---|
31 | new Ext.ToolTip({ |
---|
32 | target: 'track-tip', |
---|
33 | title: 'Mouse Track', |
---|
34 | width:200, |
---|
35 | html: 'This tip will follow the mouse while it is over the element', |
---|
36 | trackMouse:true |
---|
37 | }); |
---|
38 | |
---|
39 | |
---|
40 | Ext.QuickTips.init(); |
---|
41 | |
---|
42 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.