Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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

In reply to Re^4: Edit scratchpad from within the scratchpad by BigLug
in thread Edit scratchpad from within the scratchpad by tilly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2021-06-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (134 votes). Check out past polls.

    Notices?