MX Looper Forum :: Force redundant columns to appear with Horizontal Region

This thread was displayed: 285 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Rob Hussey
10-05-2006 22:48:15 GMT +2

 Hi there,

I posted a question a few months ago on this forum asking whether it was possible to force redundant columns to appear with your horizontal repeat region.
http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXLooper/Product-Forum/Details/97889/Force+redundant+columns+to+appear+with+Horizontal+Region.html

I need to force the redundant table columns from a horizontal looper to appear whether they have enough records or not.

http://www.eurofindings.com/CatChainsType.asp?CatID=87
http://www.eurofindings.com/CatChainsType.asp?CatID=93

The first link example above shows that just under the dropmenus there is a horizontal repeat region set to 6 columns wide, however 4 records were found in the second row (18ct Yellow) so the columns are justified to fill the whole width. I want there to still be 7 columns, even if the last redundant 2 columns are empty.
The second link example shows how i want the cells to space out with 6 records per row.

Your initial reply in the original post stated i need to edit the code, i have looked over this but with no success. How is this acheived?

Using ASP VB.

Many Thanks
Rob

Back | Reply | Quote | Top
Razvan Racasanu[InterAKT]Adobe Systems Romania staff
10-10-2006 15:43:18 GMT +2

Hello,

Please try with the attached page. I have modified the first 2 loopers on the page. You should notice that I added a new counter called noCells that is resetted for every row, and stores the number of printed cells. After the while has ended, displaying all records, I have added an extra for to rander the rest of the cells based on the counter I added (noCells).

This will add empty cells which should be rendered with a very small width compared to the others. This is why you should consider adding a fixes width to all tds outputted by the looper and the additional for so that they will look the same.

Regards,
Razvan RACASANU

Reply | Quote | Top
Rob Hussey
10-11-2006 01:14:56 GMT +2

Thank you!

Works great.
Going to miss you lot.

Rob

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.