Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<li>'s often don't get set to visible #177

Open
s1h4d0w opened this issue May 1, 2014 · 1 comment
Open

<li>'s often don't get set to visible #177

s1h4d0w opened this issue May 1, 2014 · 1 comment

Comments

@s1h4d0w
Copy link

s1h4d0w commented May 1, 2014

I have implemented this slider on a website, but when I reload the page by pressing F5 about 1 out of 5 times the slider just doesn't show up. If I then wait for 7 seconds (the time it takes to go to the next slide) it does show up.

I've already removed the "display: none;" from ul.bjqs hoping that would fix it, but the same happens on the li's. Seems like the javascript fails to change the inline style of the first slide. At first I thought it might be a problem with the random start slide but after disabling that it still happens.

See below, both list items have "display: none;". Is there a quick or temporary fix for this?

Live example: http://www.reincarnationgame.com/one/

2014-05-01 12_08_59-home - onsplatform tv - nightly

@s1h4d0w
Copy link
Author

s1h4d0w commented May 21, 2014

I have kind of fixed this by adding a style="display:list-item;" to the first list item (inline css). This way the first slide will always show and after your set time it will continue to the next slide. Of course doing this will not allow you to use the random start option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant