Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Adventures in Scrolling: Select Code to Download

by QM (Vicar)
on Aug 22, 2005 at 21:05 UTC ( #485771=monkdiscuss: print w/ replies, xml ) Need Help??

Is it possible to put the link for "d/l this" and the checkbox for "Select #?" at the top of the column they're in, rather than in the vertical center?

I seem to generate significant annoyance points while scrolling down a long piece of code looking for this. Or perhaps there's an easier way for me to get there without Perlmonks changing to suit my shortcoming?

-QM
--
Quantum Mechanics: The dreams stuff is made of

Comment on Adventures in Scrolling: Select Code to Download
Re: Adventures in Scrolling: Select Code to Download (concise)
by tye (Cardinal) on Aug 22, 2005 at 21:49 UTC

    In Re: New displaytype 'selectcode' (concise), I wrote:

    I'd replace the table with "<p>checkbox, d/l link<br />first few lines of code...last few lines of code</p>". [...] separating check boxes with huge chunks of code doesn't seem like a great interface...

    Along with other suggestions, in case someone wants to improve this.

    - tye        

      This is done more or less. Although i used an ordered list instead of just 'p' tags.

      ---
      $world=~s/war/peace/g

        Looks good. Thanks!

        - tye        

Re: Adventures in Scrolling: Select Code to Download
by bmann (Priest) on Aug 22, 2005 at 22:45 UTC
    Depending on your browser, you could use "On-Site CSS Markup" in your user settings to change this.

    If you use Firefox/Mozilla, try adding

    input[value="Download Selected Code"] + br + table td{ vertical-align: top; }
    to your user style sheet.

    If you use IE (or you don't care if all td's get aligned to the top)*, add

    td { vertical-align: top; }
    to your user style sheet.

    IE doesn't support adjacent sibling selectors. In the few minutes I spent looking at this I didn't see a way for IE to see just the "d/l this" td's without using javascript.

    * I think just "d/l code" and "reply-dl/code" will visibly change, but don't quote me on that ;)

      If you use IE (or you don't care if all td's get aligned to the top)...
      Actually, I have the same annoyance with "reply/select/download" shown in the thread listing to the right of replies to the original post. I think all of these elements should be in the same place (in an absolute sense), regardless of the length of the node text (not in a relative sense). The top is a little easier to find, but the bottom makes it a little more difficult to reply/download without reading something of the post.

      Update: I've tried both in Firefox, and decided on the later, at least for now. (Are there any tds that shouldn't be modified this way?)

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://485771]
Approved by kutsu
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2015-07-01 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls