Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: Edit scratchpad from within the scratchpad

by BigLug (Chaplain)
on May 12, 2004 at 22:58 UTC ( #352913=note: print w/replies, xml ) Need Help??

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

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." -- in clpm

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://352913]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-07-04 05:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found