| |
LITTLERIC
Posts: 2
Score: 0
Joined: 10/26/2006
Status: offline
|
Looking for ideas on doing pixel count of content in a table row (DB-driven so it varies). Want to be able to set a <BR> with page break when doing print output so table rows have clean breaks. Anyone have experience reading properties from document model? My tests so far aren't working. Want to be able to do something like: <tr id="ANAMEFORTHISROW"> (yadda yadda yadda) </tr> ...at THIS point want to return the document.ANAMEFORTHISROW.height property to VB and add to total. If the total >= pagebreakpoint, the table is closed, page break written, new table/header written and resume with the next ... <tr id="ANAMEFORNEXTROW"> etc. Problem is getting the value from the document.ANAMEFORTHISROW.height back to the script. I assume it's a syntax issue (as in the DOM it appears you can read a height property if the property is assigned to something that can be identified with ID=xxxx) THANKS
|
|