Fancybox显示点击

时间:2014-03-24 09:48:00

标签: fancybox

我最近得到了一份工作机会,我正在使用的网站使用fancybox,但是当我点击照片库时,没有任何显示。网址显示重定向但没有发生任何事情。该网站是caprice.gr。

@RenderBody()

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>        !window.jQuery && document.write(unescape('%3Cscript src="/scripts/libs/jquery-1.7.1.min.js"%3E%3C/script%3E'))</script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script>        !window.jQuery.ui && document.write(unescape('%3Cscript src="/scripts/libs/jquery-ui.min.js"%3E%3C/script%3E'))</script>
<script src="/scripts/libs/jquery.fancybox.pack.js" type="text/javascript"></script>
<script src="/scripts/jquery.mousewheel.js" type="text/javascript"></script>
<script src="/scripts/jquery.easing.js" type="text/javascript"></script>
<script src="/scripts/jquery-extend.js" type="text/javascript"></script>
<script src="/scripts/jquery.ba-hashchange.min.js" type="text/javascript"></script>
<script src="/scripts/libs/mediaplayer-5.10/jwplayer.js" type="text/javascript"></script>

<script type="text/javascript">
        /*$(window).load(function () {
            if (typeof (FB) != 'undefined' && FB != null) {
                FB.XFBML.parse($('#facebook-comments').get(0));
            }
        });*/
        $(function(){
            $(document).on('contextmenu','img, .fancybox-nav', function(e){
                e.preventDefault();
                alert('Copyright © 2012 Caprice of Mykonos.');
            }).on('dragstart','img', function(e){
                e.preventDefault();
            });
        });
</script>

@RenderSection("pageJS",False)

<script>
    var _gaq = _gaq||[];
    _gaq.push(['_setAccount', 'UA-35657817-1']);
    if (location.hash == '') {
        _gaq.push(['_trackPageview']);
    }
    (function (d, t) {
        var g = d.createElement(t), s = d.getElementsByTagName(t)[0]; g.async = 1;
        g.src = ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js';
        s.parentNode.insertBefore(g, s)
    } (document, 'script'));
</script>

0 个答案:

没有答案