you're my every thought here. (fixated) wrote in component_help,
you're my every thought here.
fixated
component_help

  • Mood:
i am sorry to post this again, but i really do not understand it.

how do you get a component set up like _eighty8s "friends" one? (she lists a bunch of friends and the links to their journals) i have a component sort of like that but looks messed up and spaced out, and hers allows her to have more people, etc.

if you could comment or something...that would be great. thanks & sorry i don't understand.

[EDITED AND PUT MY WHOLE THEME CODE UNDER THE CUT]




layerinfo "type" = "theme";

layerinfo "name" = "My Theme";



function Page::print_custom_head() {

""";

    <style type="text/css">

A:link {font-size:8; font-weight:bold;}

   </style>

""";

}



set show_free_text = true;

function print_free_text(Page p) {

  print_comp_header("LOVING");

  """

<div id="Layer1" style="border:0px solid #878787; position:relative; width:100%; height:100px; z-index:1; overflow: auto; overflow-x: hidden; scrollbar-3dlight-color: #f1c9d4; scrollbar-arrow-color: #ffffff; scrollbar-base-color: #f1c9d4; scrollbar-darkshadow-color: #FFFF00; scrollbar-face-color: #f1c9d4; scrollbar-highlight-color: #FFFF00; scrollbar-shadow-color: #f1c9d4;">

<table width="100%" cellpadding="3" cellspacing="0">

<tr bgcolor="#faf4e4">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/ljloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>LiVEJOURNAL</b><br><i>The best journal site you'll find.</i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/ashleeloving.jpg"border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>ASHLEE SiMPSON</b><br><i>Not just Jess's little sis</i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/britloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>BRiTNEY SPEARS</b><br><i>Do you dare?</i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/chadmmloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>CHAD MiCHAEL MURRAY</b><br><i>is HOT love.</i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/lindsayloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>LiNDSAY LOHAN</b><br><i>i'm tired of rumors starting.</i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/parisandnickyloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>PARiS AND NiCKY HiLTON</b><br><i>heiresses.</i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/mkaloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>MARY-KATE & ASHLEY</b><br><i>beauty queens of only 18.</i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/sophiabushloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>SOPHiA BUSH</b><br><i>luckiest girl alive.</i><br> </td>

</tr>



<table width="100%" cellpadding="3" cellspacing="0">

<tr bgcolor="#faf4e4">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/meangirlsloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>MEAN GiRLS</b><br><i>if you're from Africa, why are you white?</i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/13goingon30loving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>13 GOiNG ON 30</b><br><i>i need a fluffy pillow.</i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/boyswhovoteloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>BOYS WHO VOTE</b><br><i>vote or die.</i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<img src="http://img.photobucket.com/albums/v387/alison1234/jessimpsonloving.jpg" border="0" style="border: 1px solid #000" /></td>

<td align="left"><b>JESSiCA SIMPSON</b><br><i>life is better <s>dumb</s> blonde.</i><br> </td>

</tr>



</tr>

</table>



</div>



""";

  print_comp_footer();





print_comp_header("FAVORITE LJ FRIENDS");

"""

<div id="Layer1" style="border:0px solid #878787; position:relative; width:100%; height:100px; z-index:1; overflow: auto; overflow-x: hidden; scrollbar-3dlight-color: #f1c9d4; scrollbar-arrow-color: #ffffff; scrollbar-base-color: #f1c9d4; scrollbar-darkshadow-color: #FFFF00; scrollbar-face-color: #f1c9d4; scrollbar-highlight-color: #FFFF00; scrollbar-shadow-color: #f1c9d4;">

<table width="100%" cellpadding="3" cellspacing="0">

<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/_eighty8">ELYSE.</a></td>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/_kayt_">KATIE.</a></td>

<td align="left"><b>KATIE.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/a1lixo">ALLI.</a></td>

<td align="left"><b>ALLI.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/kaylashae">KAYLA.</a></td>

<td align="left"><b>KAYLA.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/suziebr">SUZIE.</a></td>

<td align="left"><b>SUZIE.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/misty_allure">TINA.</a></td>

<td align="left"><b>TINA.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/passthatversace">MANDY.</a></td>

<td align="left"><b>MANDY.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/xxheiress">PARIS.</a></td>

<td align="left"><b>PARIS.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/versace_vixen">LAURA.</a></td>

<td align="left"><b>LAURA.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/whatsgoodforme">TYLER.</a></td>

<td align="left"><b>TYLER.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/innocently">JESS.</a></td>

<td align="left"><b>JESS.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/_black_ink">OTHER JESS.</a></td>

<td align="left"><b>OTHER JESS.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/odds_against_me">JEN.</a></td>

<td align="left"><b>JEN.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/_amoureuxx">ELIZABETH.</a></td>

<td align="left"><b>ELIZABETH.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/nadiabritneyfan">NADIA.</a></td>

<td align="left"><b>NADIA.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/punkgurlio">LIBBY.</a></td>

<td align="left"><b>LIBBY.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/sweetkisses822">BRI.</a></td>

<td align="left"><b>BRI.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/punk_teen07">KEVIN.</a></td>

<td align="left"><b>KEVIN.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/x3heartbrokenx3">JENNIFER.</a></td>

<td align="left"><b>JENNIFER.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#faf4e4">

<td align="left">

<a href="http://www.livejournal.com/users/sossers">SOLI.</a></td>

<td align="left"><b>SOLI.</b><br><i></i><br> </td>

</tr>



<tr bgcolor="#eeeeee">

<td align="left">

<a href="http://www.livejournal.com/users/_sobeautiful">_SOBEAUTIFUL.</a></td>

<td align="left"><b>_SOBEAUTIFUL.</b><br><i></i><br> </td>

</tr>



</tr>



</tr>

</table>

</div>

""";

  print_comp_footer();



}



