Kirata -> RE: Age in the Collarme main site (2/18/2012 11:37:51 AM)
|
quote:
ORIGINAL: DaddySatyr Actually, I'm not fluent in Cascading Style Sheets (CSS) but I believe that making the ages auto-update would not take much doing because the idea behind CSS is that you make one "boiler plate template" and refer all of the new profile pages to that template... I think I used to know how to do it but in HTML; not using a CSS (which leaves me, scratching my head). Unless the latest incarnation of HTML and CSS have something new in them to allow that, I doubt it. You sure couldn't do it up to HTML4 and the version of CSS that was current then. Or at least, not just using HTML and/or CSS. If the page (as received from the server) included their birthdate, Javascript could convert that to an age and display the age instead of the birthdate (or both). But even if it didn't display the birthdate, it would still be visible to anyone who clicked "View Source." Some people might not like that. The better alternative would be to generate the HTML on demand with a server-side script. But, of course, the user would have to be willing to reveal their birthdate to CM, which not everyone might want to do. And, of course, they could still be lying (or "role-playing," as folks who do that, and the overly-kind demented, are wont to call it), so what would you really be gaining? K.
|
|
|
|