In doin' sum learnin' of HTML, I came across an indication of how I could create buttons using the <button> tag. And I can successfully create buttons, buttons with images, buttons of different sizes, but cannot make them do anything, or specifically cannot make them hyperlink to other url's in the site. I can create a webpage outside of moodle, with the code on it that functions correctly, but when I copy that code into Moodle, it is changed.
This is the code that I input: (The x is our school site, thought it best not to publish)
<button onClick="window.location='http://x.net/web/asn.nsf'"><img src="http://x.net/file.php/74/images/ASNCoatofarms.png" height="165" width="135"/> </button>
This distinctly gives me a button, with the image, and I can click it and see it perform like a button, but not complete the request. And when I toggle back or save, and revisit the HTML this is what Moodle says:
<button Xonclick="function onclick() { function onclick() { function onclick() { function onclick() { function onclick() { window.location='http://x.net/web/asn.nsf' } } } } }"><img src="http://x.net/file.php/74/images/ASNCoatofarms.png" width="135" height="165" /></button>
Any additional manipulations, like adding the address within the parentheses, has not yielded any results.
My next step will be to just use rollover images, but there are some similar issues cropping up where the code is changed. But that may be another ball of wax.
Any assistance would be appreciated. Thank you.