I'm trying to create an effect wherein an HTML page contains a large
number of products (up to 125 possibly). Initially, only the first 3
are displayed. When the user clicks on a 'next' or 'previous' button,
the currently displayed products dissappear and the next or previous
set of 3 appear in the same place.
I've got it working in IE 6.0. It's mostly working in Netscape 7.2.
The only
problem in NS 7.2 is that each time you click on the 'previous' or
'next' buttons there is an area of space between the products and the
next/previous link that keeps on getting bigger untill you can't see
the products and the links on the same page.
The javascript code I'm using to hide things is :
function setObjectVisibility(objectID,state)
{
styleObject = dom(objectID,1);
styleObject.display = state;
}
I have a table with a series of rows with ID = "#" where # is the
zeroe-based sequence number of the row.
<tr id = "0"> ...</tr>
<tr id = "1">...</tr>
etc..
The page is located at
http://www.storesonline.com/site/615834/page/448822
The javascript is mostly in an external file at
http://www.storesonline.com/members/...loaded/menu.js
how do I make this work in current versions of Netscape?