Help Making Stats Page = Click Page & Lineages?
Hi all! I was wondering how to do two things:
1. Getting the stats on the click page. It'll probably entice guests more if they can read an interesting description. (Also getting the egg, junior, and adult descriptions unlocked as the adoptable grows.) 2. Lineages. IntoRain has been wonderful in getting the mother and father listed on the stats page, and it's better than nothing, but I really want lineages. Some thoughts I've had regarding it: -The way it's working in my head is you call the IDs of the parents and display their images with links. Then you call the IDs of their parents, etc., etc. Or maybe when they breed, it creates a lineage page and references the database to find out if a lineage page exists for the pair and adds to it. But I'm not a coder, so. -We found this site: http://www.pedigreequery.com/generator/ If nothing else can be done, having something like this where they can manually input their creatures would be okay. (Very cumbersome, though.) It'd be nice if they could type in the IDs and then hit send and it would update with linked images. They could then save it to their computer or maybe even the site? Thanks in advance for any help you can provide. |
The problem isn't calling the IDs of everything, it's doing the correct math to fit the images into a table xD For example if we have an adoptable and two parents:
<tr> <td rowspan="2">Adoptable</td> <td>Mother</td> </tr> <tr> <td>Father</td> </tr> With an adoptable, the parents and the grandparents: <tr> <td rowspan="4">Adoptable</td> <td rowspan="2">Mother</td> <td>Mother'sMother</td> </tr> <tr> <td>Mother'sFather</td> </tr> <tr><td rowspan="2">Father</td> <td>Father'sMother</td></tr> <tr><td>Father'sFather</td></tr> And we'd probably have to use recursion, which is something I don't exactly exactly know how to stop. I hope there's another way of doing it, instead of being hard-coded. |
Okay, this is the code from the pedigree chart:
HTML Code:
<!-- Begin Pedigree Table --> HTML Code:
<td rowspan='32' width='17%' class='male'> </td> Oh, and I noticed the stats are now on the click page. Thank you very much! |
All times are GMT -5. The time now is 07:20 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.