You are not logged in.
Instead of the standard font sizes dropdown list, I'd like to be able to create a custom list of font sizes (eg: small, medium, large) and have it generate something like: <span style="font-size: 12px">...</span>
can anyone tell me if this is already possible?
Offline
Anyone???
Offline
Thanks for the reply Pioden
I know there are configuration options to change the options that appear in the dropdown, you cannot change it to pixels because the <font> tag will not accept pixels in the size parameter, only 1,2,3,4 etc (which equates to pt not px)
I suspect you are right about having to dig into the source code to find a solution... the problem is I dont know where to start!... can you tell me (roughly) where I would find the relevant bit of source code which outputs the <font> tag?
Offline
Thanks for the reply Pioden
No worries. The name's Huw by the way.
I suspect you are right about having to dig into the source code to find a solution... the problem is I dont know where to start!... can you tell me (roughly) where I would find the relevant bit of source code which outputs the <font> tag?
Try line 213 of the XinhaCore.js file :-) The sizes are laid out in the format "1 (8 pt)":"1", - I'm guessing you can replace this with any CSS/HTML compatible code. Try some stuff out and see what happens. I've found Xinha to be very easy to hack around in.
Let us know how you get on.
Offline