async

I’ve noticed that using async on a script that includes slideshow code

<script async src="/js/global.min.js"></script>

intermittently causes the slideshow to load extremely slowly or not at all. It can take multiple page reload attempts before it does but once loaded it works as expected.

Is anyone else using async? Have you noticed similar issues?

Todd


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I found a couple of places where it didn’t work at all, so I just move that timing-dependent code to the bottom of the page and stopped trying to use it. Give the browsers a little time to figure this feature out, I guess.

Walter

On Sep 7, 2014, at 6:33 PM, Todd wrote:

I’ve noticed that using async on a script that includes slideshow code

<script async src="/js/global.min.js"></script>

intermittently causes the slideshow to load extremely slowly or not at all. It can take multiple page reload attempts before it does but once loaded it works as expected.

Is anyone else using async? Have you noticed similar issues?

Todd
http://xiiro.com


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I wonder, if you can give your slider a css transition effect on page load,
then would its tardy appearance look somehow planned and cool?

Kind of like here - http://www.bradfordhardware.com


Ernie Simpson

On Sun, Sep 7, 2014 at 6:33 PM, Todd email@hidden wrote:

I’ve noticed that using async on a script that includes slideshow code

<script async src="/js/global.min.js"></script>

intermittently causes the slideshow to load extremely slowly or not at
all. It can take multiple page reload attempts before it does but once
loaded it works as expected.

Is anyone else using async? Have you noticed similar issues?

Todd
http://xiiro.com


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Good idea, Ernie. I’ve considered using CSS for this but it’s (for no apparent reason) been relegated to the back-burner. Maybe it’s time to revisit.

I do like your implementation. In my case the only thing I would need to add are the clickable indicator buttons often seen with these kinds of things.

Regarding async: I’m really happy this has been added to the spec, it makes things so easy, loading quirks aside.

Thanks,

Todd

I wonder, if you can give your slider a css transition effect on page load,
then would its tardy appearance look somehow planned and cool?

Kind of like here - http://www.bradfordhardware.com


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options