1

我有这个颜色框代码,但我不确定这是否是最好的方法。我有另一个应用程序因此无法正常工作。所以我认为,下面的代码可能有问题。你看到问题了吗?谢谢。

var $bootSelectPopup = $('#wraper-boot-select-structures-popup');
            $('#bootstrap-grid-popup').on("click", function(e){
            $bootSelectPopup.show();
            e.preventDefault();                
            $(function(){
            $.colorbox({
                href: $bootSelectPopup,
                transition: 'fade',
                speed: 150,
                fadeOut : 0,
                inline: true,                    
                close : 'x',
                onClosed: function() {
                    $bootSelectPopup.hide();                    
                }

            });

        });
        });
4

0 回答 0