- Joined
- Apr 9, 2008
- Messages
- 1,416
- Reaction score
- 169
php everything is server side.
html5 still needs php to gather the ids and get the info inside the required files but then its formatted to json for html5/jQuery to display accordingly
php:
html5:
for html5 at the end of the request i made it so you throw a script tag at the end and as long as the id is the char name and class is unique you just need that 1 request and it will display each character to the right canvas tag
html5 still needs php to gather the ids and get the info inside the required files but then its formatted to json for html5/jQuery to display accordingly
php:
Code:
<img src="character.php?name={char}" height="96" width="96 />
Code:
<canvas id="{char}" class="{unified class}" height="96" width="96"></canvas>
for html5 at the end of the request i made it so you throw a script tag at the end and as long as the id is the char name and class is unique you just need that 1 request and it will display each character to the right canvas tag