Two page mobile magic 8-ball


Two page mobile magic 8-ball

Had to use random numbers to prevent caching of pages by mobile web browsers. It’s entirely possible that I made this workaround too complicated, as I had a file version problem on my local drive (I was updating the wrong file.)

The first page uses a random number in a hidden field with the POST method:

Magic 8-ball

Ask your question, and click the button for an answer.
";
?>

The second page appends a random number to the URL:


Magic 8-Ball

Magic 8-ball

The magic 8-ball says:

";
echo "Ask another question";

?>

, ,

One response to “Two page mobile magic 8-ball”

  1. Here’s a request. When I was in public accounting my clients would give me a hard time a joke about our fees. It was all in good fun. Now that I’m on the other side, I can really see where they are coming from. Every minute they are in our office working I can hear cha-ching and watch the dollars increasing. At one point I thought it would be humorous to put a taxi meter outside the conference room door where they were working. It would advance about 7 cents per second. Your magic eight ball gave me the idea to create a web page instead. Kind of like a countdown script, except it would count up and each second would be multiplied by a dollar amount based on an input variable. Then I could return the favor and poke some fun at my consultants.

    Mike Campbell’s last blog post..Make It Easy For Your Customers To Do Business With You

Leave a Reply

%d bloggers like this: