Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
56
rated 0 times [  58] [ 2]  / answers: 1 / hits: 72396  / 11 Years ago, fri, december 20, 2013, 12:00:00

Basically, I want to create a login popup like the one that a lot of routers have to get access to the setup page:
Login



is it possible to implement this on an html file at all or is it only for server based access?


More From » html

 Answers
17

You should probably read this:



http://en.wikipedia.org/wiki/Basic_access_authentication



and this:



http://www.php.net/manual/en/features.http-auth.php



In short words:



1 You can invoke this popup using special headers.



2 You can invoke this popup only before page starts loading.



3 You can't do this using html+js only.



4 You can't invoke prompt windows with password-like inputs with pure js.



UPD:
That question was answered, having the following comment from author to main post in mind:




Is there a way to get the exact popup in the picture? i.e its a
browser based popup not styled?




I never stated, that one can not create SIMILAR styled popup with js+html. The answer was about invoking the exact popup.


[#73628] Thursday, December 19, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kalias

Total Points: 79
Total Questions: 116
Total Answers: 116

Location: Malaysia
Member since Wed, May 11, 2022
2 Years ago
;