Board Thread:General Discussion/@comment-76.102.61.64-20130602062154/@comment-5555007-20130602105757

Hm... One problem with this idea is that usually the tables for breeding a dragon are quite large, and would take up a lot of space to display. But that could be possibly remedied by having a show/hide feature.

The main problem is that the Breeding Calculator is not simply a bunch of tables that you can select from; rather, it stores information about how breeding works and generates the tables based on which dragons you select. This means two things: first, it would take a lot more data to store each dragon's table on its page than it does to store the code for the Calculator as it is now; and secondly, it would be a lot more work to update it whenever new dragons or breeding rules are introduced.

However, while I was typing this, I think I came up with a solution. Rather than storing the tables, each dragon page could access the same code that the Breeding Calculator uses, and generate the table from that. I'm not entirely sure if this is possible though, as I don't have any experience with javascript. That way the code would only have to be updated once, and it would fix all the pages. The thing is, the Breeding Calculator page is locked so that only admins can edit it (because it's a bit complicated and people might accidentally break it) so I don't know if it would have to be the same for this or not.

So yeah, long post is long. I personally think it might be better the way it is (due to the tables being so large), but I'm interested to see what other people think. :)