News for hackers. Stuff that matters.
Re:Swipe 2 is now live by snsr on Monday March 11, 2013 @01:10PM (#5358091)
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.

Re:Swipe 2 is now live by teraflop on Monday March 11, 2013 @02:07PM (#5358544)
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.

Re:Swipe 2 is now live by recursive on Monday March 11, 2013 @01:37PM (#5358294)
From this website, I can't figure out what this is supposed to be doing at all.
Re:Swipe 2 is now live by HugoDias on Monday March 11, 2013 @01:01PM (#5358025)
wtf, the demo doesn't work like it should. When i click in the circles, the slider doesn't change.
Re:Swipe 2 is now live by bradbirdsall on Monday March 11, 2013 @01:04PM (#5358050)
You can get it to do anything you want. Try downloading it and playing around.
Re:Swipe 2 is now live by Smudge on Monday March 11, 2013 @01:13PM (#5358114)
> 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?

Re:Swipe 2 is now live by bradbirdsall on Monday March 11, 2013 @01:16PM (#5358139)
The dots are much more a visual cue than a means of navigation.
Re:Swipe 2 is now live by Smudge on Monday March 11, 2013 @01:22PM (#5358175)
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.
Re:Swipe 2 is now live by bradbirdsall on Monday March 11, 2013 @01:30PM (#5358238)
It's just a demo lol
Re:Swipe 2 is now live by ericmsimons on Monday March 11, 2013 @02:02PM (#5358514)
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.

Re:Swipe 2 is now live by envex on Monday March 11, 2013 @01:38PM (#5358307)
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.

Re:Swipe 2 is now live by bpicolo on Monday March 11, 2013 @03:15PM (#5358978)
Then why does my mouse turn into a cursor when I hover over them?