through the looking glass (girlfindsworld) wrote in component_help,
through the looking glass
girlfindsworld
component_help

Problems with incorporating code to remove Title Bar

I've searched for information about removing the Title Bar from my journal, and have tried the various codes which i've encountered. However, all of them, once added, seem to mess up the layout of my different components completely.
I suspect this is me doing in incorrectly. Would somebody be willing to take a look at my coding


layerinfo "type" = "user";
set font_size = "small";
set lineheight = 11;
set font_family = "Tahoma, sans-serif";
set nav_entries_text = "to touch is to heal";
set nav_friends_text = "to hurt is to steal";
set nav_calendar_text = "if you wanna kiss the sky";
set nav_info_text = "better learn how to kneel";
set text_post_comment = "Leave a comment";
set text_read_comments = "1 comment // # comments";
set text_post_comment_friends = "Leave a comment";
set text_read_comments_friends = "1 comment // # comments";
set comment_divider = " | ";
set text_meta_mood = "Mood";
set text_meta_music = "Music";
set links_text = "Links";
set calendar_text = "Calendar";
set nav_text_back = "Previous";
set nav_text_forward = "Next";
set page_recent_items = 10;
set page_friends_items = 10;
set comp_navbar = false;
set show_profile = true;
set use_shared_pic = true;
set show_entry_userpic = true;
set view_entry_disabled = false;
set show_free_text = true;
set comp_state = "left";
set free_text = "";
set second_position ="profile_order";
set third_position = "links_order";
set fourth_position = "free_text_order";
set fifth_position = "calendar_order";
set lang_fmt_date_long = "- %%day%%: %%month%% %%dayord%%, %%yyyy%%";
set background_repeat = "repeat";
set background_position = "center";
set background_scrolling = "fixed";
set header_bgcolor = "#E5E5E5";
set header_fgcolor = "#7B7B7B";
set main_bgcolor = "#D6D6D6";
set comp_bgcolor = "#F4F4F4";
set entry_bgcolor = "#FFFFFF";
set entry_fgcolor = "#6D6D6D";
set entry_link = "#333333";
set entry_link_visited = "#333333";
set calendar_fgcolor = "#333333";
set calendar_link = "#333333";
set calendar_active = "#DFDFDF";
set calendar_inactive = "#C8C8C8";
set comments_bgcolor = "#C8C8C8";
set comments_screened_bgcolor = "#C0C0C0";

function page_layout(Page p) {
# Set this to the width that you want both the navbar (if it exists) and the whole journal to be
# may be percentage (90%) or number of pixels (0px).
var string k1Swidth = "82%";

# Start the html document and print the head section which controls the page title, stylesheet information,
# server supplied head content, and custom header informtion from the print_custom_head function.
var string title = $p->title();
"""


""";

# Start the body section of the html document which controls the visible parts of the page.
"""""";

# If you want a picture to be at the top of your journal, edit and decomment this section.
"""
caption
""";

if($k1Swidth != "") {
"""
""";
}

# Print the navigation bar if it is needed. This can be incorporated into any other tutorials which override
# the page_layout() function, and should be placed immediately after the tag above.
if (not $*comp_navbar or $*comp_state=="none") {
"""
""";
print "$*nav_entries_text";

print "$*nav_friends_text";

print "$*nav_calendar_text";

print "$*nav_info_text";

var string mylink1 = "http://www.livejournal.com/users/girlfindsworld/42497.html";
var string mylinkname1 = "words so leisured (my playlist)";
print "$mylinkname1";



if ($p.journal.website_url != "") {
print "$p.journal.website_name";
}
$p->lay_viewspec_nav(); # prints previous / next links including arrow images
"""

""";
}

# Print a spacer at the top of the page above the components and main area.
"""
""";

# Start the table which lays out the components and main area in side-by-side layout
"""
"""; # If the components are supposed to be on the left side of the page, then print them, followed by a column # with a spacer which is to seperate the components and the main area. if ($*comp_state == "left") { print_my_components($p); """ """; } # Print the main area of the page. print_my_entries($p, $title); # If the components are supposed to be on the right side of the page, then first print a column with a spacer # and then print the components after the spacer. if ($*comp_state == "right") { """ """; print_my_components($p); } # Finish off the table for the body """









""";

if($k1Swidth != "") {
"""
""";
}

# End the body section and end the html document
"""


""";
}

function print_free_text(Page p) {
print_comp_header("HEADER");
"""

FREE SPACE

[Keep in mind that if you get enough
text here, a scrollbar will appear.
If you don't want the scrollbar, make
the height on this header bigger in
the above "div id." If you do want a
scroll bar, make the header smaller.



You can make as many components as you want.
Just copy and paste from "print_comp_header ..."
to the "pring_comp_footer ... "]
""";
print_comp_footer();

print_comp_header("HEADER");
"""

FREE SPACE

[Keep in mind that if you get enough
text here, a scrollbar will appear.
If you don't want the scrollbar, make
the height on this header bigger in
the above "div id." If you do want a
scroll bar, make the header smaller.



You can make as many components as you want.
Just copy and paste from "print_comp_header ..."
to the "pring_comp_footer ... "]
""";
print_comp_footer();

print_comp_header("Hearing");
"""


Album
ALBUM TITLE
ARTIST

Album
ALBUM TITLE
ARTIST

Album
ALBUM TITLE
ARTIST

Album
ALBUM TITLE
ARTIST


""";
print_comp_footer();

print_comp_header("Watching");
"""


TV SHOW
TV SHOW TITLE
GENRE

TV SHOW
TV SHOW TITLE
GENRE

TV SHOW
TV SHOW TITLE
GENRE

TV SHOW
TV SHOW TITLE
GENRE


""";
print_comp_footer();

print_comp_header("Wanting");
"""


Movie
MOVIE TITLE
GENRE

Movie
MOVIE TITLE
GENRE

Movie
MOVIE TITLE
GENRE

Movie
MOVIE TITLE
GENRE


""";
print_comp_footer();
}



and have an attempt at incorporating the coding into it for me? I'd be extremely grateful, and I assure you - this isn't through lack of trying.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment