0

我正在使用灯箱进化脚本。我的问题是,当我加载隐藏的内联 html 时,jQuery 脚本无法处理它。例如工具提示脚本或验证脚本。这是网站和代码:

http://putuj.org/clickheat/index.php

如果您从中删除,id="login-container" display:none您将看到脚本应该如何在灯箱中工作,但它不是:(

4

1 回答 1

1

好吧,不如试试这个。

在脚本标签中写下这个

$('.lightbox').lightbox({
  'onOpen'  : function() { 
     // put your related tipsy code here
   }
});

希望这能解决您的问题。

于 2012-08-05T13:22:33.360 回答