English 中文(简体)
Fancy Box infinite loop - Cannot Read Propertyhref of un Defin
原标题:Fancybox infinite loop - Cannot read property href of undefined

我试图通过虚拟箱的行为在我的现场添加一个灯塔,但在点击即将用FF或Accent打光的图像后,与一个联合材料简介员一道检查,我发现这一错误:

<编码> 不得读取未经界定的的财产。

然而,图像却被装上,尽管有时浏览器被关闭或坠毁时有ug,但这些电话数量有限,而且超文本源代码中的图像也重新出现。

这是我的超文本。

<div class="below_shadow" style="top: 0px;">
    <a class="portfolio_link" href="http://mywebsite.com/images/DSC_0258-794x1024.jpg">
    <img class="frame" alt="" src="http://mywebsite.com/images/DSC_0258-794x1024.jpg&amp;h=131&amp;w=180&amp;zc=1" style="top: 0px;">
    </a>
    <span style="display: none;" class="portfolio4_hover">
        <a style="top: 0px; " class="portfolio_image" href="javascript:;">
            <img alt="" src="http://mywebsite.com/images/icon_zoom.png">
        </a>
    </span>
</div>

我在联合材料部分呼吁:

jQuery(window).load(function() {
jQuery( .below_shadow a.portfolio_link ).fancybox({ 
    padding: 0,
    overlayColor:  #000 , 
    transitionIn:  elastic ,
    transitionOut:  elastic , 
    overlayOpacity: .8,
    showNavArrows: true
});
});
问题回答

租赁箱粉碎与同步或称呼图像资源。 当图像被点击时,透明地将大形象加标题。 在某些不知名的情况下,标题并不总是装满,这给系统带来了ug。

即便您的封顶和图像确实具有“称号”特性,但似乎有一些ancy子,导致这种内乱和漏水,不能适当地通过所有权论点。

我发现这一错误——在评估该法典时,就叫作无限的 lo:

jQuery(this).find( .portfolio4_hover ).show();

令人高兴的是,原因何在。 如果我这样说(而且下面是一条暗指线),所有事情都是正确的。





相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签