Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not function with Scripting/java-script disabled in browser #22

Open
cliffy94 opened this issue Aug 11, 2013 · 6 comments
Open

Does not function with Scripting/java-script disabled in browser #22

cliffy94 opened this issue Aug 11, 2013 · 6 comments
Assignees

Comments

@cliffy94
Copy link

The site -http://thescoop.io/ - Does not function with Scripting/java-script disabled in browser. Please detect this and fall back to more traditional HTML to allow submission/post.

@samuelhoenle
Copy link
Collaborator

Well, thank you, we haven't thought of this yet.

Guys, how are we handling this?

  • Tell folks to turn on their JS or
  • do a hack by calling the PHP by a form or so…

@ghost ghost assigned samuelhoenle Aug 11, 2013
@Taiiwo
Copy link
Collaborator

Taiiwo commented Aug 12, 2013

There's no way to check for js in PHP as it's server side, but if some client-side stuff could define a PHP variable (Like an automatic post request to the homepage, or we could even have a button hidden with js that sets the variable), then PHP could do that, assuming I have some js-less HTML.

@jake-patt
Copy link
Collaborator

We'd need to restructure the HTML. E.g. have a form element and submit button, then hide that button if javascript is enabled

@edlongman
Copy link
Owner

I wouldn't have the button hidden by js because then it will flash briefly
on page load. Just have it in noscript
On 12 Aug 2013 12:44, "bleko" [email protected] wrote:

We'd need to restructure the HTML. E.g. have a form element and submit
button, then hide that button if javascript is enabled


Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-22487651
.

@jake-patt
Copy link
Collaborator

I meant using different stylesheets if javascript was enabled or disabled

@edlongman
Copy link
Owner

Yes that would fix it in a nicer way!
On 12 Aug 2013 18:26, "bleko" [email protected] wrote:

I meant using different stylesheets if javascript was enabled or disabled


Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-22510040
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants