Testing site themes
This commit is contained in:
parent
c4000fc43e
commit
29afd3e7b3
@ -9,10 +9,7 @@
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
<SCRIPT src="/main.js"></SCRIPT>
|
<SCRIPT src="/main.js"></SCRIPT>
|
||||||
<SCRIPT>
|
<SCRIPT>initialize();</SCRIPT>
|
||||||
var sheet = getCookie('sheet');
|
|
||||||
if(sheet != '') setStyling(sheet);
|
|
||||||
</SCRIPT>
|
|
||||||
<TABLE><TR><TD valign="top" width="50%">
|
<TABLE><TR><TD valign="top" width="50%">
|
||||||
<P>Hi, I'm Deven Blake. I'm just your normal everyday nerd.</P>
|
<P>Hi, I'm Deven Blake. I'm just your normal everyday nerd.</P>
|
||||||
<P><SMALL>
|
<P><SMALL>
|
||||||
@ -94,12 +91,12 @@ I would much rather talk to you via email or Signal instead of using something l
|
|||||||
<INPUT type="button" value="infix (algrebraic)" onclick="document.title='(d+(7-s))';" />
|
<INPUT type="button" value="infix (algrebraic)" onclick="document.title='(d+(7-s))';" />
|
||||||
<INPUT type="button" value="postfix (rpn)" onclick="document.title='d 7 s - +';" />
|
<INPUT type="button" value="postfix (rpn)" onclick="document.title='d 7 s - +';" />
|
||||||
<P><SMALL>The following inputs use JavaScript to change this page's stylesheet.</SMALL></P>
|
<P><SMALL>The following inputs use JavaScript to change this page's stylesheet.</SMALL></P>
|
||||||
<INPUT type="button" value="notheme" onclick="document.getElementById('styling').setAttribute('href', ''); sheet='';" />
|
<INPUT type="button" value="notheme" onclick="document.getElementById('styling').setAttribute('href', ''); sheet='';" />
|
||||||
<INPUT type="button" value="givemerights" onclick="sheet = setStyling('givemerights.css');" />
|
<INPUT type="button" value="givemerights" onclick="sheet = setStyling('/givemerights.css');" />
|
||||||
<INPUT type="button" value="windowsclassic" onclick="sheet = setStyling('windowsclassic.css');" />
|
<INPUT type="button" value="windowsclassic" onclick="sheet = setStyling('/windowsclassic.css');" />
|
||||||
<P><SMALL>
|
<P><SMALL>
|
||||||
This input lets you summon an external stylesheet.
|
This input lets you summon an external stylesheet.
|
||||||
For instance, you can enter in "windowsclassic.css" to manually use that theme rather than pushing a button.
|
For instance, you can enter in "/windowsclassic.css" to manually use that theme rather than pushing a button.
|
||||||
Any stylesheet from any on-line source will work.
|
Any stylesheet from any on-line source will work.
|
||||||
<B>Be careful because there's surely someone out there that will inject a virus into a stylesheet and get some poor sap to plug that in here.</B>
|
<B>Be careful because there's surely someone out there that will inject a virus into a stylesheet and get some poor sap to plug that in here.</B>
|
||||||
</SMALL></P>
|
</SMALL></P>
|
||||||
|
@ -26,3 +26,11 @@ function setStyling(sheet) {
|
|||||||
document.getElementById('styling').setAttribute('href', sheet);
|
document.getElementById('styling').setAttribute('href', sheet);
|
||||||
return sheet;
|
return sheet;
|
||||||
}
|
}
|
||||||
|
function initialize(void) {
|
||||||
|
/*
|
||||||
|
this can be local because the page that changes this (index.html) won't read it
|
||||||
|
if `sheet` needs to be read on a page copy this verbatim rather than using the function
|
||||||
|
*/
|
||||||
|
var sheet = getCookie('sheet');
|
||||||
|
if(sheet != '') setStyling(sheet);
|
||||||
|
}
|
@ -1,29 +1,30 @@
|
|||||||
<html lang="en">
|
<HTML lang="en">
|
||||||
<head>
|
<HEAD>
|
||||||
<title>opinions on text editing</title>
|
<TITLE>opinions on text editing</TITLE>
|
||||||
<meta charset="US-ASCII" />
|
<META charset="US-ASCII" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<META name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="canonical" href="https://blake.instantfloppy.net/textediting" />
|
<LINK rel="canonical" href="https://blake.instantfloppy.net/textediting" />
|
||||||
</head>
|
</HEAD>
|
||||||
<body>
|
<BODY>
|
||||||
<p><a href="..">~ Return</a></p>
|
<SCRIPT src="/main.js"></SCRIPT><SCRIPT>initialize();</SCRIPT>
|
||||||
<h1>My opinions on text editing</h1>
|
<P><A href="..">~ Return</A></P>
|
||||||
<h3>updated 2020-10-10</h3>
|
<H1>My opinions on text editing</H1>
|
||||||
<hr size="1" width="25%" align="left" />
|
<h3>updated 2020-10-10</h3>
|
||||||
<p>I write prose in Rich Text Files (RTF) and everything else in UNIX-formatted plaintext.</p>
|
<hr size="1" width="25%" align="left" />
|
||||||
<p>
|
<p>I write prose in Rich Text Files (RTF) and everything else in UNIX-formatted plaintext.</p>
|
||||||
When it comes to RTF editing, I normally use Microsoft Wordpad on Windows and (prefer it to using) Libreoffice on everything else.
|
<p>
|
||||||
I like RTF because editors handle everything for me - changing the font and indentations and everything is very easy - and because despite its proprietary-ness it's well supported and converts to plaintext relatively easily.
|
When it comes to RTF editing, I normally use Microsoft Wordpad on Windows and (prefer it to using) Libreoffice on everything else.
|
||||||
</p>
|
I like RTF because editors handle everything for me - changing the font and indentations and everything is very easy - and because despite its proprietary-ness it's well supported and converts to plaintext relatively easily.
|
||||||
<p>
|
</p>
|
||||||
When it comes to code, I only use Linux/UNIX/something with a console. I've tried coding in IDEs many times and every time I've been disappointed.
|
<p>
|
||||||
I'm not used to using my mouse when I code and even when I acclimate I still don't like it, though I've never used ACME before and that might change my mind someday.
|
When it comes to code, I only use Linux/UNIX/something with a console. I've tried coding in IDEs many times and every time I've been disappointed.
|
||||||
Lately I've been writing C and Python and when I write both I use "ne", the Nice Editor. It's simple and it uses a lot of common keyboard shortcuts.
|
I'm not used to using my mouse when I code and even when I acclimate I still don't like it, though I've never used ACME before and that might change my mind someday.
|
||||||
I avoid lines of code longer than 79 characters, and I use tabs for indentation with a tab length of 8.
|
Lately I've been writing C and Python and when I write both I use "ne", the Nice Editor. It's simple and it uses a lot of common keyboard shortcuts.
|
||||||
I never use hard word wraps on plaintext if I can catch it and I don't normally use soft word-wrapping in code.
|
I avoid lines of code longer than 79 characters, and I use tabs for indentation with a tab length of 8.
|
||||||
I grew up on Microsoft DOS's EDIT.COM and it's still my go-to editor on DOS.
|
I never use hard word wraps on plaintext if I can catch it and I don't normally use soft word-wrapping in code.
|
||||||
</p>
|
I grew up on Microsoft DOS's EDIT.COM and it's still my go-to editor on DOS.
|
||||||
<p>My preferred encoding is UTF-8. I don't like Unicode because I disagree with how emoji are being added. I have an ASCII chart on my wall.</p>
|
</p>
|
||||||
<p>When I use stock systems I use nano until I install ne. I'm not yet sure how to use ed.</p>
|
<p>My preferred encoding is UTF-8. I don't like Unicode because I disagree with how emoji are being added. I have an ASCII chart on my wall.</p>
|
||||||
</body>
|
<p>When I use stock systems I use nano until I install ne. I'm not yet sure how to use ed.</p>
|
||||||
</html>
|
</BODY>
|
||||||
|
</HTML>
|
||||||
|
Loading…
Reference in New Issue
Block a user