Okay... you've got me going in the right direction, but I'm afraid I still don't quite get it.
Here's my plan:
1. create a new php file to be included that has a function in it called printSlideShowLinkCustomSize. This will look exactly like printSlideShowLink, except that the form will have a new name ("slideshowCustomSize_form") and it'll have an extra field.
2. create a new javascript somewhere that looks like this:
<script type="text/javascript">
function submit_slideshowCustomSize_form() {
document.slideshowCustomSize_form.submit();}</script>
3. add another new function to my new php file called printSlideShowCustomSize. again, this is just a copy of printSlideShow with the new size variable replacing the lines of code you originally mentioned.
--
So my questions are:
A. When the new form is submitted, what happens to it? How does this call the slideshow.php page in the theme folder? (Sorry, this is a gap in my HTML knowledge that I've tried to research, but so far come up empty.)
B. How do I pass the variable in the form to the new php function that prints out the new slideshow?
--
If passing the variable is too complicated, I could simply do a brute-force method of creating two functions that make fixed size slideshows (small and big). This is not an extensible solution; it solves my problem, but noone else could really use it. But still, in order to do this, I STILL have to figure out how the form calls the slideshow.php page in the themes folder. (I understand how that THAT page then invokes the big function housed in the slideshow.php file in the plug-ins folder, so I think that portion shouldn't be an issue).
Again, thanks for your help, and if this is too complicated to explain, you can tell me to buzz off.