function page_layout(Page p) {



var string title = $p->title();



"""



<html>



<head>



<link rel="stylesheet" href="$p.stylesheet_url" type="text/css" />



$p.head_content



<title>v. crash world.</title>



</head>



<body>



<table width="85%" cellspacing="0" cellpadding="0" valign="top" align="center">



<tr valign="top" width="100%">



<td width="3">



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



</td>



""";







if ($*comp_state == "left") {



print_my_components($p);



"""



<td width="3">



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



</td>



""";



}







print_my_entries($p, $title);



if ($*comp_state == "right") {



"""



<td width="3">



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



</td>



""";







print_my_components($p);



}



"""



<td width="3">



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



</td>



</tr>



</table>



</body>



</html>



""";



}







function print_profile(Page p) {



print_comp_header("ABOUT ME");



"""



<table cellspacing="0" cellpadding="0" border="0">



<tr>



<td width="50%" align="center">



</td>



<td align="center"><br /><div><b>Ali.</b> Boy-crazy. Loves anything pink. <b>Has become incredibly close to some of her LJ friends.

(specifically Mandy, Tina, Tyler, Elizabeth, Paris, and _sobeautiful)</b>

Current favorite songs include: My Prerogative, My Boo, Rumors, Overnight Celebrity, Jesus Walks, and many others.

Green eyed goddess. Favorite stores: A&F, Hollister, American Eagle, Kitson (though she lives nowhere near Kitson).

<b>For more info, ask to be added (but read the rules in her info first, of course!)</b> and she might add you back.</div></td>



<td align="center"><br /><a href="http://www.livejournal.com/allpics.bml?user=xopiecesofme3xo" alt="View my user icons">$p.journal.default_pic</a></td>



<td width="50%" align="center">



</td>



</tr>







<tr>



<td colspan="3" class="compContent">



<div><b>user:</b> <span class="ljuser" style="white-space:nowrap;"><a href="http://www.livejournal.com/users/xopiecesofme3xo/info"><img src="http://stat.livejournal.com/img/userinfo.gif" alt="userinfo" width="17" height="17" style="vertical-align:bottom; border:0;" /></a><a href="http://www.livejournal.com/users/xopiecesofme3xo"><b>xopiecesofme3xo</b></a></span></div>



</div>



</td>



</tr>



</table>



""";







print_comp_footer();



}


</code>
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 2 comments