This repository has been archived by the owner on Oct 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
/
index.html
executable file
·391 lines (365 loc) · 28.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>clueTip: A jQuery Tooltip Plugin</title>
<link rel="stylesheet" type="text/css" media="screen" href="../jq.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/shared/tabs.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="lib/jquery.js"%3E%3C/script%3E'));</script>
<script src="/shared/jquery.tabs.min.js"></script>
<script src="/shared/jquery.history.js"></script>
<script src="/shared/chili-1.8.js"></script>
<script type="text/javascript">
$(function() {
// initialize the tabs
var main = $('#main').tabs(1);
});
</script>
</head>
<body>
<h1 id="banner"><a id="backnav" href="..">‹‹ home</a>clueTip: A jQuery Tooltip Plugin</h1>
<div id="main">
<ul id="nav" class="anchors">
<li><a href="#getting-started">Overview</a></li>
<li><a href="demo/">Demo</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#options">API / Options</a></li>
<li><a href="#faq">FAQ</a></li>
<li><a href="#credits">Credits</a></li>
<li><a href="#download">Download & Support</a></li>
</ul>
<p>Now <a href="http://jqueryui.com/themeroller/">ThemeRoller</a> Ready (as of clueTip 1.1).</p>
<div id="getting-started" class="tabContent">
<h2>Important: This plugin is <em>no longer being maintained</em>.</h2>
<p>I originally wrote clueTip back in 2006 as my first attempt at a jQuery plugin. If I were to write it now, I would do it completely differently. However, I don't have the time or energy to work on it. The good news is that you can use any one of a number of <em>better</em> tooltip plugins. Here are a few:</p>
<ul>
<li><a href="http://jqueryui.com/tooltip/">jQuery UI Tooltip</a></li>
<li><a href="http://iamceege.github.io/tooltipster/">Tooltipster</a></li>
<li><a href="http://qtip2.com/">qTip2</a></li>
</ul>
<h1>Overview</h1>
<p>The clueTip plugin allows you to easily show a fancy tooltip when the user's mouse hovers over (or, optionally, clicks on) any element you designate in your script. If the element includes a <code>title</code> attribute, its text becomes the heading of the clueTip.</p>
<p>If you like this plugin and you're feeling generous, perhaps you'd also like to visit my <a href="http://www.amazon.com/gp/registry/wishlist/1NLSYA46XTVG4/" title="Amazon.com: Wish List">amazon.com wish list</a>?</p>
<h1>Quick Start Guide</h1>
Showing the most basic clueTip can be achieved in two easy steps.
<div class="step-one">Add HTML markup to your page for elements that you want to invoke a clueTip. By default, the clueTip plugin will use the <code>rel</code> attribute to load contents into the tooltip body via <acronym title="Asynchronous HTML and HTTP">AHAH</acronym>. </div>
<pre><code class="mix">
<!-- use ajax/ahah to pull content from fragment.html: -->
<p><a class="tips" href="fragment.html" rel="fragment.html">show me the cluetip!</a></p>
<!-- use title attribute for clueTip contents, but don't include anything in the clueTip's heading -->
<p><a id="houdini" href="houdini.html" title="|Houdini was an escape artist.|He was also adept at prestidigitation.">Houdini</a></p>
</code></pre>
<div class="step-two">Include the <strong>jQuery</strong> core file and the <strong>clueTip</strong> plugin in the <code><head></code> of your document. You may optionally include the <em>hoverIntent</em> plugin as well. After these scripts are referenced, you can reference a custom script file to invoke your clueTips (preferred) or enter the script directly in the <code><head></code> (shown below). You should also include the clueTip <strong>stylesheet</strong> (jquery.cluetip.css) after the scripts. </div>
<br />
<pre><code class="mix"><script src="jquery.js" type="text/javascript"></script>
<script src="jquery.hoverIntent.js" type="text/javascript"></script> <!-- optional -->
<script src="jquery.cluetip.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('a.tips').cluetip();
$('#houdini').cluetip({
splitTitle: '|', // use the invoking element's title attribute to populate the clueTip...
// ...and split the contents into separate divs where there is a "|"
showTitle: false // hide the clueTip's heading
});
});
</script>
<link rel="stylesheet" href="jquery.cluetip.css" type="text/css" />
</code></pre>
<p>You can change the default style and behavior in many ways. See <a href="#options">API / Options</a> for details.</p>
</div>
<div id="demo" class="tabContent"></div>
<div id="features" class="tabContent">
<h2>This plugin is <em>no longer being maintained</em>.</h2>
<p>See <a href="#getting-started">the overview</a> for a list of alternative tooltip plugins.</p>
<h1>clueTip Plugin Features</h1>
<div id="subfeatures">
<ul>
<li><a href="#subfeatures1">Multiple Content Sources</a></li>
<li><a href="#subfeatures2">Smart Positioning</a></li>
<li><a href="#subfeatures3">Flexible Behavior</a></li>
<li><a href="#subfeatures4">Style Variety</a></li>
</ul>
<div id="subfeatures1" class="sample-tab-selected subfeature">
<h4>Multiple Content Sources</h4>
<p>The contents of the clueTip can come from one of these sources:</p>
<ol>
<li>a separate file, via AHAH / AJAX</li>
<li>an element on the same page, typically hidden</li>
<li>the title attribute, parsed by a user-defined delimiter (if the "splitTitle" option is set). The text before the first delimiter becomes the clueTip title, and the rest of the text parts are placed in <code><div class="split-body"></div></code> elements and appended to the clueTip body </li>
<li>the return value of a function referenced in the first argument of <code>.cluetip()</code>.</li>
</ol>
</div>
<div id="subfeatures2" class="subfeature">
<h4>Smart Positioning</h4>
The clueTip Plugin has 4 positioning modes, which you can change via the "positionBy" option.
<ol>
<li><code>positionBy: 'auto'</code> (default)
<ul>
<li><strong>places the tooltip just to the right of the invoking element</strong>, but... </li>
<li>if there is not enough room for the tooltip to be fully visible between the right edge of the invoking element and the right edge of the browser window, <strong>switches from the right side to the left side</strong>, but... </li>
<li>if the invoking element is too close to the bottom edge of the browser window, <strong>adjusts the tooltip upwards until the whole tooltip is visible</strong>, but... </li>
<li>if the tooltip is taller than the window (i.e. the viewable area), <strong>adjusts the tooltip back down until the tooltip's top is at the top edge of the browser window</strong>, but...</li>
<li>position if the invoking element is so wide that the tooltip can't completely fit to the left or the right of it, <strong>places the tooltip to the right or left of the <em>mouse</em></strong>, but... </li>
<li>if the tooltip itself can't fit to the right or left of the mouse position, <strong>places the tooltip below the mouse position (centered horizontal if enough room)</strong>, but... </li>
<li>if (a) there isn't enough room below without being cut off, and (b) there is enough room between the top of the viewable area and the mouse, <strong>puts the tooltip above the mouse position</strong></li>
</ul>
</li>
<li><code>positionBy: 'mouse'</code>
<ul>
<li><strong>places the tooltip to the right of the mouse position</strong>, but...</li>
<li>if there is not enough room to the right, <strong>places the tooltip to the left of the mouse position</strong>, but...</li>
<li>if the tooltip itself can't fit to the right or left of the mouse position, <strong>places the tooltip below the mouse position (centered horizontally if enough room)</strong>, but... </li>
<li>if (a) there isn't enough room below without being cut off, and (b) there is enough room between the top of the viewable area and the mouse, <strong>puts the tooltip above the mouse position</strong></li>
</ul>
</li>
<li><code>positionBy: 'bottomTop'</code>
<ul>
<li><strong>places the tooltip below the mouse position (centered horizontally if enough room)</strong>, but...</li>
<li>if (a) there isn't enough room below without being cut off, and (b) there is enough room between the top of the viewable area and the mouse, <strong>puts the tooltip above the mouse position</strong></li>
</ul>
</li>
<li><code>positionBy: 'fixed'</code>
<ul>
<li><strong>places the tooltip in the same location relative to the invoking element</strong>, regardless of where it appears on the page.</li>
<li>the fixed position can be adjusted by modifying the number of pixels in the <code>topOffset</code> and <code>leftOffset</code> options</li>
</ul>
</li>
</ol>
</div>
<div id="subfeatures3" class="subfeature">
<h4>Flexible Behavior</h4>
<ol>
<li>The clueTip takes advantage of Brian Cherne's <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" title="hoverIntent jQuery Plugin">hoverIntent plugin</a> if it's available. (Just include it in a <code><script></code> tag if you want the clueTip to use it.)</li>
<li>It can be activated on hover or on click.</li>
<li>It can fade in, slide down, etc.</li>
<li>It can close when the invoking element is moused out or when the tooltip is moused out or when the user clicks a "close" link.</li>
<li>It can cache the results of ajax requests—or not.</li>
<li>It can be turned off</li>
</ol>
</div>
<div id="subfeatures4" class="subfeature">
<h4>Variety of Styles</h4>
<p>The clueTip Plugin comes with three themes: default, jTip, and rounded corners. Additional themes can be created by following the naming patterns in the stylesheet, jquery.cluetip.css. To apply one of the alternative themes, just indicate it in the <code>cluetipClass</code> option as <code>'jtip'</code> or <code>'rounded'</code>.</p>
<p>The "loading" image comes from this rule in the stylesheet: </p>
<pre><code class="css">#cluetip-waitimage {
width: 43px;
height: 11px;
position: absolute;
background-image: url(wait.gif);
}</code></pre>
<p>It can be turned off with the following option: <code>waitImage: false</code></p>
<p>Other options that affect the visual appearance include <code>hoverClass</code>, <code>arrows</code>, <code>dropShadow</code>, and <code>dropShadowSteps</code>. Please see <a href=#options>API / Options</a> for more information.</p>
</div>
</div>
</div>
<div id="options" class="tabContent">
<h2>This plugin is <em>no longer being maintained</em>.</h2>
<p>See <a href="#getting-started">the overview</a> for a list of alternative tooltip plugins.</p>
<h1>clueTip Plugin API / Options</h1>
The clueTip Plugin API provides two methods, with many options. It also provides a custom event for closing the tooltip programmatically
<dl>
<dt><code class="method">$.cluetip.setup(options)</code></dt>
<dd>Global defaults for clueTips. Will apply to all calls to the clueTip plugin.</dd>
</dl>
<pre><code class="mix">{
insertionType: 'appendTo', // how the clueTip is inserted into the DOM
// possible values: 'appendTo', 'prependTo', 'insertBefore', 'insertAfter'
insertionElement: 'body' // where in the DOM the clueTip is to be inserted
}</code></pre>
<dl>
<dt><code class="method">.cluetip(options)</code></dt>
<dd>Displays a highly customizable tooltip via ajax (default) or local content or the title attribute of the invoking element </dd>
</dl>
<pre><code class="mix">$.fn.cluetip.defaults = { // default options; override as needed
multiple: false, // Allow a new tooltip to be created for each .cluetip() call
width: 275, // The width of the clueTip
height: 'auto', // The height of the clueTip. more info below [1]
cluezIndex: 97, // Sets the z-index style property of the clueTip
positionBy: 'auto', // Sets the type of positioning. more info below [2]
topOffset: 15, // Number of px to offset clueTip from top of invoking element. more info below [3]
leftOffset: 15, // Number of px to offset clueTip from left of invoking element. more info below [4]
local: false, // Whether to use content from the same page for the clueTip's body
// (treats the attribute used for accessing the tip as a jQuery selector,
// but only selects the first element if the selector matches more than one). more info below [5]
hideLocal: true, // If local option is set to true, this determines whether local content
// to be shown in clueTip should be hidden at its original location
localPrefix: null, // string to be prepended to the tip attribute if local is true
localIdSuffix: null, // string to be appended to the cluetip content element's id if local is true
attribute: 'rel', // the attribute to be used for fetching the clueTip's body content
titleAttribute: 'title', // the attribute to be used for fetching the clueTip's title
splitTitle: '', // A character used to split the title attribute into the clueTip title and divs
// within the clueTip body. more info below [6]
escapeTitle: false, // whether to html escape the title attribute
showTitle: true, // show title bar of the clueTip, even if title attribute not set
cluetipClass: 'default',// class added to outermost clueTip div in the form of 'cluetip-' + clueTipClass. more info below [7]
hoverClass: '', // class applied to the invoking element onmouseover and removed onmouseout
waitImage: true, // whether to show a "loading" img, which is set in jquery.cluetip.css
cursor: 'help',
arrows: false, // if true, displays arrow on appropriate side of clueTip. more info below [8]
dropShadow: true, // set to false if you don't want the drop-shadow effect on the clueTip
dropShadowSteps: 6, // adjusts the size of the drop shadow
sticky: false, // keep visible until manually closed
mouseOutClose: false, // close when clueTip is moused out: false, 'cluetip', 'link', 'both'
delayedClose: 50, // close clueTip on a timed delay
activation: 'hover', // set to 'click' to force user to click to show clueTip
clickThrough: true, // if true, and activation is not 'click', then clicking on a clueTipped link will take user to
// the link's href, even if href and tipAttribute are equal
tracking: false, // if true, clueTip will track mouse movement (experimental)
closePosition: 'top', // location of close text for sticky cluetips; can be 'top' or 'bottom' or 'title'
closeText: 'Close', // text (or HTML) to to be clicked to close sticky clueTips
truncate: 0, // number of characters to truncate clueTip's contents. if 0, no truncation occurs
// effect and speed for opening clueTips
fx: {
open: 'show', // can be 'show' or 'slideDown' or 'fadeIn'
openSpeed: ''
},
// settings for when hoverIntent plugin is used
hoverIntent: {
sensitivity: 3,
interval: 50,
timeout: 0
},
// function to run just before clueTip is shown.
// If the function returns false, the clueTip is NOT shown
// It can take a single argument: the event object
// Inside the function, this refers to the element that invoked the clueTip
onActivate: function(event) {return true;},
// function to run just after clueTip is shown. It can take two arguments:
// the first is a jQuery object representing the clueTip element;
// the second a jQuery object represeting the clueTip inner div.
// Inside the function, this refers to the element that invoked the clueTip
onShow: function(ct, ci){},
// function to run just after clueTip is hidden. It can take two arguments:
// the first is a jQuery object representing the clueTip element;
// the second a jQuery object represeting the clueTip inner div.
// Inside the function, this refers to the element that invoked the clueTip
onHide: function(ct, ci){},
// whether to cache results of ajax request to avoid unnecessary hits to server
ajaxCache: true,
// process data retrieved via xhr before it's displayed
ajaxProcess: function(data) {
data = data.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm, '').replace(/<(link|meta)[^>]+>/g,'');
return data;
},
// can pass in standard $.ajax() parameters. Callback functions, such as beforeSend,
// will be queued first within the default callbacks.
ajaxSettings: {
// error: function(ct, ci) { /* override default error callback */ },
// beforeSend: function(ct, ci) { /* called first within default beforeSend callback */ },
dataType: 'html'
}
};</code></pre>
<dl>
<dt><code class="method">$(document).trigger('hideCluetip')</code></dt>
<dd>Hides any currently visible cluetip.</dd>
<pre><code class="mix">
// example for how you might do this with touch devices
$('body').bind('touchstart', function(event) {
event = event.originalEvent;
var tgt = event.touches[0] && event.touches[0].target,
$tgt = $(tgt);
if (tgt.nodeName !== 'A' && !$tgt.closest('div.cluetip').length ) {
$(document).trigger('hideCluetip');
}
});
</code></pre>
<dt><code class="method">$('some-already-initialized-link').trigger('showCluetip')</code></dt>
<dd>Triggers the cluetip to be shown for a particular element on which <code>.cluetip()</code> has already been called.</dd>
</dl>
<ol class="footnotes">
<li><strong>height</strong>: Setting a specific height also sets <div id="cluetip-outer"> to "overflow:auto"</li>
<li><strong>positionBy</strong>: Available options are 'auto', 'mouse', 'bottomTop', 'topBottom', fixed'. Change to 'mouse' if you want to override positioning by element and position the clueTip based on where the mouse is instead. Change to 'bottomTop' if you want positioning to begin below the mouse when there is room or above if not (and 'topBottom' for vice versa) — rather than right or left of the elemnent and flush with element's top. Change to 'fixed' if you want the clueTip to appear in exactly the same location relative to the linked element no matter where it appears on the page. Use 'fixed' at your own risk.</li>
<li><strong>topOffset</strong>:For all but positionBy: 'fixed', the number will be added to the clueTip's "top" value if the clueTip appears below the invoking element and subtracted from it if the clueTip appears above. For positionBy "fixed", the number will always be added to the "top" value, offsetting the clueTip from the top of the invoking element.</li>
<li><strong>leftOffset</strong>: For all but positionBy: 'fixed', the number will be added to clueTip's "left" value if the clueTip appears to the right of the invoking element and subtracted if the clueTip appears to the left. For positionBy "fixed", the number will always be added to the "left" value of the clueTip, offsetting it from the right side of the invoking element.</li>
<li><strong>local</strong>: for example, using the default tip attribute, "rel", you could have a link — <a href="somewhere.htm" rel="#someID"> — that would show the contents of the element in the DOM that has an ID of "someID."
<div><strong><em>Important</em>:</strong> If you use any selector other than a simple ID, the plugin will match the index of the element with the index of the invoking element among all selected elements. For example, if you call <code>$('a').cluetip({local: true})</code> and you have two links with <code>rel="div.foo"</code>, the first link will display the contents of the first <code>div class="foo"</code> and the second link will display the contents of the second <code>div class="foo"</code>.
</div>
</li>
<li><strong>splitTitle</strong>: if used, the clueTip will be populated only by the title attribute</li>
<li><strong>cluetipClass</strong>: this is also used for a "directional" class on the same div, depending on where the clueTip is in relation to the invoking element. The class appears in the form of 'cluetip-' + <em>direction</em> + <em>cluetipClass</em>. this allows you to create your own clueTip theme in a separate CSS file or use one of the three pre-packaged themes: default, jtip, or rounded.</li>
<li><strong>arrows</strong>: <strong>UPDATE</strong>: this option displays a div containing an arrow background image. Arrow images are set using the background-image property in the CSS. The direction of the arrow changes depending on which side of the invoking element the clueTip appears. The arrows option sets the background-position of the cluetip div so that the arrow will accurately point to the invoking element, regardless of where it appears in relation to it.</li>
</ol>
</div>
<div id="faq" class="tabContent">
<h1>Frequently Asked Questions</h1>
<dl>
<dt>Is clueTip still being maintained?</dt>
<dd><strong>No</strong>. It had a good run, but it's old and tired and in need of rest. Take a look at <a href="#getting-started">the overview</a> for a list of alternative tooltip plugins.
</dd>
<dt>How is clueTip licensed?</dt>
<dd>
<p>The clueTip plugin is licensed the same way as the jQuery core file: under the MIT license. The top of the jquery.cluetip.js file has this notice:</p>
<p>Licensed under the MIT license:<br />
* http://www.opensource.org/licenses/mit-license.php</p>
</dd>
<dt>What versions of jQuery is the clueTip Plugin compatible with?</dt>
<dd>As of clueTip version 1.06, the plugin is compatible with version 1.3.2 or later. Previous clueTip versions are compatible with jQuery 1.2.6, though 1.3.2 or later is recommended.</dd>
<dt>Does the clueTip Plugin have any dependencies on other plugins?</dt>
<dd><strong>No.</strong> However, <em>optional</em> plugins that can be used in conjunction with the clueTip plugin include <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html" title="hoverIntent jQuery Plug-in">hoverIntent</a> and <a href="http://brandonaaron.net/jquery/plugins/bgiframe/docs/">bgIframe</a>.</dd>
<dt id="cluetip-after-ajax">How do I get clueTip to work on elements that have been inserted via ajax after the page loads?</dt>
<dd>You can call the <code>.cluetip()</code> method on those elements from within the ajax method's callback function. For example:
<pre><code>$.get('/path/to/file', function(html) {
var newHtml = $(html);
newHtml.appendTo('#some-elememnt');
newHtml.find('a').cluetip();
});</code></pre>
</dd>
<dt>How do I get clueTip to show ajaxed content that has changed on the server?</dt>
<dd>There are a number of options available for working with dynamic content. By default, the <code>ajaxCache</code> function is set to <code>true</code>. This reduces the number of http requests made to the server. However, it doesn't account for possible changes to the ajaxed data. If the contents of a particular clueTip will be updated on the server between invocations, you may want to set <code>ajaxCache: false</code>.
</dd>
<dt>How do I programmatically close (hide) a clueTip?</dt>
<dd>If you want to trigger a clueTip to close, based on some other interaction, you can use the following code: <code>$(document).trigger('hideCluetip');</code> </dd>
<dt>Why don't the styles that I've applied to my local content carry over once they're inside a clueTip?</dt>
<dd>When using an element on the same page to populate the clueTip's content, the plugin <em>clones</em> that element. Because of potential problems caused by duplicate IDs within a page, the plugin also, by default, adds a suffix to the ID of the cloned element. If you have tied styles to the original ID, they won't be carried over. You can either give the <code>localIdSuffix</code> an empty string ( '' ) for its value or add the ID to your stylesheet rule.</dd>
<dt>Why don't form elements within a clueTip update when I tell them to?</dt>
<dd>If you attempt to update an element based on its ID,</dd>
<dt>How do I add a delay before showing or closing the clueTip? </dt>
<dd>While the clueTip plugin itself doesn't have a mechanism for delaying responses, it can take advantage of the optional hoverIntent plugin. To delay the showing of a clueTip, use the <code>interval</code> property of the <code>hoverIntent</code> option; to delay its hiding, use the <code>timeout</code> property. Both properties are measured in milliseconds. For example, the following sets both the show and the hide delays to 750 milliseconds (3/4 second):
<pre><code>$('a').cluetip({
hoverIntent: {
sensitivity: 1,
interval: 750,
timeout: 750
}
});
</code></pre>
See <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html">hoverIntent plugin's documentation</a> for details.</dd>
<dt>Why are the clueTips hidden behind my Flash elements?</dt>
<dd><p>This is a common problem when trying to layer a DOM element over a Flash object. To avoid it, you need to set <param name="wmode" value="transparent" /> inside the <object></object> tags and/or wmode="transparent" as an attribute of the <embed /> tag. For example, your HTML might look like this:</p>
<pre><code><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
width="500" height="300">
<param name="movie" value="test.swf" />
<param name="quality" value="high" />
<strong><param name="wmode" value="transparent" /></strong>
<embed src="test.swf" quality="high" <strong>wmode="transparent"</strong>
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="500" height="300" />
</object></code>
</pre>
</dd>
</dl>
</div>
<div id="credits" class="tabContent">
<h1>clueTip Plugin Credits</h1>
<ul>
<li>Originally inspired by <a href="http://www.codylindley.com">Cody Lindley</a>'s jTip</li>
<li>Huge thanks to <a href="http://rapiddg.com/">Jonathan Chaffer</a>, <a href="http://commadot.com/">Glen Lipka</a>, <a href="http://blog.schreiter.info/">Torben Schreiter</a>, <a href="http://www.pengoworks.com/">Dan G. Switzer</a>, <a href="http://bassistance.de/">Jörn Zaefferer</a>, Shelane Enos, Hector Santos, and the many others who helped report and fix bugs and suggest features.</li>
</ul>
</div>
<div id="download" class="tabContent">
<h2>This plugin is <em>no longer being supported</em>.</h2>
<p>See <a href="#getting-started">the overview</a> for a list of alternative tooltip plugins.</p>
<h1>Download</h1>
<p>The plugin is available on Github, where it is updated more frequently with incremental improvements and bug fixes: <a class="external" href="http://github.com/kswedberg/jquery-cluetip/tree/master">clueTip on Github</a></p>
<h1>Bug Reports</h1>
If you discover a bug in the clueTip plugin, please <a class="external" href="http://github.com/kswedberg/jquery-cluetip/issues">report the bug here</a>.
</p>
<div id="footer">
This documentation is maintained by Karl Swedberg. Send comments or questions to karl [at] learningjquery /dot\ com.
</div>
</div>
</div> <!-- main -->
</body></html>