1252. dusty - 2/20/2000 3:02:03 PM I don't know a shortcut. I saw someone do something like that, but I think it was some sort of java scrip. I'll look around to see if I see it again, and let you know. 1253. Fraaankster - 2/21/2000 12:22:02 AM Dusty,
Thanks for all your assistance so far. I'll keep checking back to see if you came up with anything. In the meantime, I think I'll refrain from experimenting with HTML...I don't want to cause anymore "accidents".
Whoops, gotta go, bye ! 1254. FXMuckermind - 2/22/2000 6:17:39 AM I wonder how long it will be before anyone catches on?
Test
OK no I don't really. I don't care at all.
T E S T
I don't think they even realize how moronic they are 1255. dusty - 2/22/2000 10:48:31 AM FXMuckermind
Why do you think people don't catch on? We use that for many things, especially in the Quiz thread
Shall I grade your test?
C- 1256. CalGal - 2/22/2000 10:54:58 AM Dusty,
I found the code that was used to do the colors stuff, but I don't have time to play with it. Do you want it? 1257. dusty - 2/22/2000 11:07:54 AM Sorry, I don't understand the question. 1258. dusty - 2/22/2000 11:08:22 AM Oh wait, are you talking multiple colors in a single line? 1259. dusty - 2/22/2000 11:08:44 AM If so, yes 1260. CalGal - 2/22/2000 11:10:24 AM See, why do I have to work on my clarity if everyone can just figure out what I mean?
Coming right up. 1261. CalGal - 2/22/2000 11:15:40 AM As I said, I have no idea how it works. Someone just sent it to me and it needs tweaking.
#include < stdio.h >
#include < iostream.h >
void main()
{
/* totally idiot program to do Hofstadter's font-twiddling in a small
way in
HTML;
* read in text, re-emit each character wrapped in its own font tag
W/size
and color changing
* continuously.
* TODO: vary the initial values with each run; change color values by
smaller increments.
*/
char ch;
int i=6, r = 1, b = 3, g = 5, sdown=1, rdown = 0, bdown = 0, gdown =
1;
char * colors[6] = {"00", "33", "66", "99", "cc", "ff"};
cout << " ";
/* Read in single line from "stdin": */
while((ch = getchar()) != EOF)
{
if ( ch == '<')
{
cout << ch;
ch = getchar();
do{
cout << ch;
ch = getchar();
}
while (ch != '>' && ch != EOF);
if ( ch == '>') cout << ch;
}
else
{
cout << "" << ch << "";
if ( i == 1) sdown = 0;
if (i == 6) sdown = 1;
if ( r == 0) rdown = 0;
if (r == 5) rdown = 1;
if (b == 1) bdown = 0;
if (b == 5) bdown = 1;
g = (g + 2 )%5;
}
}
cout << " | ";
}
1262. FXMuckermind - 2/22/2000 2:58:29 PM I DIDN'T SEE ANYTHING BUT A BLACK BOX
1263. CalGal - 2/22/2000 3:23:55 PM Me neither, quite frankly. Someone just sent me the code and I passed it on for Dusty to play with. 1264. FXMuckermind - 2/23/2000 12:50:03 AM Dusty,I'm not talking about the white font.
I would never think of grading you.Like I said, woner if you will EVER get it.
You missed the point.
But thats OK
1265. LadyJane - 2/23/2000 1:21:19 AM Font Colorizer Program
This is the program that will colorize your text. 1266. PsychProf - 2/23/2000 1:56:55 AM LadyJane...thanks much... 1267. Cazart - 2/23/2000 2:12:12 AM Hello Marty McSorley.
Goodbye Marty McSorley.
1268. Cazart - 2/23/2000 2:14:29 AM Hello Marty McSorley.
Goodbye Marty McSorley.
1269. Dusty - 2/23/2000 2:14:41 AM FXMuckermind
I would never think of grading you.
Christ, it was a joke. Sorry you didn't get it. Lighten up.
Quiz 1270. PsychProf - 2/23/2000 2:15:33 AM A new toy for PP 1271. Cazart - 2/23/2000 2:17:08 AM Sports and Dr. Laura
|