PDA

View Full Version : Can your script be adapted to an array John



ajfmrf
02-15-2014, 07:27 PM
John,can this code be adapted and used with an arry of images(say4-20)


</head>
<body>
<script type="text/javascript">
var headSrc="http://www."
var pathName="megeddo.nightsplutonianshore.com/";
var alienDoc="aliendoc01.gif";
document.write('<img src="' + headSrc + pathName + alienDoc + '" width="344" height="222" alt="ace" title="" />');
</script>

</body>


as posted in this forum:
http://www.dynamicdrive.com/forums/showthread.php?76403-Why-doesn-t-this-work

jscheuer1
02-16-2014, 04:35 PM
Why not?