And there's nothing wrong, but there is something (mr_likestofight) wrote in component_help,
And there's nothing wrong, but there is something
mr_likestofight
component_help

  • Mood:

trying to make a scroll down journal

what's wrong with this code?

it said this: Compile error: line 58, column 5: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenIdent] = width



layerinfo "type" = "user";
function page_layout(Page p) {
var string title = $p->title();
"""



scrollbar-face-color: #666F75;
scrollbar-arrow-color: #899094;
scrollbar-base-color: #666F75;
scrollbar-shadow-color: #50575C;
scrollbar-dark-shadow-color: #1D2128;
scrollbar-highlight-color: #C5C9CB;
scrollbar-3d-light-color: #D7DaDB;



"""; if ($*comp_state == "left") { print_my_components($p); """ """; } print_my_entries($p, $title); if ($*comp_state == "right") { """ """; print_my_components($p); } """






[Error: Irreparable invalid markup ('<tdwidth="10">') in entry. Owner must fix manually. Raw contents below.]

what's wrong with this code?

it said this: Compile error: line 58, column 5: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenIdent] = width


<lj-cut text="code">
layerinfo "type" = "user";
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>$title</title>
</head>
<body>
scrollbar-face-color: #666F75;
scrollbar-arrow-color: #899094;
scrollbar-base-color: #666F75;
scrollbar-shadow-color: #50575C;
scrollbar-dark-shadow-color: #1D2128;
scrollbar-highlight-color: #C5C9CB;
scrollbar-3d-light-color: #D7DaDB;
<div id="Layer1" style="position:relative; width:850px; height:550; z-index:1; overflow: auto;">
<center>
<div id="Layer1" style="position:relative; width:850px; height:550; z-index:1; overflow: auto;">
<table width="100%" cellspacing="0" cellpadding="0" valign="top">
<tr valign="top" width="100%">
<td width="100" background="http://digitalphantasy.com/images/xmaslights2.jpg">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="100" height="1" alt="" border="0">
</td>

""";
if ($*comp_state == "left") {
print_my_components($p);
"""
<td width= "10">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="10" height="1" alt="" border="0">
</td>
""";
}
print_my_entries($p, $title);
if ($*comp_state == "right") {
"""
<td width="10">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="10" height="1" alt="" border="0">
</td>
""";
print_my_components($p);
}
"""
<tdwidth="10">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="10" height="1" alt="" border="0">
</td>
</tr>
</table>
</div>
</center>
<table width="100%" cellspacing="0" cellpadding="0" valign="top">
<tr valign="top" width="100%">
if ($*comp_state == "right") { ###
"""
<td width="10">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="10" height="1" alt="" border="0">
</td>
""";
print_my_components($p);
}
"""
<td width="10">
<img src="http://www.livejournal.com/palimg/component/clear.gif" width="10" height="1" alt="" border="0">
</td>
</tr>
</table>
</body>
</html>
""";
}

set calendar_text = "The Days Of My Life";
set text_post_comment = "Council Me";
set page_recent_items = 22;
set text_reply_back = "-";
set free_text = "";
set text_meta_mood = "Once More With My Feeling";
set nav_entries_text = "Recent Rants";
set second_position = "calendar_order";
set page_friends_items = 22;
set calendar_inactive = "#afaeb0";
set show_free_text = true;
set show_links = true;
set comment_divider = "-";
set text_read_comments = " # Sent By Quentin Travers";
set entry_fgcolor = "#fffefe";
set text_post_comment_friends = "There Just People";
set calendar_link = "#ffffff";
set comp_bgcolor = "#5a0200";
set sixth_position = "none";
set text_meta_music = "Currently Patrolling With ";
set comp_navbar = false;
set header_fgcolor = "#fff9f9";
set background_position = "right";
set comp_friends = true;
set page_summary_text = "Skip To An Entry";
set entry_link_visited = "#f5f7f5";
set font_family = "Arial, sans-serif";
set background_repeat = "repeat";
set background_scrolling = "fixed";
set fifth_position = "none";
set comments_screened_bgcolor = "#ffffff";
set text_read_comments_friends = "Congratulations # Actually Care(s)";
set icalendar = true;
set nav_text_back = "Back";
set page_background_image = "http://img22.photobucket.com/albums/v66/thezeppo88/Attatchments/CORDY.jpg";
set calendar_active = "#5e5e5e";
set nav_calendar_text = "Days Of My Life";
set fourth_position = "summary_order";
set comp_fgcolor = "#fefffc";
set free_text_text = "Regularity Is Contagious";
set underline_links = "hover";
set profile_text = "The Chosen One";
set entry_link = "#ffffff";
set header_link = "#fffdfb";
set nav_text_forward = "Foward";
set show_entry_userpic = true;
set show_entrynav_icons = true;
set entry_bgcolor = "#8d0701";
set text_permalink = "here";
set color_forms = true;
set main_bgcolor = "#ff0e02";
set comp_state = "right";
set nav_info_text = "The Chosen One";
set links_text = "My Hangouts";
set show_profile = true;
set header_bgcolor = "#8d0701";
set show_summary = true;
set show_calendar = true;
set nav_friends_text = "My Buds Are Here! I Love My Buds!";
set comments_bgcolor = "#fffbfb";
set third_position = "links_order";
set first_position = "profile_order";
</lj-cut>
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment