comparison js/bt/DEMO/index.html @ 18:0d557e6e73f7

Added beautytips and some additional event handling code to the library.
author David Eads <eads@chicagotech.org>
date Fri, 06 Mar 2009 14:11:46 -0600
parents
children
comparison
equal deleted inserted replaced
17:1a77f87927dd 18:0d557e6e73f7
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3
4 <html lang="en">
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>BeautyTips Demo Page</title>
8 <meta name="author" content="Jeff Robbins">
9 <script src="../other_libs/jquery-1.3.min.js" type="text/javascript" charset="utf-8"></script>
10 <script src="../other_libs/jquery.hoverIntent.minified.js" type="text/javascript" charset="utf-8"></script>
11 <script src="../other_libs/bgiframe_2.1.1/jquery.bgiframe.min.js" type="text/javascript" charset="utf-8"></script>
12 <!--[if IE]><script src="../other_libs/excanvas_0002/excanvas-compressed.js" type="text/javascript" charset="utf-8"></script><![endif]-->
13 <script src="../jquery.bt.min.js" type="text/javascript" charset="utf-8"></script>
14 <script src="demofiles/demo.js" type="text/javascript" charset="utf-8"></script>
15 <link href="demofiles/demo.css" rel="stylesheet" type="text/css">
16 <!--[if IE]><link href="demofiles/demo-ie-fix.css" rel="stylesheet" type="text/css"><![endif]-->
17 </head>
18 <body>
19 <div id="page">
20 <div id="intro">
21 <h1>BeautyTips Demo</h1>
22 <p><img src="demofiles/logo.png" alt="BeautyTips" width="240" height="200" style="float:right;margin-left:10px;margin-bottom:5px" />BeautyTips is a jQuery tooltips plugin which uses the canvas drawing
23 element
24 in the HTML5 spec in order to dynamically draw tooltips (sometimes called &quot;talk bubbles&quot; or &quot;help balloons&quot;)
25 associated with a html element on the page. These tips are highly configurable and can be triggered in many different ways.</p>
26 <p> The canvas element is supported in modern versions of FireFox, Safari,
27 and Opera. However, Internet Explorer needs a separate library called ExplorerCanvas
28 included on the page in order to support canvas drawing functions. <a href="http://excanvas.sourceforge.net/">ExplorerCanvas</a>
29 was created by Google for use with their web apps and you can find it <a href="http://excanvas.sourceforge.net/">here</a>.</p>
30 <p>BeautyTips was written to be simple to use and pretty. All of its options
31 are documented at the bottom of the .js file and defaults can be overwritten
32 globally for the entire page, or individually for each target element (more about this in the wrapup section).</p>
33 <p>BeautyTips has been tested with jQuery 1.2.6 and 1.3 on Firefox 3.x, Safari 3.x (also works on iPhone!), IE 6.x+, and Opera 8+, but I'm sure other canvas-capable browsers will work as well.</p>
34 <p> By default each tooltip will be positioned on the side of the target
35 element
36 which has the most free space. This is affected by the scroll position
37 and
38 size of the current window, so each Beauty Tip is redrawn each time it
39 is
40 displayed. It may appear above an element at the bottom of the page, but
41 when
42 the page is scrolled down (and the element is at the top of the page) it
43 will appear below it. Additionally, positions can be forced or a preferred
44 order can be defined. See examples below.</p>
45 <h2>Project Page and Download</h2>
46 <p>BeautyTips has <a href="http://plugins.jquery.com/project/bt">a page</a> in the plugins directory on jQuery.com. This is where you can download the latest version. It is also the best place to post bugs and feature requests.</p>
47 <p><a href="http://plugins.jquery.com/project/bt">http://plugins.jquery.com/project/bt</a></p>
48 <h2>Other helpful plugins</h2>
49 <p>To fix z-index problems with form elements in IE6, include the <a href="http://plugins.jquery.com/project/bgiframe">bgiframe plugin</a> on your page. BeautyTips will automatically
50 recognize it and use it.</p>
51 <p>BeautyTips also works with the <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html">hoverIntent plugin</a>
52 see hoverIntent example below for usage.</p>
53 <h2>Usage</h2>
54 <p>The function can be called in a number of ways.<br>
55 <code>$(selector).bt();</code><br>
56 <code>$(selector).bt('Content text');</code><br>
57 <code>$(selector).bt('Content text', {option1: value, option2: value});</code><br>
58 <code>$(selector).bt({option1: value, option2: value});</code></p>
59 <h2>Examples</h2>
60 <p><small>Note: html and javascript textareas are live. Feel free to experiment with the code and see how BeautyTips are affected.</small></p>
61 </div><!-- /#intro -->
62 <div class="examples">
63 <div class="example" id="no-options"><h3>No options</h3>
64 <div id="example1" class="target" title="The content of this tooltip is provided by the 'title' attribute of the target element.">hover </div>
65 <div class="desc">
66 <p>This is the simplest example. No arguments are sent and the default settings
67 are used to create a tip which appears on the side with the most space.</p>
68 <div class="source">
69 <div class="js">$('#example1').bt();</div>
70 </div></div>
71 </div>
72
73 <div class="example" id="content-from-argument">
74 <h3>Content from argument</h3>
75 <div id="example2" class="target">click </div>
76 <div class="desc">
77 <p>Tip appears above the element when it is clicked. The contents of tip is provided when creating the tip.</p>
78 <div class="source">
79 <div class="js">$('#example2').bt('Contents of the tip is provided in the .bt() call', {trigger: 'click', positions: 'top'});</div>
80 </div></div>
81 </div>
82
83 <div class="example" id="content-from-attribute">
84 <h3>Content from attribute</h3>
85 <div class="ie-fix"><a id="example3" href="http://www.lullabot.com" title="link to Lullabot" class="target">hover</a></div>
86 <div class="desc">
87 <p>This example uses the contentSelector attribute to determine where the content comes from. In this case the selector is <code>$(this).attr('href')</code> and the content is the href attribute of the hovered link. Other options define a red balloon with bold white text. The box will be a variable width up to 400px ("width: 'auto' in cssStyles makes text box shrink-to-fit) with rounded corners. The script will try to position the box to the left, then to the right, and finally it will place it on the bottom if it does not fit elsewhere.</p>
88 <div class="source">
89 <div class="js">$('#example3').bt({
90 contentSelector: "$(this).attr('href')",
91 fill: 'red',
92 cssStyles: {color: 'white', fontWeight: 'bold', width: 'auto'},
93 width: 400,
94 padding: 10,
95 cornerRadius: 10,
96 spikeLength: 15,
97 spikeGirth: 5,
98 positions: ['left', 'right', 'bottom']
99 });</div>
100 </div></div>
101 </div>
102
103 <div class="example" id="pre-post-functions">
104 <h3>Pre/post functions</h3>
105 <div class="ie-fix"><div id="example4" title="This example triggers functions before the tip appears and after the tip is hidden." class="target">hover</div></div>
106 <div class="desc">
107 <p>There are four different functions which can be triggered at different points in the lifetime of a beautyTip: preShow, postShow, preHide, and postHide.</p>
108 <p>In this example, a function is triggered to change the content of the
109 target element before the tip is shown. After the tip is hidden, another
110 function changes the content back. <code>this</code> in these function refers to the target element. These functions could be used for just about anything.</p>
111 <div class="source">
112 <div class="js">$('#example4').bt({
113 preShow: function() {
114 $(this).data('origContent', $(this).html());
115 $(this).html('hovering active');
116 },
117 postHide: function() {
118 $(this).html($(this).data('origContent'));
119 }
120 });</div></div>
121 </div>
122 </div>
123
124
125 <div class="example" id="css-tricks">
126 <h3>CSS tricks</h3>
127 <style type="text/css">.example-5-active {
128 background-color: #666;
129 color: #FFF;
130 }
131 .example-5-tip {
132 font-family: Georgia, "Times New Roman", Times, serif;
133 color: #660000;
134 }</style>
135 <div class="ie-fix"><div id="example5" title="The target element gets a class added when it is active. The BeautyTip's class is also configurable." class="target">hover</div></div>
136 <div class="desc">
137 <p>When the BeautyTip is active, an additional class is added to the target
138 element. This class, called &quot;activeClass&quot;, can be defined when calling
139 the bt() function. Additionally, each BeautyTip popup has a wrapper div
140 which surrounds its content. The class on this div is also definable.</p>
141 <p>Note that the BeautyTip &quot;balloon&quot; itself is drawn as a bitmap using canvas
142 methods and functions similar to an &lt;img&gt; element, so it can not be affected
143 by CSS. There are many options for changing this element using JavaScript
144 options though.</p>
145 <div class="source">
146 <div class="js">$('#example5').bt({
147 activeClass: 'example-5-active',
148 cssClass: 'example-5-tip'
149 });</div>
150 </div>
151 </div>
152 </div>
153
154 <div class="example" id="customizing-balloon">
155 <h3>Customizing the balloon</h3>
156 <div class="ie-fix"><div id="example6" title="This popup balloon is very configurable." class="target">hover</div></div>
157 <div class="desc">
158 <p>The BeautyTip balloons are drawn dynamically and highly configurable.
159 Customizable attributes include background color and opacity, stroke width
160 and color, spike length and width, corner radius, and more. For convenience,
161 style attributes such as font color and weight can be sent through the
162 JavaScript call as well.</p>
163 <div class="source">
164 <div class="js">$('#example6').bt({
165 padding: 20,
166 width: 100,
167 spikeLength: 40,
168 spikeGirth: 40,
169 cornerRadius: 40,
170 fill: 'rgba(0, 0, 0, .8)',
171 strokeWidth: 3,
172 strokeStyle: '#CC0',
173 cssStyles: {color: '#FFF', fontWeight: 'bold'}
174 });</div>
175 </div>
176 </div>
177 </div>
178
179
180 <div class="example" id="image-content">
181 <h3>Image content</h3>
182 <div class="ie-fix"><div type="text" id="example16" class="target">hover</div></div>
183 <div class="desc">
184 <p>Images can be loaded into the BeautyTip. You should, however, add width and height attributes (or use CSS for this) so that the browser will know what size to "save space for" as the image loads.</p>
185 <p>This example also uses some special triggers so that the tip appears on mouseover, but disappears using click. BeautyTips' default clickAnywhereToClose option also allows the user to click anywhere in the document (outside of the tip) in order to close it. This can be disabled either globally or per tip.</p>
186 <div class="source">
187 <div class="js">$('#example16').bt('<img src="demofiles/lullabot.png" width="200" height="197" />',
188 {
189 width: 200,
190 fill: 'white',
191 cornerRadius: 20,
192 padding: 20,
193 strokeWidth: 1,
194 trigger: ['mouseover', 'click']
195 });</div>
196 </div>
197 </div>
198 </div>
199
200 <div class="example" id="customizing-triggers">
201 <h3>Customizing triggers</h3>
202 <div class="ie-fix"><input type="text" id="example7" title="This tip is triggered to appear when the field gets focus and disappear when the field loses focus (i.e. gets blurred)." value="focus" class="alt-target" /></div>
203 <div class="desc">
204 <p>The trigger is what causes the tip to appear/disappear. The default option
205 is 'hover', which will trigger the tip when the mouse hovers over an element.
206 If the <a href="tp://cherne.net/brian/resources/jquery.hoverIntent.html">hoverintent</a> plugin
207 is installed (as on this page), that will become the default trigger and
208 there will be slight (but configurable) delay before the tip appears.</p>
209 <p>In this example, the trigger events for this textfield are 'focus' and
210 'blur'. This means that the tip will get triggered even if the user uses
211 the tab key to enter/leave this form field.</p>
212 <div class="source">
213 <div class="js">$('#example7').bt({
214 trigger: ['focus', 'blur'],
215 positions: ['right']
216 });</div>
217 </div>
218 </div>
219 </div>
220
221
222 <div class="example" id="customizing-triggers-2">
223 <h3>Customizing triggers 2</h3>
224 <div class="ie-fix"><input type="text" id="example8" title="The tip doesn't appear until the user actually types text into the field." value="edit me" class="alt-target" /></div>
225 <div class="desc">
226 <p>In this example, 'keyup' triggers the display of the tip while 'blur'
227 removes it. This means that the tip won't appear until the user actually
228 changes the field (using the keyboard).</p>
229 <p>The full list of trigger events are: <code>blur, focus, load, resize,
230 scroll, unload, click, dblclick, mousedown, mouseup, mousemove, mouseover,
231 mouseout, mouseenter, mouseleave, change, select, submit, keydown, keypress,
232 keyup,</code> and <code>error</code>. However not all events are available for all elements (see: <a href="http://docs.jquery.com/Events">events documentation</a>). </p>
233 <div class="source">
234 <div class="js">$('#example8').bt({
235 trigger: ['keyup', 'blur'],
236 positions: ['right']
237 });</div>
238 </div>
239 </div>
240 </div>
241
242
243 <div class="example" id="scripting">
244 <h3>Scripting on/off</h3>
245 <div class="ie-fix"><div type="text" id="example15" class="target">no trigger</div></div>
246 <div class="desc">
247 <p id="example-15-content">This tip is initiated with a trigger of 'none'. All of the options are set, but turn on/off of the tip isn't bound to any event. We can, however, turn on and off the tip using Javascript. <a href="javascript:void($('#example15').btOn());">$('#example15').btOn();</a> turns it on. <a href="javascript:void($('#example15').btOff());">$('#example15').btOff();</a> turns it off. These btOn() and btOff() functions are available for all elements which have been set up using the bt() function. So, we can programmatically turn on any BeautyTip on the page. <a href="javascript:void($('#example8').btOn());">Click here</a> to turn on the tip from the previous example.</p>
248 <div class="source">
249 <div class="js">$('#example15').bt({
250 trigger: 'none',
251 contentSelector: "$('#example-15-content')",
252 width: 400
253 });</div>
254 </div>
255 </div>
256 </div>
257
258
259 <div class="example" id="hoverintent">
260 <h3>HoverIntent</h3>
261 <div class="ie-fix"><div type="text" id="example9" title="A long <code>interval</code> value ensures that the user <em>intends</em> to be hovering. A long <code>timeout</code> value ensures that the user <em>intends not</em> to be hovering. " class="target">hover and wait</div></div>
262 <div class="desc">
263 <p>The <a href="http://cherne.net/brian/resources/jquery.hoverIntent.html">hoverIntent</a> plugin allows control over how and when the mouseOver
264 event gets triggered when a user hovers over an element. In this example,
265 the <code>interval</code> has been cranked up to 1 second, so the user
266 needs to hover for almost a second before the tip appears. The timeout
267 has been raised to 2 seconds so the tip will remain visible for that long
268 before disappearing.</p>
269 <div class="source">
270 <div class="js">$('#example9').bt({
271 hoverIntentOpts: {
272 interval: 1000,
273 timeout: 2000
274 }
275 });</div>
276 </div>
277 </div>
278 </div>
279
280
281 <div class="example" id="ajax-content">
282 <h3>Ajax content</h3>
283 <div class="ie-fix"><div type="text" id="example10" class="target">hover</div></div>
284 <div class="desc">
285 <p>Content comes from the <code>#content</code> div of the html page: <a href="demofiles/demo-ajax.html">demo-ajax.html</a>. Note: this isn't really ajax, it's actually ahah (asychronous HTML and HTTP). Ahah is much easier to deal with than ajax (which technically uses XML).</p>
286 <div class="source">
287 <div class="js">$('#example10').bt({
288 ajaxPath: 'demofiles/demo-ajax.html div#content'
289 });</div>
290 </div>
291 </div>
292 </div>
293
294 <div class="example" id="ajax-error">
295 <h3>Ajax error</h3>
296 <div class="ie-fix"><div type="text" id="example11" class="target">hover</div></div>
297 <div class="desc">
298 <p>Requested ajax page doesn't exist. This example uses a custom error message. This example may not work correctly if you have opened the file locally (without a web server).</p>
299 <div class="source">
300 <div class="js">$('#example11').bt({
301 ajaxPath: 'foo.html',
302 ajaxError: "<strong>Egads!</strong> There was a problem getting this content. Here's what we know: <em>%error</em>."
303 });</div>
304 </div>
305 </div>
306 </div>
307
308 <div class="example" id="ajax-content">
309 <h3>Ajax dynamic path</h3>
310 <div class="ie-fix"><a href="demofiles/demo-ajax.html" id="example18" class="target">hover</a></div>
311 <div class="desc">
312 <p>AjaxPath is being read from the 'href' value of the link. This is accomplished by defining the ajaxPath as an array. The first value of the array is the jQuery code to find the path value (in this case <code>"$(this).attr('href')"</code>). The optional second value of the array is the content selector within the loaded page (in this case <code>'div#content'</code>). This is a handy way of adding "preview" BeautyTips to a bunch of links on a page.</p>
313 <div class="source">
314 <div class="js">$('#example18').bt({
315 ajaxPath: ["$(this).attr('href')", 'div#content']
316 });</div>
317 </div>
318 </div>
319 </div>
320
321 <div class="example" id="big-big-big">
322 <h3>Big Big Big</h3>
323 <div class="ie-fix"><div type="text" id="example14" class="target">click</div></div>
324 <div class="desc">
325 <p>A popup with <em>lots</em> of content. This popup gets populated from a div which immediately follows this text in the html source, but gets hidden by the same script which defines the BeautyTip. This is a good way to provide degradable help which appears for users with JavaScript disabled.</p>
326 <div id="example-14-content">
327 <h3>A really big popup</h3>
328
329 <p>This tip is chock-full of content. It is intended to show how BeautyTips deals with fitting large content onto the page. The rest of this content is gibberish. Seamlessly empower dynamic communities with clicks-and-mortar testing procedures. Globally scale front-end ideas through next-generation web services. Holisticly harness business data via resource maximizing meta-services.</p>
330
331 <p>Assertively pontificate extensible ROI via end-to-end manufactured products. Compellingly scale resource sucking human capital rather than visionary infomediaries. Quickly evolve robust data with intuitive vortals.</p>
332
333 <p>Authoritatively revolutionize scalable solutions without e-business intellectual capital. Compellingly restore web-enabled potentialities through tactical information. Phosfluorescently disintermediate stand-alone convergence for team building sources.</p>
334
335 <p>Interactively leverage existing sticky products rather than orthogonal expertise. Enthusiastically innovate worldwide process improvements whereas proactive markets. Appropriately evisculate B2B niche markets before vertical content.</p>
336
337 <p>Quickly reinvent state of the art potentialities after process-centric experiences. Completely e-enable sticky technology whereas impactful ideas. Dynamically underwhelm holistic "outside the box" thinking whereas effective testing procedures.</p>
338
339 <p>Synergistically plagiarize cost effective leadership and low-risk high-yield e-commerce. Credibly maintain market positioning strategic theme areas and client-based benefits. Globally disseminate clicks-and-mortar infomediaries for premium e-tailers.</p>
340
341 <p>Professionally reconceptualize interdependent content through error-free innovation. Collaboratively provide access to one-to-one strategic theme areas without magnetic web-readiness. Appropriately negotiate strategic opportunities without timely alignments.</p>
342
343 <p>Continually engineer premier best practices after plug-and-play communities. Monotonectally drive installed base users whereas wireless products.</p>
344 </div>
345 <div class="source">
346 <div class="js">$('#example-14-content').hide();
347 $('#example14').bt({
348 trigger: 'click',
349 contentSelector: "$('#example-14-content').html()", /*get text of inner content of hidden div*/
350 width: 500,
351 fill: '#00FF4E',
352 strokeWidth: 0, /*no stroke*/
353 spikeLength: 40,
354 spikeGirth: 10,
355 padding: 20,
356 cornerRadius: 15,
357 cssStyles: {
358 fontFamily: '"lucida grande",tahoma,verdana,arial,sans-serif',
359 fontSize: '13px'
360 }
361 });</div>
362 </div>
363 </div>
364 </div>
365
366 <div class="example" id="netflix">
367 <h3>Netflix style</h3>
368 <div class="ie-fix"><div type="text" id="example13" class="target">hover</div></div>
369 <div class="desc">
370 <p><a href="http://www.netflix.com">Netflix</a>-style big descriptive popups using ajax.</p>
371 <div class="source">
372 <div class="js">$('#example13').bt({
373 ajaxPath: 'demofiles/netflix.html',
374 overlap: -8,
375 centerPointY: .1,
376 positions: ['right', 'left'],
377 padding: 0,
378 width: 256,
379 spikeGirth: 60,
380 spikeLength: 50,
381 cornerRadius: 10,
382 fill: '#FFF',
383 strokeStyle: '#B9090B',
384 shadow: true,
385 shadowBlur: 12,
386 hoverIntentOpts: {interval: 800, timeout: 0},
387 cssStyles: {
388 fontSize: '12px',
389 fontFamily: 'arial,helvetica,sans-serif'
390 }
391 });</div>
392 </div>
393 </div>
394 </div>
395
396
397 <div class="example" id="google-maps">
398 <h3>Google Maps</h3>
399 <div class="ie-fix"><img src="demofiles/gmap-pin.png" alt="gmap-pin" title="" width="19" height="32" id="example17" class="alt-target" /></div>
400 <div class="desc">
401 <p>Google Maps balloons! Content is provided by a hidden div on the page. Note the use of centerPointX to adjust where the spike extends from. We're also using a close-box "x" image in the content which is a javascript link to close the tip.</p>
402
403 <div id="example-17-content" class="gmap">
404 <div class="gmap-title">Address:</div>
405 <div class="gmap-addr">
406 <div>123 Main St.</div>
407 <div>Seekonk, MA 02771</div>
408 </div>
409
410 <div class="gmap-bottom">
411 <div>Get directions: <a href="javascript:void(null);">To here</a> - <a href="javascript:void(null);">From here</a></div>
412 <div><a href="javascript:void(null);">Search nearby</a> - <a href="javascript:void(null);">Save to My Maps</a></div>
413 <div><a href="javascript:void(null);">Edit</a></div>
414 </div>
415 <a href="javascript:void($('#example17').btOff());"><img src="demofiles/close.gif" alt="close" width="12" height="12" class="gmap-close" /></a>
416 </div>
417
418 <div class="source">
419 <div class="js">$('#example-17-content').hide();
420 $('#example17').bt({
421 positions: 'top',
422 contentSelector: "$('#example-17-content')", /*hidden div*/
423 trigger: 'click',
424 width: 220,
425 centerPointX: .9,
426 spikeLength: 65,
427 spikeGirth: 40,
428 padding: 15,
429 cornerRadius: 25,
430 fill: '#FFF',
431 strokeStyle: '#ABABAB',
432 strokeWidth: 1
433 });</div>
434 </div>
435 </div>
436 </div>
437
438
439 <div class="example" id="facebook">
440 <h3>Facebook style</h3>
441 <div class="ie-fix"><div type="text" id="example12" class="target" title="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim. Suspendisse id velit vitae ligula volutpat condimentum. Aliquam erat volutpat. Sed quis velit. Nulla facilisi. Nulla libero.">hover</div></div>
442 <div class="desc">
443 <p>Facebook-style.</p>
444 <div class="source">
445 <div class="js">$('#example12').bt({
446 fill: '#F7F7F7',
447 strokeStyle: '#B7B7B7',
448 spikeLength: 10,
449 spikeGirth: 10,
450 padding: 8,
451 cornerRadius: 0,
452 cssStyles: {
453 fontFamily: '"lucida grande",tahoma,verdana,arial,sans-serif',
454 fontSize: '11px'
455 }
456 });</div>
457 </div>
458 </div>
459 </div>
460
461
462
463 </div> <!-- /.examples -->
464
465 <div id="wrapup">
466 <h2>Options</h2>
467 <p>A full list of options can be found at the bottom of the <a href="../jquery.bt.js" type="text/plain">jquery.bt.js</a> file itself. Scroll to the bottom of the file to see the list of options along with their default values and a short descriptions of what each one does.</p>
468 <p>These defaults can be overridden during each call to the $.bt() function (as in the examples above) or they can be overridden globally for all BeautyTips on the page. For instance, to change the ajax loading content for all BeautyTips on the page, you could insert the following code into your document's &lt;head&gt; (somewhere after &lt;script src=&quot;jquery.bt.js&quot;...):<br />
469 <blockquote><code>&lt;script language="JavaScript"&gt;<br/>
470 jQuery.bt.defaults.ajaxLoading = '&lt;img src="/images/throbber.gif" width="40" height="40" /&gt;';<br />
471 jQuery.bt.defaults.closeWhenOthersOpen = true;<br />
472 &lt;/script&gt;</code></blockquote>
473 </p>
474 <h2>Wrapup</h2>
475 <p>Found bugs and/or want to contribute to development? Please use the <a href="http://plugins.jquery.com/project/issues/bt">issue queue on jQuery.com</a>.</p>
476 <p><strong>Twitter</strong>: I tend to post about BeautyTips development on Twitter, so <a href="http://twitter.com/jjeff">follow me</a> if you'd like to keep up with the latest news.</p>
477 <p><strong>IRC</strong>: I also tend to hang out in the <a href="irc://irc.freenode.net/%23jquery">#jQuery IRC room</a> (username: jjeff). If you've got quick questions about BeautyTips, try to find me there.</p>
478 <p>It's always encouraging to hear from people using BeautyTips for cool and/or notable things. Just send a note to <script type="text/javascript"><!--
479 document.write('<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;'+'&#106;&#101;&#102;&#102;@'+'&#108;&#117;&#108;&#108;&#97;&#98;&#111;&#116;&#46;&#99;&#111;&#109;&#63;&#115;&#117;&#98;&#106;&#101;&#99;&#116;&#61;&#73;&#32;&#76;&#111;&#118;&#101;&#32;&#66;&#101;&#97;&#117;&#116;&#121;&#84;&#105;&#112;&#115;'+'">'+'&#106;&#101;&#102;&#102;&#64;&#108;&#117;&#108;&#108;&#97;&#98;&#111;&#116;&#46;&#99;&#111;&#109;'+'</a>');
480 //-->
481 </script>. I'd love to hear from you. <small>Please do not email me with support requests. Those should go to the <a href="http://plugins.jquery.com/project/issues/bt">issue queue</a>.</small></p>
482
483 <p>- Jeff Robbins</p>
484 </div>
485
486 </body>
487 </html>