-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuggvenyek.js
37 lines (33 loc) · 974 Bytes
/
fuggvenyek.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
function bejelentkezes(){
let felh=localStorage.getItem("felhasznalonev");
if(felh!=='')
{
document.getElementById("bejgli").textContent = felh;
document.getElementById("bej").href="kijelentkezes.php";
document.getElementById("bejkep").style.border="0px";
}
else
{
document.getElementById("bejgli").textContent = "";
document.getElementById("bej").href="bejelentkezes.html";
document.getElementById("bejkep").style.border="2px solid black";
}
}
function adatbevitel(){
window.location.href="adatbevitel.html";
}
function adatlistazas(){
window.location.href="adatlistazas.html";
}
function kiemel(id,szin) {
document.getElementById(id).style.color=szin;
}
function visszaemel(id,szin) {
document.getElementById(id).style.color=szin;
}
function kiemelb(id,szin) {
document.getElementById(id).style.border="3px solid "+szin;
}
function visszaemelb(id,szin) {
document.getElementById(id).style.border="3px solid "+szin;
}