Dynamic image size in MOTD
Hi, is it possible to make image in MOTD depend on his resolution? I actually tried like <img src="..." style="width:40%">, but it was still at the original size (like that players with 1280x1024 has a nice image that actually fits right on their monitor... and players with 800x600 won't see more than 1/4 of the image without scrolling). The style thing works only in browser, not ingame. Any help?
|
Re: Dynamic image size in MOTD
I do not think that it is possible. Only if there is a way for you to detect his resolution, I do not know if clients have cvars for that.
|
Re: Dynamic image size in MOTD
Oh, it's a pity.
|
Re: Dynamic image size in MOTD
Quote:
|
Re: Dynamic image size in MOTD
I'm not sure if it will work but you could try a division or table with a background image and have that block element with 100% size.
|
Re: Dynamic image size in MOTD
Quote:
You can hack it up using JS, but I don't think the CS browser supports it. |
| All times are GMT -4. The time now is 14:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.