
| Site Stats |
| Currently: 5 online
Total Hits: 3095823 |
| Domain Info |
| - Hosting brought on 06/19/2003 - Hosted by Ace-host recommended - 5GB space 60Gb data/month |
| Display information |
Optimised for:
1024 x 768 resolution Internet Explorer Macromedia FlashAlso tested and working in: Netscape Mozilla Firefox
|
| Being Validated |
|
| Girl |
| Char, 20, female, British, Gemini, ...more? |
| Alternative Navigation |
Girl Domain Tutorials Goodies Etc Clear |
| Recommended |
![]() |
| Change skin |
| Give a gift :) |
| Cam |
|
|
| Affiliates |
| Top 15 Referrers |
| 1) cute-spot.com [6765] 2) cute-spot.com [4134] 3) veredgf.fre... [3463] 4) carrieware.com [1678] 5) bouncy-bubb... [966] 6) divergente.org [846] 7) rainbow-bit... [744] 8) bouncy-bubb... [733] 9) shatteredel... [639] 10) rainbow-bit... [635] 11) yanhuahuo.b... [630] 12) cute.startk... [584] 13) users.volja... [565] 14) kao-ani.com [541] 15) so-juicy.net [537] |
| Search |
|
|
| so-youNET Advertisments! |
![]() akuhei.nu |
|
Want to advertise here? Email me char@so-you.net click here for details |
| Different images for different skins |
|
OK this tutorial is meant for people who have fully
skinned their site by following my tutorial. When you go through my
site you will see that when you change to a different skin alot of my
images, for example my link me button and my bullets change to fit in with
the theme. This is very simple to do:
Basically when a person chooses a skin, their skin
number is stored in a cookie file, you can bring up the skin number a
person is using by using the php variable $skin for example <?php echo
"you are using skin number $skin";?> looks like
you are using skin number 8 Soo you should now be thinking I know how to do this now! don't worry if you haven't quite yet realised how to do it, I will show you. For my bullets I use the code <?php echo "<img src=bullet$skin.gif>";?> When someone enters the page using skin 1 this means that an image appears called bullet1.gif, simple huh? You could also make separate folders called 1, 2, 3, etc depending on how many skins you have and then call the images the same in each folder and put something along the lines of <?php echo "<img src=image/$skin/bullet.gif>";?> Experiment :P ! All tutorials © char, do not copy ! |