added authors clickable shit
This commit is contained in:
parent
77f7f8fe86
commit
a7d3f967a0
@ -15,6 +15,7 @@
|
||||
<script src="./res/global.js"></script>
|
||||
|
||||
<link rel="stylesheet" href="./res/autori/style.css">
|
||||
<script src="./res/autori/script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<button id="back_button" onclick="move('./index.html', true)">⇽</button>
|
||||
@ -28,7 +29,7 @@
|
||||
</div>
|
||||
<div id="vasek">
|
||||
<span class="nadpis">Vašek:</span><br>
|
||||
Profesionální sebevrah, kriminálník, vandal.<br>
|
||||
Profesionální <span id="sebedestrukce">sebevrah</span>, kriminálník, vandal.<br>
|
||||
Autor většiny fotografií, programátor.
|
||||
</div>
|
||||
</div>
|
||||
|
8
res/autori/script.js
Normal file
8
res/autori/script.js
Normal file
@ -0,0 +1,8 @@
|
||||
window.onload = function()
|
||||
{
|
||||
document.getElementById("sebedestrukce").onclick = (e) = function()
|
||||
{
|
||||
document.getElementById("sebedestrukce").style.color = "#800500";
|
||||
document.getElementById("sebedestrukce").style.fontWeight = "bold";
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user