Eric Scull
07-31-2003, 04:22 AM
Hello,
For the past few months I've been searching forums like these, trying to find somebody who can help me with a simple-seeming (aren't they always) code for a contest I run on my website, MuggleNet.com. It's called the Caption Contest, where people send in funny ideas as to what the people in the pictures (which I choose) are saying. I pick the funniest and most original, traditionally, and usually there's about 30 winners in all.
Well, thirty caption winners make quite a long list, as you can imagine. Pretty soon the list is so expansive that one may forget what the picture even is, or start to notice characters being brought in that they didnt' recall being in the picture but were. My solution: Keep the entries in one place!
Here's what I've been trying to find out how to do:
I'd like to create two buttons, labelled Next and Previous. There should be a box below the buttons, visible or invisible once the page loads doesn't matter. By clicking Next, I would like to have it display each caption winner, and keep going. The number of spaces and lines that each caption will take up is random, so it'd need to be able to handle from anywhere between 1-5 lines.
Apart from that, I'd like to be able to store the caption winners in the coding of the page itself, so it would decrease loading time and be easier to edit the captions. I was actually a few inches away from snagging a code directly like this one, but it was lost and never found again. I'm going to attempt a sample of what the code would resemble. The actual code-words used to control things on Java aren't the same, I'm sure, I'm just trying to be basic and give an idea of what I'm asking for.
The Next button's code could be "Onclick=NextCaption"
and each caption could be stored into the coding with something like this:
Caption1="Harry: WOAH! A GIANT SHARK!<p>Hermione:Look out!<p>Ron:Duck!<p>-Jerry"
Caption2="Snape: And I thought we were alone!"
and so forth.. so that I could easily edit what it calls forth. We don't even need a previous button actually, if it would make it easier for someone to create I just need to get this to work.
If this makes any sense or if you have further questions, please email me at SiriusBlack423@aol.com. I would really like to get this to work, as my contest is needing the code more and more, as the number of entries I get is up to 1,100 a week. Please help if you know how!
For the past few months I've been searching forums like these, trying to find somebody who can help me with a simple-seeming (aren't they always) code for a contest I run on my website, MuggleNet.com. It's called the Caption Contest, where people send in funny ideas as to what the people in the pictures (which I choose) are saying. I pick the funniest and most original, traditionally, and usually there's about 30 winners in all.
Well, thirty caption winners make quite a long list, as you can imagine. Pretty soon the list is so expansive that one may forget what the picture even is, or start to notice characters being brought in that they didnt' recall being in the picture but were. My solution: Keep the entries in one place!
Here's what I've been trying to find out how to do:
I'd like to create two buttons, labelled Next and Previous. There should be a box below the buttons, visible or invisible once the page loads doesn't matter. By clicking Next, I would like to have it display each caption winner, and keep going. The number of spaces and lines that each caption will take up is random, so it'd need to be able to handle from anywhere between 1-5 lines.
Apart from that, I'd like to be able to store the caption winners in the coding of the page itself, so it would decrease loading time and be easier to edit the captions. I was actually a few inches away from snagging a code directly like this one, but it was lost and never found again. I'm going to attempt a sample of what the code would resemble. The actual code-words used to control things on Java aren't the same, I'm sure, I'm just trying to be basic and give an idea of what I'm asking for.
The Next button's code could be "Onclick=NextCaption"
and each caption could be stored into the coding with something like this:
Caption1="Harry: WOAH! A GIANT SHARK!<p>Hermione:Look out!<p>Ron:Duck!<p>-Jerry"
Caption2="Snape: And I thought we were alone!"
and so forth.. so that I could easily edit what it calls forth. We don't even need a previous button actually, if it would make it easier for someone to create I just need to get this to work.
If this makes any sense or if you have further questions, please email me at SiriusBlack423@aol.com. I would really like to get this to work, as my contest is needing the code more and more, as the number of entries I get is up to 1,100 a week. Please help if you know how!