Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
I suggest using DHTML to do the displaying. Your JavaScript code can calculate the HTML for the set of images you want to display at the same time, and you can add navigation controls that recalculate the HTML to show a different set of images. To get the data that the JavaScript code will need to do its work, you'll need to pull data from the view and get it into a form that JavaScript can use. Ideally, you want to generate something like this:
var imageData = new Array( "repo01.gif|4567B430AE211383775E10293ADB2880", "repo02.gif|4567B430AE211383775E10293ADB2880", "tvalve.jpg|8349384B60DB495E6868E9FBF1C49843", ... );Then your JavaScript code can use Array.length to find out how many pictures there are and use the contents of the array to generate the HTML for pictures, say, #9 thru 17 or whatever you are displaying. The question is: How do you get the view data into the JavaScript code?
Click here for the rest of the answer.
Do you have comments on this Ask the Expert Q&A? Let us know.
This was first published in March 2004