I still not advanced at javascript and I am trying to do a picture portfolio
page where there is a scrollable area with thumbnails. When you click on the
thumbnail, I want to use document.getElementIDBy to change which picture is
displayed in the fullsize area. Everything seems right, but I keep getting
an error:
*Line: 3 | Error: Expected ';' *
I am kinda boggled because I clearly closed with * ; * If anyone could help,
or if there is a better way to do it, please let me know.
Here is the code that applies:
HTML: <div id="picdisplay"><table align="center" width="100%"
height="100%"><tr><td id="fullpicture" align="center"
valign="middle"></td></tr></table></div>
javascript: function one1() {
document.getElementById("fullpicture").innerHTML=" <img
src="images/portfolio/photo1.jpg" border="0" alt="One">";
}
actual page: http://members.shaw.ca/sceniclandscapes/portfolio.htm
In advance, Thanks a million!
Dave