Hi,
I got a tricky problem
I am developing a web shopping cart application
My client suddenly want items of the catalogue horizontally three in a row, Like individual boxes with Images and short description.
i.e
1st row 1st Column 1st Item
2nd Column 2nd Item
3rd Colomn 3rd Item
2nd row 1st Column 4th Item
2nd Column 6th Item
3rd Colomn 7th Item
soon
I really appriciate i anybody could give me a workaround
Regards
Sridhar
Subject: Multiple documents in a row in web ???
This only work if you are using Domino 6.51) Create a computed text
-
make it pass thru html
-
paste the formula below to the computed text
rem {======================};
tData:=@DbColumn( “”: “” ; @DBName ; “MyView” ; “1”);
temp := “”;
temp1:=“”;
nRec:=3;
@For(n := 1; n <= @Elements(tData); n := n + 1;
temp := temp+“”+tData[n]+“”;
temp1:=@If(@Modulo (n;nRec)=0;temp1+“”+temp+“”;temp1);
temp:=@If(@Modulo (n;nRec)=0;“”;temp)
);
temp1:=@If(@Modulo (@Elements(tData);nRec)!=0;temp1+“”+temp+“”;temp1);
“
” + temp1+“
”
Subject: RE: Multiple documents in a row in web ???
Lai,
That piece of code is really a gud one.I am searching exactly for that piece.
Thanx a lot.