[geeklog-devel] Handling of exceptionally long linesthatbreakthevisual flow of the page

Michael Jervis mjervis at gmail.com
Thu Mar 13 12:50:05 EDT 2008


Jessica,

I think what Rob was suggesting was using Operator AI.

So, we already have [code] and now [raw] tags in stories for
pre-formatted stuff. Author's putting stuff that they need to auto
scroll would have to enter in the HTML Story mode:

<div class="dealwithmynbspsplease">
</div>

And the dealwithmynbspsplease class would be defined in your style for
your theme.

At least, I think that's what Rob was suggesting. He may have been
suggesting a [magicwrapping] tag of course.

Again, as your issue can be resolved to your satisfaction for your
site with adding CSS to your theme, I'd suggest that's the best
solution given a Geeklog Enforced solution appears to immediately
cause problems for other people

Mike

On Thu, Mar 13, 2008 at 4:33 PM, Blank, Jessica
<Jessica.Blank at mtvnmix.com> wrote:
> Doing it this way would introduce a significant amount of complexity.
>  How would you detect 'the code snippet'? How would Geeklog know where
>  the div starts and where it ends?
>
>  Without strong AI, I don't think a solution that automagically and
>  intelligently detects segments of code containing large lines and wraps
>  them in <div> ... </div> is possible. The only way is to either set
>  overflow-x properties on the entire story, or nothing at all... Unless I
>  missed something?
>
>
>  --Jessica
>
>  -----Original Message-----
>  From: geeklog-devel-bounces at lists.geeklog.net
>  [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Rob
>  Griffiths
>
> Sent: Thursday, March 13, 2008 12:25 PM
>  To: Geeklog Development
>  Subject: Re: [geeklog-devel] Handling of exceptionally long
>  linesthatbreakthevisual flow of the page
>
>
>
> On Mar 13, 2008, at 9:14 AM, Blank, Jessica wrote:
>
>  > set 'overlfow-x' to 'auto' on the .story-body class. :)
>
>  That wouldn't necessarily work -- I don't want the entire body set to
>  overflow, just the code snippet. Example:
>
>  http://www.macosxhints.com/article.php?story=20080305012955463
>
>  I wouldn't want that whole story to gain a scroll bar just due to the
>  code snippet. That's why I prefer the <div> solution, so it isolates the
>  longer lines.
>
>  -rob.
>  _______________________________________________
>  geeklog-devel mailing list
>  geeklog-devel at lists.geeklog.net
>  http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>  _______________________________________________
>  geeklog-devel mailing list
>  geeklog-devel at lists.geeklog.net
>  http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>



-- 
Michael Jervis
mjervis at gmail.com
504B03041400000008008F846431E3543A820800000006000000060000007765
62676F642B4F4D4ACF4F0100504B010214001400000008008F846431E3543A82
0800000006000000060000000000000000002000000000000000776562676F64
504B05060000000001000100340000002C0000000000



More information about the geeklog-devel mailing list