Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Swipe 2 is now live (swipejs.com)
14 points by bradbirdsall on March 11, 2013 | hide | past | favorite | 12 comments


I've found Swipe.js to be helpful in the past, looking forward to checking the new version out.

@bradbirdsall - Chrome canary calls out the mime type of swipe.js on the demo site. I don't think the HTML5 spec requires text/javascript though, so that's probably on Chrome.


Chrome is working as intended: http://crbug.com/180007

Github serves pages from 'raw.github.com' with an "X-Content-Type-Options: nosniff" header, which specifically disallows browsers from trying to second-guess MIME types. FWIW, IE has supported this header for years, and Firefox is probably going to be adding it soon as well. So if you're serving your .js files with the wrong content type, they're going to break for more and more users as time goes on.


From this website, I can't figure out what this is supposed to be doing at all.


wtf, the demo doesn't work like it should. When i click in the circles, the slider doesn't change.


You can get it to do anything you want. Try downloading it and playing around.


> You can get it to do anything you want.

But in addition it should generally do what users expect. If the dots aren't clickable, why are they there?


The dots are much more a visual cue than a means of navigation.


I understand what you're describing to be their purpose. But the first thing I tried to do was click on them, and got confused/frustrated when they didn't do anything. This tells me their purpose is not in line with what I (and possibly others) expected.


It's just a demo lol


And what we're saying is that it's a bad demo. Demos are supposed to impress you enough to want to use the real thing. Your demo confused me and (apparently) a handful of other folks.

Instead of literally laughing off feedback and pretending there aren't any problems with your site, you may want to think a bit more critically about the presentation of your javascript plugin.


While it is just a demo, it's unusable unless you're on a mobile device.

If you're on a desktop, you're basically just sitting there watching it autoplay.


Then why does my mouse turn into a cursor when I hover over them?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: