View Single Post
  #155  
03-03-2013, 01:43 PM
Havoc's Avatar
Havoc
Cheesecake Apocalypse
 
: May 2003
: Netherlands
: 9,976
Blog Entries: 71
Rep Power: 30
Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)Havoc  (4126)

:
Huh, I didn’t know that.

I guess if it’s possible to use those conditionals to detect width in a similar fashion to CSS media queries it would be totally possible to have it conditionally display usernames in one container or another.

I wonder if conditionals update on browser resize though...
They won't. Conditionals are only refreshed when the page is loaded or refreshed. In practice this shouldn't be a problem though since the size is static 99% of the time. You just have to make sure it detects the browser properly and displays the right HTML for it.
__________________
The Oddworld Wiki

When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion.

Reply With Quote