notepad

Check-in [cfefa3700f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Lose the transition, it's just annoying when trying to switch notes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:cfefa3700f202c108b70d447f8294f02b9aab225cd4ad100887d842ef5b14eeb
User & Date: vandys 2018-10-12 13:21:41
Context
2018-10-14
22:08
Tweak appearance bit check-in: 978665e914 user: vandys tags: master, trunk
2018-10-12
13:21
Lose the transition, it's just annoying when trying to switch notes. check-in: cfefa3700f user: vandys tags: master, trunk
13:18
Logout clears anyway check-in: b030eeea6c user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to css/main.css.

1
2
3
4
5
6
7
8
9
10
11
12
body>div {
    position: absolute;
    height: 100%;
    width: 100%;
    transition: all 1.0s ease;
    display: none;
}

#entryTitle {
    width: 50%;
}
#entryContent {




<







1
2
3
4

5
6
7
8
9
10
11
body>div {
    position: absolute;
    height: 100%;
    width: 100%;

    display: none;
}

#entryTitle {
    width: 50%;
}
#entryContent {

Changes to js/main.js.

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
	if (localStorage.getItem(key) == null) {
	    return key;
	}
    }
}

// Transition to displaying an item
// (Switching to "display: none" side steps a bunch of grotty
//  details on z-index touch item priority.)
function to_item() {
    mainmenu.style.opacity = 0.0;
    setTimeout(() => {mainmenu.style.display = "none";}, TSECS);
    editor.style.display = "block";
    editor.style.opacity = 1.0;
}

// Transition back to main menu
function to_menu() {
    editor.style.opacity = 0.0;
    setTimeout(() => {editor.style.display = "none";}, TSECS);
    mainmenu.style.display = "block";
    mainmenu.style.opacity = 1.0;
}

// They've chosen from our list of items
function item_click(key) {
    cur_item = JSON.parse(localStorage[key]);
    entryTitle.value = cur_item.title;
    entryTitle.readOnly = true;







<
<

<
|

<




<
|

<







52
53
54
55
56
57
58


59

60
61

62
63
64
65

66
67

68
69
70
71
72
73
74
	if (localStorage.getItem(key) == null) {
	    return key;
	}
    }
}

// Transition to displaying an item


function to_item() {

    mainmenu.style.display = "none";
    editor.style.display = "block";

}

// Transition back to main menu
function to_menu() {

    editor.style.display = "none";
    mainmenu.style.display = "block";

}

// They've chosen from our list of items
function item_click(key) {
    cur_item = JSON.parse(localStorage[key]);
    entryTitle.value = cur_item.title;
    entryTitle.readOnly = true;