ilch Forum » Ilch Clan 1.1 » Fehlersuche und Probleme » Fancybox will nicht laufen...

Geschlossen
  1. #31
    User Pic
    Lord|Schirmer Administrator
    Registriert seit
    21.03.2007
    Beiträge
    7.680
    Beitragswertungen
    1216 Beitragspunkte
    Ja Jquery ist nur einmal am Anfang nötig!
    So ich habe mal versucht deine index.htm etwas von Fehlern zu befreien ... leider ist da viele nicht konform und die Tabellen etwas schwer zu überblicken! Der Header sollte aber jetzt passen!

    <!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" lang="en" xml:lang="en">
    
    <!-- Header -->
    <head>
    <title>Schlagerkeller</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    <!-- CSS -->
    <link rel="stylesheet" type="text/css" href="include/designs/DDv6/style.css" />
    
    <!-- JQuery -->
    <script type="text/javascript" src="include/includes/jquery/jquery-1.4.3.min.js"></script>
    
    <!-- Fancybox -->
    <script type="text/javascript" src="include/includes/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
    <script type="text/javascript" src="include/includes/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" type="text/css" href="include/includes/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
       
            /* Funktion einzelnes Foto nach ID */
            $("a#fancy_single").fancybox({
            'transitionIn': 'elastic',
            'transitionOut': 'elastic'
            });
           
            /* Funktion Galerie nach Relation-Attribut */
            $("a[rel=fancy_group]").fancybox({
            'transitionIn': 'elastic',
            'transitionOut': 'elastic',
            'titlePosition' : 'over',
            'titleFormat': function(title, currentArray, currentIndex, currentOpts) {
                return '<span id="fancybox-title-over">Foto ' + (currentIndex + 1) + ' von '
                + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
                }
            });
           
        });
    </script>
    
    <!-- Slider -->
    <script type="text/javascript" src="include/designs/DDv6/easySlider1.5.js"></script>
    <script language="javascript" type="text/javascript">
    	$(document).ready(function(){   
    		$("#slider").easySlider({
    			auto: true,
    			continuous: true 
    		});
    	}); 
    </script>
    
    <!-- Animierter Titel -->
    <script language="javascript" type="text/javascript">
    	var tx = new Array ("Schlagerkeller Dresden", "Schlager, Discofox, Oldies, Pop", "Wir machen die Musik!!"); 
    	var txcount=3; 
    	var i=1; 
    	var wo=0; 
    	var ud=1; 
    	function animatetitle() { 
    		window.document.title=tx[wo].substr(0, i)+" "; 
    		if (ud==0) i--; 
    		if (ud==1) i++; 
    		if (i==-1) {ud=1;i=0;wo++;wo=wo%txcount;} 
    		if (i==tx[wo].length+10) {ud=0;i=tx[wo].length;} 
    		// if (window.document.title.length < 20 ) window.document.title=window.document.title+"-"; 
    		// if (window.document.title.length == 20 ) window.document.title=window.document.title+"]"; 
    		// if (window.document.title.length == 21 ) setTimeout("window.document.title='Animierte Seitentitel '; ",1000); 
    		parent.window.document.title=tx[wo].substr(0, i)+" "; 
    		setTimeout("animatetitle()",100); 
    	} 
    </script>
    
    <!-- Smooth Menu -->
    <link rel="stylesheet" type="text/css" href="include/designs/DDv6/ddsmoothmenu.css" />
    <link rel="stylesheet" type="text/css" href="include/designs/DDv6/ddsmoothmenu-v.css" />
    <script type="text/javascript" src="include/designs/DDv6/ddsmoothmenu.js">
    /***********************************************
    * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    </script>
    <script language="javascript" type="text/javascript">
    ddsmoothmenu.init({
        mainmenuid: "smoothmenu1", //menu DIV id
        orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
        classname: 'ddsmoothmenu', //class added to menu's outer DIV
        //customtheme: ["#1c5a80", "#18374a"],
        contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
    })
    ddsmoothmenu.init({
        mainmenuid: "smoothmenu2", //Menu DIV id
        orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
        classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
        //customtheme: ["#804000", "#482400"],
        contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
    })
    </script>
    
    <script language="javascript" type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    </head>
    <!-- Ende Header -->
    
    <!-- Start Body -->
    <body onload="animatetitle()">
    
    <table width="1095" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="226" background="include/designs/DDv6/images/DDv6_01.png">&nbsp;</td>
      </tr>
      <tr>
        <td><table width="1095" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="358" height="45" background="include/designs/DDv6/images/DDv6_02.png"></td>
        <td>
          <div id="smoothmenu1" class="ddsmoothmenu">
            <ul>
              <li class="float"><a href="#"  class="info"></a>
                <ul>
                  <li><a href="index.php?news" class="dropdown"><font color="#c0c0c0">News</font></a></li>
                  <li><a href="index.php?rules" class="dropdown"><font color="#c0c0c0">Regeln</font></a></li>
                  <li><a href="index.php?vote" class="dropdown"><font color="#c0c0c0">Votes</font></a></li>
                  <li><a href="index.php?awards" class="dropdown"><font color="#c0c0c0">Awards</font></a></li>
                  <li><a href="index.php?statistik" class="dropdown"><font color="#c0c0c0">Statistiken</font></a></li>
                </ul>
              </li>
              <li class="float"><a href="#"  class="gaming"></a>
                <ul>
                  <li><a href="index.php?user" class="dropdown"><font color="#c0c0c0">Mitglieder</font></a></li>
                  <li><a href="index.php?teams" class="dropdown"><font color="#c0c0c0">Unser Team</font></a></li>
                  <li><a href="index.php?gallery" class="dropdown"><font color="#c0c0c0">Foto Gallerie</font></a></li>
                  <li><a href="index.php?awaycal" class="dropdown"><font color="#c0c0c0">Abwesenheit</font></a></li>
                  <li><a href="index.php?contact" class="dropdown"><font color="#c0c0c0">Kontakt</font></a></li>
                  <li><a href="index.php?impressum" class="dropdown"><font color="#c0c0c0">Impressum</font></a></li>
                </ul>
              </li>
              <li class="float"><a href="#"  class="comm"></a>
                <ul>
                  <li><a href="index.php?search" class="dropdown"><font color="#c0c0c0">Suche</font></a></li>
                  <li><a href="index.php?forum" class="dropdown"><font color="#c0c0c0">Forum</font></a></li>
                  <li><a href="index.php?gbook" class="dropdown"><font color="#c0c0c0">Gästebuch</font></a></li>
                  <li><a href="index.php?joinus" class="dropdown"><font color="#c0c0c0">Bewirb dich</font></a></li>
                  <li><a href="index.php?history" class="dropdown"><font color="#c0c0c0">&Uuml;ber Uns</font></a></li>
                </ul>
              </li>
              <li class="float"><a href="#"  class="misc">&nbsp;</a>
                <ul>
                  <li><a href="index.php?kalender" class="dropdown"><font color="#c0c0c0">Kalender</font></a></li>
                  <li><a href="index.php?linkus" class="dropdown"><font color="#c0c0c0">Verlink uns</font></a></li>
                  <li><a href="index.php?links" class="dropdown"><font color="#c0c0c0">Links</font></a></li>
                  <li><a href="index.php?downloads" class="dropdown"><font color="#c0c0c0">Downloads</font></a></li>
                </ul>
              </li>
            </ul>
          </div>
        </td>
        <td width="130" height="45" background="include/designs/DDv6/images/DDv6_07.png"></td>
      </tr>
      <tr>
        <td height="28" background="include/designs/DDv6/images/DDv6_08.png">&nbsp;</td>
      </tr>
      <tr>
        <td background="include/designs/DDv6/images/DDv6_bgc.png">
          <table width="1095" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="254" height="310" align="left" valign="top">
              {_list_menunr1@
                <table width="254" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="22" height="42">&nbsp;</td>
                    <td width="232" height="42" align="center" valign="bottom" background="include/designs/DDv6/images/DDv6_10.png">
                      <table width="232" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="45" height="42">&nbsp;</td>
                          <td align="left" valign="middle"><span class="btitle">%1</span></td>
                          <td width="20">&nbsp;</td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                  <tr>
                    <td width="22">&nbsp;</td>
                    <td width="232" background="include/designs/DDv6/images/DDv6_15.png">
                      <table width="232" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="10">&nbsp;</td>
                          <td width="212" align="left" valign="top">%2</td>
                          <td width="10">&nbsp;</td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                  <tr>
                    <td width="22" height="11"></td>
                    <td width="232" height="11" align="center" valign="top"><img src="include/designs/DDv6/images/DDv6_18.png" width="232" height="11" /></td>
                  </tr>
                </table>}
              </td>
              <td width="799" rowspan="2" align="left" valign="top" background="include/designs/DDv6/images/DDv6_22.png">
                <table width="820" border="0" align="right" cellpadding="0" cellspacing="0">
                  <tr>
                    <td align="left" valign="top">
                      <table width="820" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="492" height="134" align="left" valign="top" background="include/designs/DDv6/images/DDv6_11.png">
                            <table width="492" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="8" height="134">&nbsp;</td>
                                <td height="134" align="left" valign="middle">
                                  <div id="slider">
                                    <ul>
                                      <li><a href="http://www.taxi-uwe.de"><img src="include/images/slider/pics/DDUweWerbung.jpg" alt="" border="0" /></a></li>
                                      <li><a href="http://www.radioallways.eu"><img src="include/images/slider/pics/radioallways.jpg" alt="" border="0" /></a></li>
                                      <li><a href="http://www.schlagerkeller.net"><img src="include/images/slider/pics/bannerstreet.gif" alt="" border="0" /></a></li>
                                      <li><a href="http://www.francocorleone.org"><img src="include/images/slider/pics/franco.jpg" alt="" border="0" /></a></li>
                                    </ul>
                                  </div>
                                </td>
                              </tr>
                            </table>
                          </td>
                          <td width="328" height="134" align="left" valign="top" background="include/designs/DDv6/images/DDv6_12.png">
                            <table width="328" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="20">&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td height="112" colspan="3" align="left" valign="top">
                                  <table width="328" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="10" height="114">&nbsp;</td>
                                      <td align="left" valign="top"><span class="lastforum">{_boxes_lastforum}</span></td>
                                      <td width="10">&nbsp;</td>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" background="include/designs/DDv6/images/DDv6_22.png">
                      <table width="820" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="41" align="left" valign="middle" background="include/designs/DDv6/images/DDv6_16.png">
                            <table width="820" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="50"></td>
                                <td>{HMENU}</td>
                                <td width="50"></td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                        <tr>
                          <td>
                            <table width="820" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="10">&nbsp;</td>
                                <td><p>{EXPLODE}</p></td>
                                <td width="10">&nbsp;</td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
              </td>
              <td width="21" rowspan="2" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td height="155" align="left" valign="bottom">
                <table width="254" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="22">&nbsp;</td>
                    <td width="232" height="155"><img src="include/designs/DDv6/images/DDv6_24.png" width="232" height="155" border="0" usemap="#Map" /></td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <table width="1095" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="1095" height="63" background="include/designs/DDv6/images/DDv6_25.png"><font color="#f8f8ff">Style by: www.dragondesigns.de . Alle Inhalte dieser Seite sind Eigentum von www.schlagerkeller.net</font> </td>
      </tr>
    </table>
     
    <map name="Map" id="Map"><area shape="rect" coords="5,4,227,150" href="" target="_blank" /></map>
    </body>
     
    </html>
    <!-- {_list_DDDmenupoint@<strong><big>&middot;</big></strong><a %1 class="box" href="%2">%3</a><br />}
    {_list_hmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br />|</ul></li>}
    {_list_hmenubegi@<ul>}
    {_list_hmenuende@</ul>}
    {_list_vmenupoint@<a target="%1" class="menu" href="%2">%3</a>}
    {_list_vmenubegi@}
    {_list_vmenuende@}//-->
    rules :: doku :: faq :: linkus
    0 Mitglieder finden den Beitrag gut.
  2. #32
    User Pic
    deejay2302 Mitglied
    Registriert seit
    29.01.2008
    Beiträge
    205
    Beitragswertungen
    0 Beitragspunkte
    Danke für die Arbeit, aber die index.htm ist nicht korrekt. Der Header hängt irgendwo rechts mitsamt der Menübuttons^^
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Fehlersuche und Probleme

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten