~testplan-team/testplan/source-collection

« back to all changes in this revision

Viewing changes to htmlunit-2.6/src/test/resources/ExtJS/2.2/examples/simple-widgets/qtips.js

  • Committer: edA-qa mort-ora-y
  • Date: 2010-04-07 10:54:57 UTC
  • Revision ID: eda-qa@disemia.com-20100407105457-g46bvbsrjqtjujab
updating hmltunit src

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Ext JS Library 2.2
 
3
 * Copyright(c) 2006-2008, 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
});