[TYPO3-german] PerfectLightbox mit Superfish-Menu funktioniert leider nicht - Wer kann helfen?

Michael Ludwig michaellud at googlemail.com
Mon Jul 12 21:52:54 CEST 2010


Hallo Leute,

ich habe gerade das Problem, dass diese beiden nicht miteinander wollen:

- SuperFish Menu [v1.4.8] (http://users.tpg.com.au/j_birch/plugins/superfish/
- PerfectLightbox [v3.0.3]
(http://typo3.org/extensions/repository/view/perfectlightbox/current/)

Das SuperFish Menu war vorher bereits eingebunden und durchgetestet.
Funktionierte auch soweit prima, bis ich auf die Idee kam, die
Perf.Lightb. einzubauen.
Deaktiviere die Perf.Lightb., ist alles wieder im Lot...


Die Firefox-Fehlerkonsole bringt folgendes:

============================
$("el.sf-menu") is null
http://this.addre.ss/                      Zeile: 56
============================



HTML-Code (bis zum body-tag) ohne PerfectLightbox:

============================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE" lang="de-DE">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<base href="http://this.addre.ss/" />
<link rel="shortcut icon" href="http://this.addre.ss/" />
<link rel="icon" href="http://this.addre.ss/" />
<title>Internetseite</title>
<meta name="generator" content="TYPO3 4.4 CMS" />
<meta name="language" content="de" />
<meta name="author" content="Autor" />
<meta name="description" content="Description" />

<meta name="keywords" content="KEYWORDS" />
<meta name="email" content="MAILADRESSE" />
<meta name="robots" content="index,follow" />
<meta name="copyright" content="COPYRIGHT" />

<link rel="stylesheet" type="text/css"
href="typo3temp/stylesheet_8519df12fd.css?1278957151" media="all" />
<link rel="stylesheet" type="text/css"
href="fileadmin/www/css/layout_2col_right_13.css?1278959978"
media="all" />

<script src="typo3temp/javascript_0b12553063.js?1278957151"
type="text/javascript"></script>
<script type="text/javascript">
/*<![CDATA[*/
<!--
/*TS_inlineJSint*/

// -->
/*]]>*/
</script>

<!--[if IE]><link
href="fileadmin/www/css/patches/patch_2col_right_13.css"
rel="stylesheet" type="text/css" /><![endif] -->
        <link rel="stylesheet" type="text/css"
href="fileadmin/www/css/my_superfish/superfish.css" media="screen" />

        <script type="text/javascript"
src="fileadmin/www/js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript"
src="fileadmin/www/js/superfish.js"></script>
        <script type="text/javascript"
src="fileadmin/www/js/hoverIntent.js"></script>
        <script type="text/javascript"
src="fileadmin/www/js/supersubs.js"></script>

        <script type="text/javascript">

           $(document).ready(function() {
              $('ul.sf-menu').superfish();
           });

        </script>

</head>
<body>
============================





HTML-Code (bis zum body-tag) mit PerfectLightbox:

============================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE" lang="de-DE">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<base href="http://this.addre.ss/" />
<link rel="shortcut icon" href="http://this.addre.ss/" />
<link rel="icon" href="http://this.addre.ss/" />
<title>Internetseite</title>
<meta name="generator" content="TYPO3 4.4 CMS" />
<meta name="language" content="de" />
<meta name="author" content="Autor" />
<meta name="description" content="Description" />

<meta name="keywords" content="KEYWORDS" />
<meta name="email" content="MAILADRESSE" />
<meta name="robots" content="index,follow" />
<meta name="copyright" content="COPYRIGHT" />

<link rel="stylesheet" type="text/css"
href="typo3temp/stylesheet_8519df12fd.css?1278957151" media="all" />
<link rel="stylesheet" type="text/css"
href="fileadmin/www/css/layout_2col_right_13.css?1278959978"
media="all" />



<script src="typo3temp/javascript_0b12553063.js?1278957151"
type="text/javascript"></script>
<script type="text/javascript">
/*<![CDATA[*/
<!--
/*TS_inlineJSint*/

// -->
/*]]>*/
</script>

<!--[if IE]><link
href="fileadmin/www/css/patches/patch_2col_right_13.css"
rel="stylesheet" type="text/css" /><![endif] -->
        <link rel="stylesheet" type="text/css"
href="fileadmin/www/css/my_superfish/superfish.css" media="screen" />

        <script type="text/javascript"
src="fileadmin/www/js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript"
src="fileadmin/www/js/superfish.js"></script>
        <script type="text/javascript"
src="fileadmin/www/js/hoverIntent.js"></script>
        <script type="text/javascript"
src="fileadmin/www/js/supersubs.js"></script>

        <script type="text/javascript">

           $(document).ready(function() {
              $('ul.sf-menu').superfish();
           });

        </script>
<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/prototype.1.6.1.yui.js"></script>

<script type="text/javascript"
src="typo3conf/ext/perfectlightbox/res/js/scriptaculous.js?load=effects,builder"></script><script
type="text/javascript"
src="typo3conf/ext/perfectlightbox/res/js/lightbox.2.0.4.yui.js"></script><script
type="text/javascript">
	LightboxOptions.borderSize = 10;
	LightboxOptions.resizeSpeed = 400;
	LightboxOptions.overlayOpacity = 0.8;
	LightboxOptions.loop = true;
	LightboxOptions.allowSave = false;
	LightboxOptions.slideshowAutoplay = false;
	LightboxOptions.slideshowInterval = 5000;
	LightboxOptions.slideshowAutoclose = true;
	LightboxOptions.labelImage = 'Bild';
	LightboxOptions.labelOf = 'von';</script>

</head>
<body>
============================




Da ich erst das Menü in Verdacht hatte (weil das Ding ja nicht mehr
funktionierte), habe ich es nochmal komplett neu eingebaut. Alles
frisch von der Seite geladen, das gesamte CSS neu angepasst und alle
Dateien (jQuery usw.) erneuert.
Das brachte leider keinen Erfolg. Beim weitersuchen ist dann das
Augenmerk auf die PerfectLightbox gefallen.

Wer weiss Rat, wer kann helfen??
Die PerfectLightbox kommt doch sogar schon ohne XCLASSES aus, daher
sollte doch sowas hier eigentlich gar nicht vorkommen??
Kann ich vielleicht irgendwo anders besser Fragen??

Na, ich versuche es erst mal hier mit meiner Frage, bisher habe ich
von Euch immer noch die besten Antworten erhalten. :-)

Liebe Grüsse,
Michael


More information about the TYPO3-german mailing list