Allow CSS skin to display >160 character object descriptions
Posted: Thu Jun 12, 2014 8:46 pm
Benefit: Nothing changes for anyone who doesn't want anything to change. Players like myself who will always want to see the whole custom description no matter how long it is will have the option of using the Custom CSS skin to force the whole description to always show up like so:
Implementation: Edit the javascript on the inventory page so that the text that would appear when a player clicks the [...] link at the end of an object's description is hidden in <span style="display:none;"></span> tags instead of not being present at all (I imagine this to be a change of maybe two lines) and the [...] link removes the style="display:none;" (I imagine this to be a change to maybe two lines).
_____________________________________________________
EDIT: I see someone voted for a clearer explanation. Let me try saying it another way:
I want to always see the custom descriptions of items, no matter how long those custom descriptions are.
Some people do not want to see more than the first 160 characters in a custom object description in their inventory unless they click the [...] link to see the rest (which is what we have already, so no change).
I'm asking for a change to maybe 4 lines of javascript which will allow everyone to have what they want, requiring no further work for the people who do not want any change but requiring myself and anyone else who wants to always see the whole descriptions to add a couple of lines to their Custom CSS skin in the interface section of Player Settings as well.
Code: Select all
.txt-label span { display:inline !important; }
.txt-label a { display:none; }
Implementation: Edit the javascript on the inventory page so that the text that would appear when a player clicks the [...] link at the end of an object's description is hidden in <span style="display:none;"></span> tags instead of not being present at all (I imagine this to be a change of maybe two lines) and the [...] link removes the style="display:none;" (I imagine this to be a change to maybe two lines).
_____________________________________________________
EDIT: I see someone voted for a clearer explanation. Let me try saying it another way:
I want to always see the custom descriptions of items, no matter how long those custom descriptions are.
Some people do not want to see more than the first 160 characters in a custom object description in their inventory unless they click the [...] link to see the rest (which is what we have already, so no change).
I'm asking for a change to maybe 4 lines of javascript which will allow everyone to have what they want, requiring no further work for the people who do not want any change but requiring myself and anyone else who wants to always see the whole descriptions to add a couple of lines to their Custom CSS skin in the interface section of Player Settings as well.