Page 1 of 1

Allow CSS skin to display >160 character object descriptions

Posted: Thu Jun 12, 2014 8:46 pm
by computaertist
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:

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.

Re: Allow CSS to display custom object descriptions.

Posted: Fri Jun 13, 2014 7:39 pm
by hyrle
I already use a custom CSS skin, so I would probably use this if the option exists. I would also love to be able to apply a custom color to custom descriptions as well.

Re: Allow CSS to display custom object descriptions.

Posted: Sat Jun 14, 2014 12:01 am
by computaertist
hyrle wrote:I would also love to be able to apply a custom color to custom descriptions as well.

So do I, and if I had reason to believe the implementation was almost certainly as simple as changing a few lines of code, I would suggest it. Unfortunately I do not know exactly how custom descriptions have been implemented, so I can't know what exactly that change would require, and unlike what I did suggest that's not something I know how to find out by examining the information that ends up in my browser when I go to the appropriate page.

Speaking of appropriate pages, considering that default descriptions never show up in the inventory page at all (only custom ones do), there is no need to bring up ideas for distinguishing default descriptions from custom description in this thread... except perhaps that my title now is too inclusive... I suppose I'll have to change it again to make it more specific without making it too hard to understand again...

Re: Allow CSS skin to display >160 character object descript

Posted: Tue Jun 24, 2014 10:44 pm
by Greek
Now it should become possible.

Ctrl+r on inventory page if it isn't.

Re: Allow CSS skin to display >160 character object descript

Posted: Wed Jun 25, 2014 2:25 am
by computaertist
Thank you :D :D :D