There are two ways in which you can load a script, specifically a javascript, on the pages of your website for it to do wonderful and equally interesting things on the page, thus adding a little more dimension to the viewing experience your website's viewers would be getting. If you like your site to be more graphical than informative, so be it, then, go use
digital images from your collection, but always remember to take into consideration our screen reader user friends out there, always waiting for that really accessible and equally interesting website to browse. Thus, begin your journey, first by editing those digital photos you have with a
good photo editor, and finally go learn the codes I have attached here before using those photos so as to improve the foundation your graphical website would be laid upon.
< - sample code - >
<script type="text/javascript">
function saySomething(message)
{
alert(message);
}
saySomething('Why is it always Hello World?');
</script>
< - end of sample - >
In the script above, we have done the first method, which is to directly write down the code inside an element, and by doing so, we would have made a javascript on a page of your website. This
javascript code, or at least the method we took in adding it to a page, has its flaws, specifically the problems it raises with text-only browsers, which usually renders the codes as it is - text. For your readied photos, I suggest you learn Flash instead of javascript programming, for javascript is based mainly on the functions it adds to your website, and not the graphical looks of it!