On 22/06/2007, at 5:48 AM, Marc Guenther wrote:
> But now I wonder(tm) what would be the "correct" way to have both
> behaviours. After playing around for some time, I now have
> something which I quite like. Lets say we have this file:
>
> <html>
> <head>
> <title>Triple click is cool</title>
> </head>
> <body>
> <h1>What should we do</h1>
> <webobject name="TripleClickMe">
> Click here
> </webobject>
> </body>
> </html>
>
> Now, a triple click can either select the whole line, or the
> surrounding html element. What should it be?
Maybe.... If triple clicking within a tag then it selects all the
contents within the tag (on that line). If triple-clicking on a tag
it selects the tag and its contents also. Quadruple adjusts the
previously mentioned behaviour by also selecting to the edge of the
left/right whitespace. Clicking or not on whitespace shouldn't matter
I think.
<html>
<head>
<title>Triple click somewhere in here selects this text</title>
</head>
<!-- triple clicking somewhere in <body> or </body> selects
<body>....</body> -->
<body>
<h1>quadruple clicking in here selects the entire line</h1>
<webobject
name="QuadClickingMeSelectsFromTheBeginningOfMyLineToTheEndOfTheLineOfMy
ClosingTag">
Click here
</webobject>
</body>
</html>
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Thu Jun 21 2007 - 17:59:33 EDT