mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-04 22:07:39 +00:00
Initial commit
This commit is contained in:
parent
1d9d051759
commit
9656378279
557 changed files with 182300 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
function messageBox(message) {
|
||||
window.alert(message);
|
||||
}
|
||||
|
||||
function setColorInStorage() {
|
||||
if (typeof (Storage) !== "undefined") {
|
||||
localStorage.setItem("color",
|
||||
document.getElementById("colorBox").value);
|
||||
}
|
||||
}
|
||||
|
||||
function getColorFromStorage() {
|
||||
if (typeof (Storage) !== "undefined") {
|
||||
document.getElementById("colorBox").value =
|
||||
localStorage.getItem("color");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue