The Countess of Win at the Table of Awesome (jaeliyah) wrote in component_help,
The Countess of Win at the Table of Awesome

  • Mood:

Scrolling issue again

The good news is that I'm making progress! I figured out where to put the div code to make the area containing the entries scroll instead of making each entry scroll. Here's the code:

if ($p.view == "recent" or $p.view == "friends" or $p.view == "day" or $p.view == "reply") {

"""<div id="Layer1" style="position:relative; height:390px; z-index:1; overflow: auto;">""";

    $p->print_body(); """</div>""";}

else {

    $p->print_body(); }


That should replace $p->print_body(); in the function print_my_entries part.

Take a look at my journal to see what I mean. If you'll note, it's only on certain views. That's because it only works on certain views, wherein lies the problem. I'd like to make my calendar page and my entry page do it as well, but I don't know how. Can someone help me with the placing of the code? If you need it, I can supply the full function print_my_entries section. Just let me know. It's just so irritating being this ridiculously close to exactly how I want my journal to look.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened