Quote:
Originally Posted by terminator101
That's odd. I don't recall anyone saying that the multiple alternate headers functionality was "impossible".
|
It happened a few times actually, the most recent time was
here. It doesn't matter too much though, I really shouldn't be trying to make decisions for the site anyway; I was getting waaay ahead of myself.
Quote:
Originally Posted by terminator101
That is too bad that your CSS workaround is only a temporary fix. I guess that we need someone that knows PHP scripting to possibly implement the multiple alternate header functionality within vBulletin, assuming that such functionality is not already built into the application.
|
It's funny how that works. That happens so often that there is actually a saying that goes something like: "The more you invent something, the more it starts looking like a wheel."
Then again, that isn't always a bad thing--because you can get to understand wheels really well if you do that. :V
Quote:
Originally Posted by terminator101
Hmm... What you described about CSS classes and how different classes apply rules for all CSS matches sounds somewhat similar to the OOP concept of multiple inheritence
|
I can see why you'd think that, but the two concepts can't really be related.
I guess if you are looking for something similar in an OO language, in Java, the closest thing you would find to the concept of CSS classes are
annotations...
You see, at their core, CSS classes are just a piece of meaningless metadata that let you grab ahold of particular elements in a document of some form, whereas OO classes are templates for
"Objects"; containers that group together relevant information for some purpose. OO classes also contain
"methods"; pieces of code that can be used with the information in the objects a class creates.
CSS classes don't have inheritance, because they are just text, OO classes on the other hand can inherit from other classes, implement interfaces, or even be abstract so they can
only be used by having something inherit from them.