Strong Enough To Break (rufusthetoaster) wrote in component_help,
Strong Enough To Break
rufusthetoaster
component_help

  • Mood:

help!

this community is awesome and i hope you can help me! im new in S2 and the paid lj world so im sorry if im doing this wrong! i have read through the tutorials and they helped a lot! i tried the shrinking and centering tutorial and i know you have to edit it but i tried and nothing happened. i want my journal to look something like http://www.livejournal.com/users/kireirei/ or http://www.livejournal.com/users/thedutchgirl/ with the entries in the center, not taking up the whole page, and the header banner in the center over the entries. i cant figure out how to do this!! im sure i sound stupid :p let me know if you need to see my codes

thanks!!





layerinfo "type" = "user";

set comp_navbar = true;

set entry_fgcolor = "#cf3ab8";

set show_entry_userpic = true;

set header_fgcolor = "#51c7cf";





set show_free_text = true;





function print_free_text(Page p) {



print_comp_header("Friends Only");

"""

<font face="Script MT Bold" font color=#3333CC> My journal is friends only. You can email me, IM me, or comment if you want to be my friend, and i will probably add you :) </font>



<p>



<center><IMG SRC="http://img.photobucket.com/albums/v703/pinkflamingos2/50462dd6.gif">  <IMG SRC="http://img.photobucket.com/albums/v703/pinkflamingos2/50462dd6.gif">  <IMG SRC="http://img.photobucket.com/albums/v703/pinkflamingos2/50462dd6.gif"> </center>

""";

print_comp_footer();



print_comp_header("Me");

"""





<p>

<font face="Script MT Bold" font color=#3333CC>

<U>Basics:</U> Dara 20 Baltimore in college

<p>

<U>Likes:</U>

music

Lifehouse

movies

Gilmore Girls

concerts

art

photography

chuck taylors

vintage clothes

""";

print_comp_footer();





print_comp_header ("Lyrics");

"""

<font face="Script MT Bold" font color=#3333CC>clever lives end up rusty and forgotten

brilliant minds end up with Alzheimer's

what I thought was so deep ended up so hollow

and what I thought had meaning ended up so shallow

<p>

standing on top of the edge it feels like it's going down

everything stays in my mind feeling in a daze on the ground

feels like it's gonna give life's too hard to live anymore

I think I've had enough things too tough

I'm out the door</font>

""";

print_comp_footer();

}





function CommentInfo::print() {

    if (not $.enabled) { return; }

    if ($.count > 0 or $.screened) {

        $this->print_readlink();

        """ <img src="http://img.photobucket.com/albums/v703/pinkflamingos2/float23pinkstarry111.gif" /> """;

    }

    $this->print_postlink();

}







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

"""; $p->print_custom_head(); """

<title>$title</title>

</head>

<body>



<table width="100%" height="x" cellspacing="0" cellpadding="0" valign="center">

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

  <td ><img src="http://img.photobucket.com/albums/v703/pinkflamingos2/lhbanneragain.jpg" width="700" height=400" alt="" border="0"></td >

  <td >

   <table width="100%" height="x" cellspacing="0" cellpadding="0" valign="top" background="">

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

     <td > </td>

    </tr>

   </table>

  </td>

  <td>

   <img src="" width=250" height="400" alt="" border="0">

  </td>

</tr>

</table>



<div>

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

</div>



<table width="100%" cellspacing="0" cellpadding="0" valign="top">

<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="1" 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_my_entries(Page p, string title) {



# Start the column for the body. Do not delete this line.

    """<td valign="top" width="100%">""";

    

   $p->print_body();

}


Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 5 comments