0
How can i make a login page where when i press login button will move to next page or open a page not external but internal one
21 Respostas
+ 1
First i suggest you to learn more about HTML, CSS and JS.... Anyway for button problem, simply you must set click event listener on button... In my code "showPage" function is used for show either pages (i have edited my code also)
P.S. dont post most sequential messages... try to write a message to time
Here its my code that contains useful resources links:
https://code.sololearn.com/WaVusr8J1KvK/?ref=app
EDITED
+ 2
okie
+ 1
You can "simulate" this with js and manipaling DOM
+ 1
nice so i can use it as button right.thanks buddy my problem is solved now
+ 1
Note that i have used a very simple example but its possible do it more complex and more functionals but at core that its 👍👍👍
+ 1
you got any idea that how i can use it for button
+ 1
👍👍👍👍
P.S. Remember that if you set as public code not your you must set credits to original creator (you must tell that your code is copied from code X of Y and if creator dont wnt allow you, moderator can privatize or delete your code)....
0
You need to host a local web server. More info: https://gist.github.com/jgravois/5e73b56fa7756fd00b89
0
cant i do it without that?coz it will make the user go outside sololearn
0
If you want different html files, then yes. If not, you could make different containers for each "page".
0
how can i make different containers and will it prevent the user from going outside sololearn
0
No, if you do DOM manipulation.
0
Are there any examples in sololearn?
0
done
0
can you tell me how i can use the code you shared in thr form of button
0
thanks kr0w you helped me a lot i will be adding your name for the credits part.https://code.sololearn.com/WJJv3gw01LxD/?ref=app
0
You dont have need of insert my name but original code its your? Seem that no to me because before, your code, has a name to top of html (now i dont remember) and futhermore the modal is filled with data of someone that its not you
0
the data is added by me coz i am developing it for someone