Minor adjustments to coding for web application to correct a malfunction in operation when retrieving information from an array to populate onClick links.
The application in question is a brick finder utility for a building merchant website and can be seen in operation on a test site at [url removed, login to view]
The application works fine with one exception - users can select bricks by colour, texture, etc. On selection the Brick Reference Code, Main Picture and Technical details are shown on the RHS of the display. Items of interest can be added to a - My Brick Selections - list which appears on bottom left of the display - when several items have been selected the user can click on the items in the Selections list to bring back the details - the onClick action brings back the Brick Reference Code and Technical details correctly from the array in which they are stored but, in the case of the Main Picture brings back a URL link which is incomplete - resulting in an error loading the picture. The link generated should be in the form
<img height="296" width="389" id="MainPic" name="MainPic" src="[url removed, login to view]">
- the actual link generated is always missing the '[url removed, login to view]' part of the URL.