Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] small textbox (+ fix)
#6
(2008-10-14, 11:10 PM)Ryan Gordon Wrote: Thanks

(2008-10-14, 11:07 PM)neverendingo Wrote: This fix only applies for konqueror, as most of the other browsers seem to work already.

Okay, but implementing it in the CSS doesn't mess up any other browsers as far as your able to tell?

I'd assume it wouldn't but you can never be too sure
it seems it doesn't mess up other browsers.
But a user of our board told us a nicer solution, i will quote him:

Quote:I just recommended the CSS because I thought it is the easiest for the KDE forums, without fiddling with the JS and trying it out in all browsers.
I cannot try it at the moment, but usually the right fix would be to modify editor.js so it sets the "cols" and "rows" attribute programatically from the values of the existing one. So in the part where you do

textInput = document.createElement("textarea");

You should also do

textInput.setAttribute("cols", oldTextbox.getAttribute("cols"));

and the same for the rows.
I will try that first at my local copy, but i guess he is right, as i see that one of the message boxes has no attributes like that at all.
forum.kde.org
Communicate.


Messages In This Thread
[F] small textbox (+ fix) - by OhReally - 2008-10-14, 03:02 PM
RE: small textbox (+ fix) - by Ryan Gordon - 2008-10-14, 10:42 PM
RE: small textbox (+ fix) - by OhReally - 2008-10-14, 11:03 PM
RE: small textbox (+ fix) - by neverendingo - 2008-10-14, 11:07 PM
RE: small textbox (+ fix) - by Ryan Gordon - 2008-10-14, 11:10 PM
RE: small textbox (+ fix) - by neverendingo - 2008-10-15, 12:05 PM
[F] small textbox (+ fix) - by Ryan Gordon - 2008-10-21, 01:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)