lguerra
04-16-2009, 04:36 PM
This is my first post so I apologize if this is not the right forum for this but I would like to have a script made which I'm hoping somebody here can do. What I would like is to be able to include "hidden messages" on my site which can only be seen by highlighting them by making the text color the same as the background.
Example:
Highlight this: This is a secret message.
I know that I can do this without script (as I did above), but I want to be able to have a different secret message inserted each time the page is refreshed. That is where the script comes in. If possible, I'd like to have the script recognize the background color and match the text to it automatically, but if that is too complicated, it would be easy enough to leave the the text color as a variable and match it to the background color manually.
I would also like to have the ability to include an image (such as an arrow) on each side of the hidden message so that I can have something like, "Highlight the area between the two arrows below to reveal a hidden message" as instructions for revealing the hidden messages.
One more thing, I need this script to work without having to add anything to the head of the page because the website building program I use does not allow me to add anything to the head at all. Therefore it has to work within the body of the page only. Thanks!
Example:
Highlight this: This is a secret message.
I know that I can do this without script (as I did above), but I want to be able to have a different secret message inserted each time the page is refreshed. That is where the script comes in. If possible, I'd like to have the script recognize the background color and match the text to it automatically, but if that is too complicated, it would be easy enough to leave the the text color as a variable and match it to the background color manually.
I would also like to have the ability to include an image (such as an arrow) on each side of the hidden message so that I can have something like, "Highlight the area between the two arrows below to reveal a hidden message" as instructions for revealing the hidden messages.
One more thing, I need this script to work without having to add anything to the head of the page because the website building program I use does not allow me to add anything to the head at all. Therefore it has to work within the body of the page only. Thanks!