|
Post by Bradley on Nov 13, 2004 19:49:37 GMT -5
On Image Click Prompt and Redirect This first code is to add an image to headers or footers and make it so that when you click a prompt open up. The text you put in the prompt becomes part of the URL you are redirected to. <img src=" URL TO IMAGE" onclick="javascript:var i = prompt(' QUESTION?',' Enter your answer here...');window.location=(' FIRST PART OF URL'+i+' FILE EXTENTION LIKE HTM OR JPG');" /> URL to the imageThe questionDefault text in propmtThe first part of the URL like www.proboards.com/The file extension such as .htm or .jpg
|
|