Giter Club home page Giter Club logo

Comments (12)

peduarte avatar peduarte commented on May 24, 2024

Hey,

Can you show me your markup and your javascript (how you're instantiating the plugin?)

Thanks!

from wallop.

wayferer avatar wayferer commented on May 24, 2024

Sure. I'm just calling it via:

var slider=new WallopSlider('.wallop-slider');

and html markup

<div class="wallop-slider wallop-slider--slide">
    <div>
        <ul class="wallop-slider__list">
            <li class="wallop-slider__item wallop-slider__item--current" style="background-image:url(resources/img/temp-gallery-large1.jpg);">
                <div class="captionContainer">
                    <div class="caption">
                    </div>
                </div>
            </li>
            <li class="wallop-slider__item wallop-slider__item" style="background-image:url(resources/img/temp-gallery-large2.jpg);">
                <div class="captionContainer">
                    <div class="caption">
                    </div>
                </div>
            </li>
            <li class="wallop-slider__item wallop-slider__item" style="background-image:url(resources/img/temp-gallery-large3.jpg);">
                <div class="captionContainer">
                    <div class="caption">
                    </div>
                </div>
            </li>
        </ul>
        <button class="wallop-slider__btn wallop-slider__btn--previous" disabled>Previous</button>
      <button class="wallop-slider__btn wallop-slider__btn--next">Next</button>
    </div>
</div>

from wallop.

wayferer avatar wayferer commented on May 24, 2024

Maybe this will help? http://stackoverflow.com/questions/19345392/why-arent-my-parameters-getting-passed-through-to-a-dispatched-event/19345563#19345563

from wallop.

peduarte avatar peduarte commented on May 24, 2024

Hey! Thanks.

I've been really busy and haven't had time to fix anything! :(

Can you do something for me?
Can you check this: http://www.pedroduarte.me/wallop-slider/custom-events.html
And see if your also get any errors when listening to custom events?

I am checking on Chrome 32 and Firefox 27 and it's fine.
Which browser are you suing and what version?

Thanks!

from wallop.

wayferer avatar wayferer commented on May 24, 2024

No worries at all. If you don't get a chance in the next few days, I'll have a go over the weekend. Right now I'm only getting the error in IE11 and it seems to be an IE thing (it's also ok here in Chrome and Firefox).

from wallop.

peduarte avatar peduarte commented on May 24, 2024

Hello,

This issue has been fixed and pushed.
I added a CustomEvent() pollyfill...

Damn IE!!!

:)

from wallop.

wayferer avatar wayferer commented on May 24, 2024

Awesome! Can I trouble you for the minified version?

from wallop.

peduarte avatar peduarte commented on May 24, 2024

I have decided to remove the minified version from here as I am not using Grunt or anything.

Next task is to clean up the repo, add Grunt, separate Demo folder, etc...

You can use a tool such as the one below to minify the code:
http://jscompress.com/

from wallop.

wayferer avatar wayferer commented on May 24, 2024

Ok cool. Thanks again.

from wallop.

wayferer avatar wayferer commented on May 24, 2024

So I have been doing some more testing and wanted to let you know that there are issues with IE8 (I don't test lower than that) with the CustomEvent(). The polyfill you added works great for IE9+. So my question is, are you wanting to support IE8?

from wallop.

peduarte avatar peduarte commented on May 24, 2024

Hey there,

Sorry, no IE8 support.

Should add that to the docs.

Thank you!

from wallop.

wayferer avatar wayferer commented on May 24, 2024

Ok thanks!

from wallop.

Related Issues (20)

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.