Helloo i want to know how to apply my fancybox only to one a tag and not all of my a tags, cause they get messed up. Is there someway to stop the code, so it doesn't mess up the rest of the a tags on the page. Or maybe set the fancybox to only work on one a tag id.
This is my fancybox script on the page:
$(document).ready(function() {
$("a.group").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : false,
});
});
This is my HTML code (probably irrelevant):
<a class="group" rel="group1" href="myimagepath">
答案 0 :(得分:0)
由于您没有提供可以检查您的问题(https://stackoverflow.com/help/mcve)并且脚本运行良好的实时演示,因此无法为您提供帮助。
我的猜测是您忘记添加结束标记Thread.sleep()