Re: Best way to add a bunch of photos to a cell of a table?



Dear Richard,

I am looking over my original post, and like Mao Zedong, my code was a
bit Marxist (read: minimalist & idealistic). Here are some clean-up
tips:

1) Change all of the:

<script language="JavaScript">

to read:

<script type="text/javascript">

...because as any leader of revolutionary struggle and guerrilla warfare
will tell you, there is no such thing as 'language' without also
defining it's meaning - or 'type'.

2) Alter any lines like:

var xMax = 320, yMax=240;

to represent the values, in pixels, that you wish, like

var xMax = 640, yMax=480;

....because, like any cultural revolution, you never know how big it is
going to get.

3) Change all of the idiot code resembling:

<td style=font-size: 8pt; font-family: Arial,Helvetica; color: #FF0000;
background-color:#000000 align='center' width='25%'>

to read more like:

<td class='whatever'>

....and create a '.whatever' class in your attendant .css file, because,
like any "Great Leap Forward", there are bound to be 30 million dead of
starvation unless you recognize the different classes of things, and
accept as a given that the only way to control anything is to let it
control itself. True revolutionary webmasters call this use of .css
(stylesheets) as 'Representative Capitalism'.

4) Introduce a declaration of intent, like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

....before you start your Great HTML Struggle, like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" >

....or else no browser will understand what you are talking about, and
your Leap Forward will be a Leap Backward, like what happened to the
good people of China.

Mao Zedong's thought is the reason that the people of China survived
the invasion by Japan, but also why they have the least amount of water
per capita of any nation on earth. The great people of China are a
world power now only because they have embraced, in an incomplete way,
the idea that power is communication. United States President Richard
Nixon told them that. Remember that the Internet, as introduced by
Vice-President Al Gore, is socialism at it's purest (notice the
association between tongue and cheek there?). Good luck in your
struggles, Richard, and remember to watch out for the possibility of a
'Autumn Harvest Uprising' when considering any 'Great Leap Forward'.

P.S.: Thank you for your kind comments about my beloved Uncle Telly.

Nicholas Savalas - http://savalas.tv

---------------------------------------------------------------
Richard wrote:
Hi Nicholas,


Someone gave me this code when I was starting out, on the promise that
I pass it along to the next person who asked. Promise kept. Good luck,

Sending the code was very kind of you. It reminds me of the movie, Pay
It Forward, whose theme I really like.

OK - my code is a bit sloppy ...

Sloppy or not (and I just glanced at it a moment ago), it will do for
me what Chairman Mao tried to do for China: take a great leap forward.
:-)

So, please accept my heartfelt thanks for your code and comments.
I'll try to pass some code along to someone in the future to keep the
spirit alive.

I did visit your website and like the effects you created. I assume
from your name that Telly (sp?) was your (grand-) father/uncle. I
enjoyed his cops-and-robbers work when it orignally aired.

Best wishes,
Richard

.