Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: New displaytype 'selectcode' (concise)

by tye (Sage)
on Jun 13, 2005 at 13:48 UTC ( [id://466162]=note: print w/replies, xml ) Need Help??


in reply to New displaytype 'selectcode'

I'd replace the table with "<p>checkbox, d/l link<br />first few lines of code...last few lines of code</p>". Code blocks tend to be large and wide and the table just makes the wideness worse and separating check boxes with huge chunks of code doesn't seem like a great interface...

If you want that interface, just put "download this" links after each code block in the original node. Yes, I'd make such links the default with a user setting to turn them off. That way, everyone knows about the capability but those who don't like it can avoid it.

I'd default to not showing inline code chunks. The times when downloading such is useful are certainly the exception. I wouldn't mind if the only way to get the inline chunks is to "download all", but providing a link "show in-line code chunks" would be fine too.

- tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found