# September 22, 2010
# Working with Cookies more
# Stopped to check on some TAP copy fitting and make some type adjustments
# Back to cookies, struggling a bit w/ appending values rather than just making new cookies
# A nice cross-browser document ready check. Lost the reference 😦
function docReady(fn) {
// see if DOM is already available
if (
document.readyState === 'complete' ||
document.readyState === 'interactive'
) {
// call on next available tick
setTimeout(fn, 1);
} else {
document.addEventListener('DOMContentLoaded', fn);
}
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
# Just making different cookies rather than trying to append.
# TAP Meeting
- Friday code/content complete
- Launch next Tues/Wed
# Lupe sprint planning
# JMS Easter eggs
becoming clearer, you can't update cookies, you have to remove then add a new one. https://stackoverflow.com/questions/7215547/how-to-update-and-delete-a-cookie
- found ultimately that I was trying to set a sitewide cookie with
path="/"
when it should have just beenpath=/
with no quotes.
# Back to TAP
- removed work filters by just adding checking the "filtertype" in v-show, hiding them but not actually disabling them.
- video stuff works well, but unclear on color "treatment"