English 中文(简体)
如何打破幻灯 争取从底层(金)滑坡
原标题:How to get slideToggle to slide from the bottom (jQuery)

This is kinda hard to explain since english isnt my main language so i think it would be easier if you d take a look at the site im working on first and then I ll explain what I want to do. Here s the adress: http://ngmat.site90.net/matsedel/ (the site loads slow because the hosting service has implemented a visitor counting service which takes ages to load (doesn t really affect the site itself though).

任何途径,我想要做的是,当你在底层发布“Kamera”纽芬兰语时,我想背景Curtain div要从底线上lide倒。 这很简单,但我可以说明如何这样做。

如果你想把四舍五入向上,你第一次点击(利用幻灯托)的话,那么,我会说,我很新,但我迄今所看到的一点是,你需要打上“底层:0;”。 因此,我认为,除了底部(原产地:35px)外,还设计了“底部:0”在背景Curtain div上。 这应使其第一次被点击上滑坡?

最佳回答

排除摄像机“Toggle”功能,将背景特性Curtain上层的不动产与上页的高度相同,然后添加这一代码。

$("#camera").on( click , function(){
    $("#backgroundCurtain").animate({top:  toggle }, 1000);
});
问题回答

确实,你没有必要把网站的所有内容(如果我正确理解这一点的话)与这个幕子联系起来。 你们需要的是对此有一个独立要素,具有绝对立场,将底层财产的价值留给35px。 你们可以找到这种功能的样本:

http://atomicrobot Design.com/blog/web-development/configure-jquerys-slidetoggle-to-slide-up- from-the-bot/

see;

rel=“nofollow” http://atomicrobot Design.com/blog_media/toggleslide_multiple.html

仅点击点和内容链接





相关问题
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: &...

热门标签