JQueryTools Usage?
Posted: Thu Aug 27, 2009 1:19 am
I was able to get FancyBox to work by adapting an example i found at Calguy1000's site:
That works fine, so why doesn't a similar thing work for ClueTips?
What is the benefit of using a module instead of including the library itself? I can usually puzzle these sorts of things out when there's documentation.
Code: Select all
{JQueryTools action=incjs}
{JQueryTools action=ready}
{literal}
<__script__ type="text/javascript">
jQuery(document).ready(function() {
jQuery('a.fancybox').fancybox({
'zoomSpeedIn': 300,
'zoomSpeedOut': 300,
'overlayShow': false
} );
});
</__script>
{/literal}
Code: Select all
<a class="subpage fancybox" href="index.php">Click me for FancyBox</a>
Code: Select all
{literal}
<__script__ type="text/javascript">
jQuery(document).ready(function() {
jQuery('a.jt:eq(2)').cluetip({
cluetipClass: 'jtip', arrows: true,
dropShadow: false,
height: '150px',
sticky: true,
positionBy: 'bottomTop'
});
});
</__script>
{/literal}
Code: Select all
<a class="jt" href="index.php" rel="index.php">Click me for ClueTip</a></p>