$('#btnAddr').tooltip({
            content: $('<div class="table"></div>'), //弹出收件地址
            showEvent: 'mouseover',
            onUpdate: function (cc) {
                cc.panel({
                    width: 650,
                    border: false,
                    href: '/Client/ClientAddressInfo?clientID=' + $("#ClientID").val()
                });
            },
            onShow: function () {
                var t = $(this);
                t.tooltip('tip').unbind().bind('mouseover', function () {
                    t.tooltip('show');
                }).bind('mouseleave', function () {
                    t.tooltip('hide');
                });
            }
        });
<a href="javascript:void(0)" class="btn"><span class="in">
                                        <input type="button" id="btnAddr" class=" easyui-tooltip" style="width: 80px" value="地址管理" /></span></a>

效果图:

posted on 2014-08-04 18:10  王洪洪  阅读(1258)  评论(0编辑  收藏  举报