- 6,668
- California
- Axidwulv
I was originally going to put this in the Programming forum, but i decided not to, since it'd get more looks here, and it does have something to do with web design... Anyway, take a look:
![](/forum/proxy.php?image=http%3A%2F%2Fwww.bladestorm.net%2Ftehacidx%2Fmisc%2Fonline.php&hash=f9bf14908accf107ea1b65c0816935bf)
Looks like an ordinary graphic, doesnt it? Well, you're wrong!
See, this whole image (every little bit) is auto-generated by PHP. The text snippet under update and q-blog are read from my websites database. Update being the latest update i posted on my website (cut off, naturally to fit), and the Q-Blog is a string of text that i can update whenever i feel like it. It's like a blog, but every update is very mini, and you can only see one of them.
Sure, i could stop there and say thats all to the graphic, but its not! The whole area that holds the Q-Blog text actually moves up and down depending on how long the q-blog text is, so it will never get cut off. On top of that, when the little area is moved up or down, the news text stops appropriately before the q-blog area starts. This is automatically calculated by how many lines the q-blog has.
Also, you can see it says "Click for more" on the graphic. This is to represent if you want to see more of the news item. All i do is add a hyperlink before the image and it will take you to my website to see the rest of the update (which is on the main page), but that has nothing really to do with the actual graphic anyway.
The online status actually checks the status of my ICQ, and detects whether im logged in or not. This is made very easy thanks to the web-aware feature in ICQ.
Anyway, lemme know what you think, and if you ahve any questions, feel free to post them here.
EDIT: Oh, and in case you didnt notice, that part that says "Click for more" changes when the graphic is displayed on my website.. Yes, it's the same image.![Wink ;) ;)](/wp-content/themes/gtp16/images/smilies/wink.svg?v=3)
Looks like an ordinary graphic, doesnt it? Well, you're wrong!
See, this whole image (every little bit) is auto-generated by PHP. The text snippet under update and q-blog are read from my websites database. Update being the latest update i posted on my website (cut off, naturally to fit), and the Q-Blog is a string of text that i can update whenever i feel like it. It's like a blog, but every update is very mini, and you can only see one of them.
Sure, i could stop there and say thats all to the graphic, but its not! The whole area that holds the Q-Blog text actually moves up and down depending on how long the q-blog text is, so it will never get cut off. On top of that, when the little area is moved up or down, the news text stops appropriately before the q-blog area starts. This is automatically calculated by how many lines the q-blog has.
Also, you can see it says "Click for more" on the graphic. This is to represent if you want to see more of the news item. All i do is add a hyperlink before the image and it will take you to my website to see the rest of the update (which is on the main page), but that has nothing really to do with the actual graphic anyway.
The online status actually checks the status of my ICQ, and detects whether im logged in or not. This is made very easy thanks to the web-aware feature in ICQ.
Anyway, lemme know what you think, and if you ahve any questions, feel free to post them here.
EDIT: Oh, and in case you didnt notice, that part that says "Click for more" changes when the graphic is displayed on my website.. Yes, it's the same image.