Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
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.
__________________
Avatar courtesy of Doll Divine. |
#2
|
||||
|
||||
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.
__________________
asp.net stole my soul. |
#3
|
||||
|
||||
Okay, this is the code from the pedigree chart:
HTML Code:
<!-- Begin Pedigree Table --> <style> .male { background-color: #CCCCCC; color: #000000; font-family: Arial; font-size: 8pt; text-align: center; vertical-align: middle; border-collapse: collapse; border: 1px solid #000000; } .female { background-color: #FFFFFF; color: #000000; font-family: Arial; font-size: 8pt; text-align: center; vertical-align: middle; border-collapse: collapse; border: 1px solid #000000; } </style> <table border="0" cellpadding="0" width='95%'> <tr><td> <table style="border: 1px solid #000000; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <td rowspan='32' width='17%' class='male'> </td> <td rowspan='16' width='17%' class='male'> </td> <td rowspan='8' width='17%' class='male'> </td> <td rowspan='4' width='17%' class='male'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='4' width='17%' class='female'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='8' width='17%' class='female'> </td> <td rowspan='4' width='17%' class='male'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='4' width='17%' class='female'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='16' width='17%' class='female'> </td> <td rowspan='8' width='17%' class='male'> </td> <td rowspan='4' width='17%' class='male'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='4' width='17%' class='female'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='8' width='17%' class='female'> </td> <td rowspan='4' width='17%' class='male'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='4' width='17%' class='female'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> <td rowspan='2' width='17%' class='female'> </td> <td rowspan='1' width='17%' class='male'> </td> </tr><tr> <td rowspan='1' width='17%' class='female'> </td> </tr><tr> </table> </td><tr> <tr><td align='right' valign='top' style='padding-top: 0px margin-top: 0px; font-size:8pt; font-family: Arial'><a href='http://www.pedigreequery.com/'>Pedigree</a> generated by PedigreeQuery.com </td><tr> </table> <!-- End Pedigree Table --> HTML Code:
<td rowspan='32' width='17%' class='male'> </td> <td rowspan='16' width='17%' class='male'> </td> <td rowspan='8' width='17%' class='male'> </td> <td rowspan='4' width='17%' class='male'> </td> <td rowspan='2' width='17%' class='male'> </td> <td rowspan='1' width='17%' class='male'> </td> Oh, and I noticed the stats are now on the click page. Thank you very much!
__________________
Avatar courtesy of Doll Divine. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Editing Stats Page & Little Icon | Glow | Questions and Supports | 4 | 12-07-2014 09:29 AM |
Online list ... and a Stats Page for Players | Missy Master | Questions and Supports | 2 | 07-07-2014 10:58 AM |
Showing stats on click page | Hwona | Questions and Supports | 9 | 05-07-2014 08:40 AM |
Adopt Page & Pound Page change? | tahbikat | Questions and Supports | 3 | 02-14-2014 04:19 PM |
Random Adoptable Click page | AlkseeyaKC | Suggestions and Feature Requests | 4 | 07-01-2011 03:49 PM |
What's New? |
What's Hot? |
What's Popular? |