in reply to Re^3: Edit scratchpad from within the scratchpad
in thread Edit scratchpad from within the scratchpad

tye:
I'm a bit tired of the update window when I'm not updating
I can't agree more! Now that I can edit a root node without changing the URL or clicking anywhere, the page is a whole lot longer (my CSS has a large textarea as when I'm editing I like to see a fair bit of what I'm typing)

... moments later, inspiration strikes ...

While I'm typing this it has just occurred to me, I'm quite happy to have textareas on the pages after all. (Sorry tye)

Now, this doesn't work in all browsers (IE for mac doesn't work; Safari does). But if you set your textarea CSS as below, textareas are tiny until focused. Once focused they 'spring open'. If your browser supports it.

textarea { width: 400px; height: 20px; } textarea:focus { height: 400px; }
Of course you can set your sizes to whatever you want, just experiment.

So, having done that, I can now just click into textareas I want to edit. When I don't want to edit I don't focus them and so they don't spring open.

"Get real! This is a discussion group, not a helpdesk. You post something, we discuss its implications. If the discussion happens to answer a question you've asked, that's incidental." -- nobull@mail.com in clpm