Mark (feverabove) wrote in component_help,
Mark
feverabove
component_help

Two Problems

Problem #1

If you look at my journal, you will see that in my entry boxes I have the icon inside the text area. I was trying to rearrange my coding so that it would be aligned to the right of both my subject and the entry text, but I've been having a few problems.

This is my coding:

if ($e.subject!="") { """

        <div class="entryHeader">$e.subject</div>

        <div class="entryDash"><img src="http://www.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></div>

      </td>

      <td width="1" class="medLine"><img src="http://stat.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>

    </tr>

    <tr>

      <td width="1" class="medLine"><img src="http://stat.livejournal.com/palimg/component/clear.gif" width="1" height="1" alt="" border="0" /></td>

      <td class="entry">

  """; }





"""<img border="0" src="$e.userpic.url" align="right" width="$e.userpic.width" height="$e.userpic.height" alt=""/>$e.text """;


If I make any attempt at rearranging it so the icon is shifted upwards towards the subject, I usually end up with a very big mess.

Problem #2

I've looked over this tutorial, but it doesn't seem to explain how to make straight forward links as a navigation thing. I have divided my friends into custom groups, and I wanted to link the different groups on my navigation component.
The coding for my navigation component looks pretty complicated (here's a tiny snippet of it):


    var string[] views_order = ["recent", "friends", "archive", "userinfo"];


I can't really figure out how I would incoporate regular links as a navigation. Is it possible?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments