Css 灯箱坏了

Css 灯箱坏了,css,lightbox,photo-gallery,Css,Lightbox,Photo Gallery,我有几个页面是由一个模板制作的,该模板的导航是用javascript的idTabs制作的 这就是我所拥有的: 然后在: 导航有两个链接:带文本的链接和带灯箱库的链接。 lightbox是Dreamweaver的一个小部件 <div id="navidtabs"> <ul class="idTabs"> <li><a href="#info">informatii</a></li> <li>&l

我有几个页面是由一个模板制作的,该模板的导航是用javascript的idTabs制作的

这就是我所拥有的:

然后在:

导航有两个链接:带文本的链接和带灯箱库的链接。 lightbox是Dreamweaver的一个小部件

<div id="navidtabs">
  <ul class="idTabs">
    <li><a href="#info">informatii</a></li>
    <li><a href="#pictures">poze</a></li>
  </ul>
</div>
不可思议的事情发生了:我将模板应用到一个新页面,进行修改,保存,加载到wamp服务器,在导航链接之间切换,测试lightbox,一切正常! 但是,例如,当我切换到另一个页面并返回时,lightbox崩溃了。 我可以看到这些图片,但当我点击它时,它会打开另一个页面,只显示图片

我忘了说我有第三个连接到导航中,一个从数据库检索数据的select命令。 整个文件是PHP


我能做些什么来保持灯箱效果?

控制台中有错误/通知/警告吗?你在说什么控制台?没有错误,没有警告。我正在使用firefox。你需要更多的代码吗?试着检查javascript控制台是否有脚本抛出的错误?我是一个乞丐,哪里可以找到javascript控制台?我强调一个事实,我已经调试了dreamweaver.10xCheckout JavaScript,它应该会给你一些关于如何在JavaScript代码中找到错误的提示。控制台中有错误/注意/警告吗?你在说什么控制台?没有错误,没有警告。我正在使用firefox。你需要更多的代码吗?试着检查javascript控制台是否有脚本抛出的错误?我是一个乞丐,哪里可以找到javascript控制台?我强调,我已经调试了dreamweaver.10xCheckout JavaScript,它应该为您提供一些如何在JavaScript代码中查找错误的指针。
<div id="poze">
  <div id="gallery" class="lbGallery">
    <ul>
      <li> <a href="images/lightboxdemo2.jpg" title=""><img src="images/lightboxdemo_thumb2.jpg" width="72" height="72" alt="Flower" /></a> </li>
      <li> <a href="images/lightboxdemo5.jpg" title=""><img src="images/lightboxdemo_thumb5.jpg" width="72" height="72" alt="Tree" /></a> </li>
    </ul>
  </div>
  <script type="text/javascript">


    // BeginOAWidget_Instance_2127022: #gallery
    $(function(){
        $('#gallery a').lightBox({ 
            imageLoading:           '/images/lightbox/lightbox-ico-loading.gif',        // (string) Path and the name of the loading icon
            imageBtnPrev:           '/images/lightbox/lightbox-btn-prev.gif',           // (string) Path and the name of the prev button image
            imageBtnNext:           '/images/lightbox/lightbox-btn-next.gif',           // (string) Path and the name of the next button image
            imageBtnClose:          '/images/lightbox/lightbox-btn-close.gif',      // (string) Path and the name of the close btn
            imageBlank:             '/images/lightbox/lightbox-blank.gif',          // (string) Path and the name of a blank image (one pixel)
            fixedNavigation:        false,      // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
            containerResizeSpeed:   400,             // Specify the resize duration of container image. These number are miliseconds. 400 is default.
            overlayBgColor:         "#999999",      // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
            overlayOpacity:         .6,     // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9
            txtImage:               'Image',                //Default text of image
            txtOf:                  'of'
        });
    });
    // EndOAWidget_Instance_2127022
  </script>
</div>
<div id="navidtabs">
  <ul class="idTabs">
    <li><a href="#info">informatii</a></li>
    <li><a href="#pictures">poze</a></li>
  </ul>
</div>