Power Slider Lite 1.1.1 Loading Issue

Permalink
Hello

I've taken over a site that is using the Power Slider Lite application. It seems to work ok, the only problem I've come across is that when the page first loads on Chrome/Safari the slider doesn't appear.

The slider is located on the home page, and it seems if you click on another menu item and go to another page, and then go back to the home page it appears. It sounds like it's a cache issue, but I'm not sure what is causing it. It works fine in Firefox.

I'm not used to building in Concrete5, so I'm a bit of a newbie at it, so any help would be appreciated.

The site in question ishttp://www.drunkenduckinn.co.uk...

Thanks

 
jero replied on at Permalink Reply
jero
My guess would be that the addon ought to be wrapping the cycle code up in $(document).ready(), thus allowing the DOM and images to load fully before the cycle code kicks in.

Edit the view.php in packages/michaelg_power_slider_lite/blocks/power_slider_lite
jonnahealey replied on at Permalink Reply
Thanks for your reply!

Would you mind expanding on where I'd need to put that code? I am a bit of a newbie so sorry for asking!

Thanks
jero replied on at Permalink Reply 1 Attachment
jero
Try the attached.
jonnahealey replied on at Permalink Reply
I've tested the Slider on IE and Firefox, and there are no problems. It appears to just be Chrome and Safari...

Very wierd! Probably something really simple that I'm overlooking. Still, any help appreciated again! Thanks
jero replied on at Permalink Reply
jero
I have had fun and games with webkit based browsers (Safari & Chrome) before - they seem to have an odd idea of what constitutes a loaded DOM and have occasionally had to resort to using

$(window).load(


instead of

$(document).ready(
jwtmissionary replied on at Permalink Reply
This didn't work either.