Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Created by Przemek on 30.03.15.
|
||||
*/
|
||||
function ukryj(id) {
|
||||
document.getElementById(id).style.display="none";
|
||||
document.getElementById(id).style.position="absolute";
|
||||
}
|
||||
|
||||
function show(id) {
|
||||
document.getElementById(id).style.display="block";
|
||||
document.getElementById(id).style.position="relative";
|
||||
}
|
||||
|
||||
function pokaz(id)
|
||||
{
|
||||
if(document.getElementById(id).style.display=="block")
|
||||
{
|
||||
ukryj(id);
|
||||
}
|
||||
else {
|
||||
show(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user