Giter Club home page Giter Club logo

waterfall's People

Contributors

avacariu avatar bingdian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

waterfall's Issues

關於區塊問題

我想請問關於區塊問題
我目前把此套件套用於手機上是可以正常運行的
但我遇到一個小小的問題
就是設計把div區塊設計好後(圖片把畫面填滿),但是如果設定itemCls對應名稱,發現ajax會經過此套件而做縮放而無法填滿,想請教大大指點方向

can I add a click event to the img element?

The js template is:

 {{#result}}
           <div class="item">
                <img class="thumbs" src="{{image}}" width="{{width}}" height="{{height}}" />
            </div>
{{/result}}

And I'm try to add a click event to the img element, part of my code is as following:

$(".thumbs").click(function(){
        alert('click');
 });

But, unfortunately, it doesn't work. I'm not good at js and can someone help me? thanks.

When 'path' is left undefined, resizing doesn't work

When 'path' parameter is not defined, the resizing of browser window doesn't work. For example if the number of <div id="item"></div> blocks are static and no loading of extra content is required.

It's an edge case, and can be fixed by specifying an empty function or an empty Array [] for 'path'.

Need to add fadeIn effects only for new append item

Hi,
Need to add fadein effect only for newly appended items, but if i set isFadeIn to true, all items in the page got fadein effect.

$('#append').bind('click', function() {
$('#container').waterfall('append', $(content), function() {
alert('appended');
});
});

Thanks.

Use the plugin without json

Hello!

How to use the plugin without json?

I have a list that returns data with php.

Is to use the plugin without data .json?

Thanks!

Two Waterfall container on one page

Hi,

I try to make 2 waterfall container on one page by using two different id.
e.g.
<div id="container1"></div>
<div id="container2"></div>

but after loaded the page, one of the container seems not showing the grid properly.

Does the library support two waterfall div on one page?
or i missed something?

Also, how can i use two different template of handlebars?
Seems the library only look for the id "waterfall-tpl" ?

Finite scroll navigation

There seems to be no difference between the infinite scroll and finite scroll page in the demo. Clicking on the navigation links seems to just reload the same page rather than page 2, 3, 4 etc. Am I missing how this is supposed to work?

Chrome Crashes After around 10 Updates

On a page with around 1000 images, the infinite scroll crashes the browser.

Perhaps there should be an option to remove the higher images after a certain point.

Flicker API needs SSL

demos/jsonp.html is not working because api.flicker.com now requires https access.

H-Scrollbar

页面上为啥始终有个H-Scrollbar呢?

virtual scrolling

can it attach/detach off-screen element when scrolling up/down in order to improve performance?

callbacks 中的 renderData 无效

renderData 的作用时间应该是在从path中得到地址,请求得到数据之后,在render之前吧?
现在重写callbacks的renderData发现无效,最终render出来的data还是从path中请求得到的,没有变化。

Not work in Jquery Mobile!

waterfall.js is not work when I put script near jQuery Mobile script,
but I drop jQuery Mobile script then waterfall.js is working normal.

Destroy object and add new

HI, First of all nice plugin. I am using this in my application that include filters as well.
like I need to change the images by filtering them.

Problem: I am unable to destroy waterfall object and remake a new one.

Please help.

Regards
Muddassir

Callback to include a lightbox function

I am including a lightbox function in an image gallery using waterfall and I was wondering what the best callback to use might be? Right now it works using the following code, although the lighboxes numbering system for the images is wacky!

callbacks: {
    loadingStart: function($loading) {
            $loading.show();
             $.jackBox.available(function() {
        $("a.jackbox[data-group]").each(function() {
            $(this).jackBox("newItem");
        });
    });
        }

Would another callback be more efficient to use for something like this?

Also, I noticed on your demo of methods, the reLayout method is not active or working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.