Development

/plugins/dwPrototypeTooltipPlugin/README

You must first sign up to be able to contribute.

root/plugins/dwPrototypeTooltipPlugin/README

Revision 10936, 1.0 kB (checked in by dwhittle, 5 months ago)

dwPrototypePlugin: converted README to markdown format

Line 
1 dwPrototypeTooltipPlugin
2 ========================
3
4 Overview
5 --------
6
7 The plugin provides tooltips via the prototype library for the symfony php framework. Based on the snippet from Dmitry Parnas.
8
9
10 License
11 -------
12
13
14 For the full copyright and license information, please view the LICENSE
15 file that was distributed with this source code.
16
17 Installation
18 ------------
19
20
21   * *Install the plugin*
22
23     symfony plugin:install dwPrototypeTooltipPlugin
24
25
26   * *Clear you cache*
27
28     symfony cc
29
30
31 Using the plugin
32 ----------------
33
34     <?php use_helper('Tooltip') ?>
35
36     <?php echo tooltips_js('autoMoveToCursor=false showEvent=click', 'appear=true blindDown=true', 'blindUp=true', array('style.position' => 'absolute'), array('style.position' => 'absolute')) ?>
37
38     <div id="some_id">some text</div>
39
40      <?php echo tooltip_div('some_id', 'css_class', array('style' => 'visibility: hidden'))?>
41       Tooltip text.
42     </div>
43
44
45 Examples
46 --------
47
48   * [http://www.symfony-project.com/snippets/snippet/24]
49   * [http://tooltip.crtx.org/index.php?page=Demos]
Note: See TracBrowser for help on using the browser.