Hallo
Ich habe folgendes Problem. Und zwar habe ich YAG eingebunden mit den jQuery Themes. Wenn ich jetzt ein Anzeige mache und ich schau mir die Seite an bekomme ich immer nur den Code ausgegeben.
<script type="text/javascript"> var thisHash = window.location.hash; $(document).ready(function() { var fancyBoxParam = { "margin":10,"padding":0,"opacity":0,"modal":0,"cyclic":1,"scrolling":"auto","hideOnOverlayClick":1,"hideOnContentClick":0,"overlayShow":1,"overlayOpacity":0.8,"overlayColor":"#000","transitionIn":"elastic","transitionOut":"elastic","titlePosition":"over","autoScale":1,"titleShow":1,"speedIn":300,"speedOut":300,"changeFade":"fast","easingIn":"swing","easingOut":"swing","showCloseButton":1,"showNavArrows":1,"enableEscapeButton":1, 'titleFormat': function(title, currentArray, currentIndex, currentOpts) { return ''+ (title.length ? '' + title : '') + 'Image ' + (currentIndex + 1) + ' of ' + currentArray.length + ''; }, 'onComplete': function() { $("#fancybox-title").hide(); $("#fancybox-wrap").hover(function() { $("#fancybox-title").fadeIn("fast"); }, function() { $("#fancybox-title").fadeOut("fast"); }); } }; if(thisHash && thisHash.substring(0, 5) == '#yag_') { $(thisHash).fancybox(fancyBoxParam).trigger('click'); } $("a.fancybox").fancybox(fancyBoxParam); }); </script>
Kann mir da wer helfen warum das so ist oder was ich noch dazu einbinden muss?
Danke
Hi,
die jQuery-Library ist eingebunden oder?
Gibt es JavaScript-Fehler auf der Seite?
Lg
ja ich denke schon das es eingebunden ist
Das ist der head bereich
<link rel="stylesheet" type="text/css" href="typo3conf/ext/yag/Resources/Public/Js/JQuery/Fancybox/jquery.fancybox-1.3.4.css?1387785064" media="all">
<link rel="stylesheet" type="text/css" href="typo3conf/ext/yag/Resources/Public/CSS/Fancybox.css?1387785052" media="all">
<link rel="stylesheet" type="text/css" href="typo3conf/ext/yag_themepack_jquery/Resources/Public/CSS/Isotope.css?1387526781" media="all">
<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_09d0da8d0b.css?1387653848" media="all">
<link rel="stylesheet" type="text/css" href="fileadmin/templates/css/myLayout.css?1387520420" media="screen">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script src="typo3conf/ext/yag/Resources/Public/Js/JQuery/jquery-1.8.3.min.js?1387785062" type="text/javascript"></script>
<script src="typo3conf/ext/yag/Resources/Public/Js/JQuery/Fancybox/jquery.fancybox-1.3.4.pack.js?1387785064" type="text/javascript"></script>
<script src="typo3conf/ext/yag/Resources/Public/Js/JQuery/Fancybox/jquery.mousewheel-3.0.4.pack.js?1387785064" type="text/javascript"></script>
<script src="typo3conf/ext/yag/Resources/Public/Js/JQuery/Fancybox/jquery.easing-1.3.pack.js?1387785064" type="text/javascript"></script>
<script src="typo3conf/ext/yag_themepack_jquery/Resources/Public/GallerySource/Isotope/jquery.isotope.min.js?1387526782" type="text/javascript"></script>
<script src="fileadmin/templates/js/modernizr.js?1375183823" type="text/javascript"></script>
<script src="fileadmin/templates/js/response.js" type="text/javascript"></script>
<script src="fileadmin/templates/js/prefixfree.min.js?1375183824" type="text/javascript"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" type="text/css" media="all" />
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" /><link rel="stylesheet" href="typo3conf/ext/perfectlightbox/res/css/slightbox.css" type="text/css" media="screen,projection" /><script type="text/javascript" src="typo3conf/ext/perfectlightbox/res/js/slimbox.2.0.4.yui.js"></script><script type="text/javascript">
SlimboxOptions.resizeSpeed = 400;
SlimboxOptions.overlayOpacity = 0.8;
SlimboxOptions.loop = true;
SlimboxOptions.allowSave = false;
SlimboxOptions.slideshowAutoplay = false;
SlimboxOptions.slideshowInterval = 5000;
SlimboxOptions.slideshowAutoclose = true;
SlimboxOptions.counterText = 'Image ###x### of ###y###';</script>
</head>
hat keiner eine Idee?
Danke