Slider changes when I refresh page

http://dev2.magickitchen.com/jquery-logo-slider-ticker/  click on that link, and it will look like this page: http://www.webdesignandsuch.com/posts/jquery-logo-slider-ticker/index.html

But if you refresh the first page, it looks like this. The second page stays the same on refresh.
Untitled-1.jpg
Melody ScottAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Marco GasiFreelancerCommented:
What I saw is that refreshing the page make the slider increase the bx-wrapper width to 5536px and this is the cause of your issue.
I can't say why this happens: I should go deep in the plugin code, but adding this to your css shjould fix the issue:
.bx-wrapper {
  width:  840px !important;
}

Open in new window

Melody ScottAuthor Commented:
Thanks, I will try that on Monday, much appreciated!
Melody ScottAuthor Commented:
Hi, I added that to slider.css, and ensured that index.html is using slider.css. But I still have the same problem on refresh.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Marco GasiFreelancerCommented:
I'm very sorry, but I can't find the problem. I copied and past your whole page with css and pasted it into a new page in my server: http://www.webintenerife.com/testing_script/bx-slider.html
It's a bit larger than yours, and it works. Why? Don't know, really! A thing I see is that this version is not responsive: it seems to be the same bxslider you can fine here http://bxslider.com/ but yours has fixed width.
Maybe I can find a solution, but for the moment al I can say is that it's not a good practice link the lates jquery version: use the one you know works for that specific page. It's not important if it's not the latest version: a new versison could break a perfectly working code without giving you any other advantage.
Cheers

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dean OBrienCommented:
Hi Mel,

I have looked also and cant see any reason why it should appear differently when loaded compared to reloaded. Therefore i can only assume that the code is causing the change when handling the onload/onrefresh event. Taking a quick look at the code, there is a function:
		el.reloadSlider = function(settings){
			if (settings != undefined) options = settings;
			el.destroySlider();
			init();
		}

Open in new window


Shot in the dark, but try commenting out the contents of that function and see if it solves your issue.

Regards
Easynow
Melody ScottAuthor Commented:
Thanks very much to both of you, I'll try your shot in the dark, it that doesn't work, I'll find another. I do want it to be responsive!
Melody ScottAuthor Commented:
I'll try the other slider. Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.