Coder Social home page Coder Social logo

marktuk / blueberry Goto Github PK

View Code? Open in Web Editor NEW
171.0 14.0 57.0 136 KB

A jQuery image slider plugin written specifically for responsive web design.

Home Page: http://marktyrrell.com/labs/blueberry/

License: GNU General Public License v3.0

JavaScript 100.00%

blueberry's Introduction

jQuery Blueberry Slider v0.4 BETA
http://marktyrrell.com/labs/blueberry/

Blueberry is an experimental opensource jQuery image slider plugin which was been written specifically to work with fluid/responsive web layouts.

Copyright (C) 2011, Mark Tyrrell

---

Changelog:

v0.4	30-07-2011	Bug fixes and new features
	- Function added to automatically build the pager with an option to enable/disable
	- Bug fixed to allow multiple sliders on a single page
	- Keyboard navigation added (contrib. cbarnes0981)

v0.1	02-07-2011	Released under GPL v3

blueberry's People

Contributors

chrisbarnes avatar marktuk avatar sksmatt 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

blueberry's Issues

Page Jumps on Slide Change (Chrome, OS X)

When you have a slider at the top of the page and you're scrolled further down the page, the page jumps up slightly when the slide changes. I assume this is because the slider's height is 0 for an instance during the transition.

I've only noticed this issue in Chrome on OS X. It works perfectly on Firefox.

I'll fork to see if I can fix it.

Changing slide with pager during slide transition causes timing to break

If you click on a pager link to change slide, while the slider is currently transitioning to another slide, the timing gets broken.
It will start semi-skipping slides - e.g. as soon as arriving on slide 1, it will transition to slide 2, wait the regular amount of time, arrive on slide 3 and immediately transition to slide 4.

To reproduce the bug:

On a default install of the slider (the home page slider reproduces the bug)

  • Wait for the slider to begin transitioning from Slide 1 to Slide 2
  • As soon as the transition begins, click the pager link for Slide 3

The timing will now be broken, and the slider will begin to skip every second slide. (Well, it does not miss it completely, but it does not pause on the slide).

If you repeat those steps multiple times it seems to get even more broken - skipping whole slides etc.

Selecting the pagination options doesn't doesn't interrupt slide timer

One issue I've noticed is that using the pagination as a navigator doesn't reset the slide timing, for example

Slide time is set to 5 seconds, on the 3rd second I override by selecting another slide, instead of now staying for 5 seconds on that slide it only stays for 2 seconds before moving on.

I haven't got time right now but soon I will try to fix and let you know what I changed.

Thanks

Weird z-index issue in IE9

I suspect the problem I'm having is related somehow to z-index, but I'm not sure.
Using Chrome, please take a look at this website: http://develop-datasupriweb.vtexcommerce.com.br/

I'm using the blueberry slider in it. On top of the slider, I've absolutely positioned a DIV and set its z-index to a high number, 60. It works fine on Chrome. But on IE9, the DIV flickers whenever a transition happens. However, hovering the mouse over the area where the DIV should be correctly triggers the cursor change to "pointer".

I have no idea how to solve it and I'm positive it has something to do with the slider.

navigation to left error.

to avoid a crashing slider, replace line 169 in blueberry.js with:
next = current == 0 ? slides.length-1 : current-1;

Caption

add caption/title above or below image

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.