|
Post by Wormopolis on Nov 4, 2011 22:26:44 GMT -8
Im really tired so Im not seeingthis right now. I will look again tomorrow
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 5, 2011 9:20:37 GMT -8
Yeah I kept it set to one less but it's still messing up and coming out all odd. I can put it to two for now. I left it like that so you could see the effect.
|
|
|
Post by Wormopolis on Nov 5, 2011 12:56:08 GMT -8
no no.. keep it at 4 showing with 5 affiliates. you arent doing anything wrong its just erroring out for some reason. I need to trace out where its getting caught/
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 5, 2011 18:06:59 GMT -8
Okay I'll keep it at the 4 of 5.
|
|
|
Post by Wormopolis on Nov 6, 2011 18:59:10 GMT -8
I think I know what is doing it. it doesnt like an odd number of affiliates if the number is too close to the number shown. since I have 30+ affiliates and only show 8, it never sees the endof the array until later. Im fixing that now.
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 6, 2011 20:09:46 GMT -8
I think you're right. I copied the array entries to make a total of 10 and it fixed the display issue. I can't help but wonder how many I can display out of the 10 before it errors again.
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 6, 2011 20:15:05 GMT -8
Okay 5 out of 10 will display correctly. 6 out of 10 causes the error again. Then 6 of 12 works but 7 of 12 errors.
|
|
|
Post by Wormopolis on Nov 6, 2011 21:37:13 GMT -8
did you get the new version?
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 7, 2011 4:01:36 GMT -8
Okay I grabbed the code for 1.21 from your source. That fixed the problem of the table messing up if the number displayed is close to the number in the array. However I made a small modification so the table would be the same length as the forum and the info center.
|
|
|
Post by Wormopolis on Nov 7, 2011 22:31:32 GMT -8
ok.
since affiliates are typically 88px wide, every cell is set to 90. the code normally sets the table width to 90*(number shown)+ 2 (the 2 accounting for border width each side). if you manually adjust the table that is fine, but if you set it to show more affiliates it will need to expand.
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 8, 2011 7:16:01 GMT -8
No I found that 8 will fill the available space just perfectly and I don't intend to display more than 8 at a time. Edit: Unless that mod for Stream works out and then I might add another row (once I get enough affiliates.)
|
|
|
Post by Wormopolis on Nov 8, 2011 18:28:40 GMT -8
I will probably look into it this weekend.
so you think there should be a way to force a width on the table regardless of how many affiliates across it shows? should the affiliates be centered in the cells?
|
|
NetMaster
Code Helper
"Get caught in my web!"
Posts: 305
NetMaster said 0 great things
|
Post by NetMaster on Nov 8, 2011 18:36:20 GMT -8
I guess it's user preference. I just wanted it to be the length of the rest of the tables so everything lines up. On your site it looks good just being centered under the other tables, the effect is nice and flows well. Edit: You can see the effect of centering on my forum: divisionsoftriad.proboards.com
|
|
|
Post by Wormopolis on Nov 8, 2011 19:17:12 GMT -8
I guess because I have them stacked, trying to center them makes it push the result to the right margin of the hidden image
|
|