Tag Archive: jQuery

Easy Javascript ToolTips in WordPress

WordPress

A client needed a simple way to preserve real estate on the sidebar, but still have the ability to display their policies at a quick glance.  I found a plugin on the repository that uses the TipTip jquery script and condenses it down into a simple-to-use shortcode (complete with button on the editing screen). The plugin is called "WordPress Tooltip", and can be downloaded…

Continue Reading

Foursquare vs. Gowalla… annnnnd fight!

Tutorial, WordPress

<script type="text/javascript">function initMenus() {    $('ul#accordion li ul').hide();    $.each($('ul#accordion'), function(){        $('#' + this.id + '.expandfirst ul:first').show();    });    $('ul#accordion li h2.widgettitle').click(        function() {            var checkElement = $(this).next();            var parent = this.parentNode.parentNode.id;             if($('#' + parent).hasClass('noaccordion')) {                $(this).next().slideToggle('normal');                return false;            }            if((checkElement.is('ul')) && (checkElement.is(':visible'))) {                if($('#' + parent).hasClass('collapsible')) {                    $('#' + parent + ' ul:visible').slideUp('normal');                }                return false;            }            if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {                $('#' + parent +…

Continue Reading