x_glamour_x (x_glamour_x) wrote in component_help,
x_glamour_x
x_glamour_x
component_help

  • Mood:
  • Music:
Is there a way to hide my icon using a code in the stylesheet? Also.. how do I changed my 'friends' thing to be a custom group instead.. like I dont want my actual friends list, I want http://www.livejournal.com/users/x_glamour_x/friends/NotGraphics instead. These are the stylesheet thing..



layerinfo "type" = "user";
set font_size = "small";
set calendar_text = "calendar";
set text_post_comment = "CMNT";
set page_recent_items = 7;
set text_reply_back = "CMNT";
set lineheight = 12;
set free_text = "";
set text_meta_mood = "Feeling";
set nav_entries_text = "e n t r i e s";
set show_entrynav_icons = false;
set second_position = "profile_order";
set page_friends_items = 7;
set calendar_inactive = "C3CDD9";
set show_free_text = true;
set show_links = true;
set comment_divider = "&&";
set text_read_comments = "1 commented // # commented";
set entry_fgcolor = "#000000";
set text_post_comment_friends = "amaze and astound me";
set comp_bgcolor = "#C3CDD9";
set sixth_position = "summary_order";
set text_meta_music = "Hearing";
set comp_navbar = true;
set show_entrynav_icons = false;
set header_fgcolor = "#000000";
set entry_link_visited = "#A2AEC6";
set font_family = "Tahoma, sans-serif";
set background_scrolling = "fixed";
set fifth_position = "calendar_order";
set comments_screened_bgcolor = "#C3CDD9";
set text_read_comments_friends = "1 commented // # commented";
set icalendar = true;
set nav_text_back = "earlier";
set page_background_image = "http://pics.livejournal.com/x_glamour_x/pic/00002w2t";
set calendar_active = "#C3CDD9";
set nav_calendar_text = "c a l e n d a r";
set fourth_position = "free_text_order";
set profile_text = "the girl";
set entry_link = "#000000";
set header_link = "#000000";
set nav_text_forward = "later";
set show_entry_userpic = true;
set show_entrynav_icons = false;
set entry_bgcolor = "#C3CDD9";
set nav_info_text = "u s e r i n f o";
set links_text = "MY LINKS";
set show_profile = true;
set header_bgcolor = "#C3CDD9";
set show_summary = false;
set show_calendar = true;
set nav_friends_text = "f r i e n d s";
set comments_bgcolor = "#C3CDD9";
set third_position = "links_order";
set first_position = "navigation_order";
function page_layout(Page p) {
var string title = $p->title();
"""
<html>
<head>
<style>
html {
.div {filter:chroma(color=#555555);
scrollbar-face-color:#C3CDD9;
scrollbar-shadow-color:#000000;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#C3CDD9;
scrollbar-darkshadow-color:#C3CDD9;
scrollbar-track-color:#C3CDD9;
scrollbar-arrow-color:#000000}
}
</style>
<style>
.entryHeader {
text-transform: uppercase;
}
</style>
<style>
img {
border: 0px;
}
</style>
<style>
<bgsound src="http://www.iwebmusic.com/1/1324.WMA" loop=1></bgsound>
</style>
</style>
<style>
a {
font-weight: bold;
}
a:link {
font-weight: bold;
}
a:visited {
font-weight: bold;
}
a:hover {
font-weight: bold;
}
</style>
<style>
.sideheader {
font-size: 7pt;
}
.entry {
font-size: 6pt;
}

.entryDate {
font-size: 7pt;
}
.entryHeader {
font-size: 8pt;
}
select, input, textarea {
font-size: 7pt;
}

a:link {
font-size: 8pt;
}
a:visited {
font-size: 8pt;
}
a:hover {
font-size: 8pt;
}
</style>
<style>
.entryDate {
text-align: center;
}
</style>
<style>
.calendarInactive {
border: 1px solid #000000;
}

.calendarActive {
border: 1px solid #000000;
}
</style>
<link rel="stylesheet" href="$p.stylesheet_url" type="text/css" />
$p.head_content
<title>$title</title>
</head>
<body><br>
<td><center><img src="http://pics.livejournal.com/x_glamour_x/pic/000012pw/s640x480"><p></center></td>
<table width="70%" 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>
</div>
</body>
</html>
""";
}
function print_profile(Page p) {

print_comp_header("Kaleigh");
"""
<table cellspacing="0" cellpadding="0" border="0">
<br>
<td width="100%" align="center">
<p align="justify"><a href="http://www.livejournal.com/allpics.bml?user=x_glamour_x" alt="ICONS">
<img src="http://www.livejournal.com/userpic/25082444/4842155" align="right" alt="ICONS"></a> 15.She's a girl. She loves to dream.In love.Missing someone.Deep thinker.Self-conscious.Likes to make graphics. Likes to learn. Adores Marilyn Monroe. Adores Lucille Ball. Appears older then she quite is. Has gone through too much. Want to be loved. Loves Music. Loved the good 'ol days. Loves her friends. Loves,loves,loves photography.Loves black and white anything. Loved to draw. People watcher.Vulnerable.
Whats to be wonderful.
More later :)
<br>
<br><center><a href="mailto:kaleighx@gmail.com">E-MAIL</a> && <a href="http://www.livejournal.com/users/fxxck/" target="fxxck">fxxck</a> && <a href="aim:goim?screenname=emo style xx&message=Hey! What's up!?" alt="AIM">AIM</a></center>
<br>
</td>
</tr>
</table>
""";
print_comp_footer();
}

function print_free_text(Page p) {
print_comp_header("HEARING");
"""
<div id="Layer1" style="border:0px solid #878787; position:relative; width:100%; height:100px; z-index:1; overflow: auto; overflow-x: hidden; scrollbar-face-color:#C3CDD9; scrollbar-shadow-color:#000000; scrollbar-highlight-color:#000000; scrollbar-3dlight-color:#C3CDD9; scrollbar-darkshadow-color:#C3CDD9; scrollbar-track-color:#C3CDD9; scrollbar-arrow-color:#000000};">
<table width="100%" cellpadding="3" cellspacing="0">
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B0000634G4.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Taking Back Sunday</b><br><i>Tell all your friends</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B0007GAEW6.01.THUMBZZZ.jpg"border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>The Mars Volta</b><br><i>Frances The Mute</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B000068QZI.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Aerosmith</b><br><i>Greatest Hits</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B0002858YS.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>The Killers</b><br><i>Hot Fuss</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B00066VU3E.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Hellogoodbye</b><br><i>selftitled</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://pics.livejournal.com/x_glamour_x/pic/000039zw" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>G.W. Newry</b><br><i>selftitled</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B00004TRWE.01.THUMBZZZ.jpg"border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Bright Eyes</b><br><i>Fevors and Mirrors</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B00025ETIW.01.THUMBZZZ.jpg"border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>My Chemical Romance</b><br><i>Three Cheers for Sweet Revenge</i><br> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B00001WRMI.01.THUMBZZZ.jpg"border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Saves The Day</b><br><i>Through with being Cool</i><br> </td>
</tr>
</table>
</div>
""";
print_comp_footer();
print_comp_header("WATCHING");
"""
<div id="Layer1" style="border:0px solid #000000; position:relative; width:100%; height:100px; z-index:1; overflow: auto; overflow-x: hidden; scrollbar-face-color:#C3CDD9; scrollbar-shadow-color:#000000; scrollbar-highlight-color:#000000; scrollbar-3dlight-color:#C3CDD9; scrollbar-darkshadow-color:#C3CDD9; scrollbar-track-color:#C3CDD9; scrollbar-arrow-color:#000000};">
<table width="100%" cellpadding="3" cellspacing="0">
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B00005JNBQ.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Napoleon Dynamite</b> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B00013RC2K.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Thirteen</b> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B0008FXT1Y.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Be Cool</b> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B0002KPHVU.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Mad Tv</b> </td>
</tr>
<tr bgcolor="#C3CDD9">
<td align="left">
<img src="http://images.amazon.com/images/P/B0002HOEKS.01.THUMBZZZ.jpg" border="0" style="border: 1px solid #000" /></td>
<td align="left"><b>Degrassi TNG</b> </td>
</tr>
</table>
</div>
""";
print_comp_footer();
print_comp_header("LAYOUT & GRAPHICS");
"""
<table cellspacing="0" cellpadding="0" border="0">
<br>
<td width="100%" align="left">
My layout currently features <b>Johnny Depp</b>. All the graphics were created by <b>me</b> and for only <b>me</b>, so please don't take them. I'd like to thank <a href="http://www.livejournal.com/users/_crossmyheartx3">_crossmyheartx3</a> for the component codes. This layout is best viewed in 1024x768 on IE.
<br>
</td>
</tr>
</table>
""";
print_comp_footer();
#######################################################
# Control Panel #
# by kunzite1 #
# #
# If logged in: #
# Customize #
# *Advanced Customization #
# *Your Layers #
# *Your Styles #
# *Your Link List #
# Update #
# Edit Entries #
# Your Cluster #
# Logout #
# #
# If not logged in: #
# Login #
#######################################################
# Title bar of component when logged in #
var string k1CPloggedInTitle = "Control Panel"; #
# Title bar of component when not logged in #
var string k1CPloggedOutTitle = "login box"; #
# LOGIN BOX #
# Label for entering username #
var string k1CPusername = "username:"; #
# Label for entering password #
var string k1CPpassword = "password:"; #
# Label for forgot password link #
var string k1CPforgot = "forget?"; #
# Label for expiration options #
var string k1CPexpiration = "expiration:"; #
# Label for expiring when window closes #
var string k1CPclose = "close window"; #
# Label for never expiring #
var string k1CPnever = "never"; #
# Label for binding to ip #
var string k1CPbind = "bind to ip:"; #
# Label for accepting binding to ip #
var string k1CPy = "yes"; #
# Label for denying binding to ip #
var string k1CPn = "no"; #
# Label for log in button #
var string k1CPsubmit = "log in"; #
#######################################################
# CONTROL PANEL START #
#######################
if(viewer_logged_in()){
var Color k1CPltLineColor = $*header_bgcolor->lighter(30);
var string k1CPltLineString = $k1CPltLineColor.as_string;
var string k1CPmedLineString = $*header_bgcolor.as_string;
var Color k1CPdkLineColor = $*header_bgcolor->darker(50);
var string k1CPdkLineString = $k1CPdkLineColor.as_string;
var string k1CPopenRow = """ <tr>\n <td align="center" width="30%">""";
var string k1CPcloseRow = """ </td>\n </tr>\n""";
var string k1CPnewCell = """ </td>\n <td align="center" width="30%">""";
# i used these variables to make it easier to make the table# $k1CPopenRow opens a table row# $k1CPcloseRow closes a table row# $k1CPnewCell closes the open cell and opens a new one# customize the links as you wish# all paid user items are italicized for non-paid users who come to your journal
print_comp_header("$k1CPloggedInTitle");
"""
<table border="1" bordercolor="$k1CPmedLineString" cellspacing="0" frame="void" width="100%">
$k1CPopenRow
<a href="$*SITEROOT/customize/">
customize
</a>
$k1CPnewCell
<a href="$*SITEROOT/customize/advanced/">
<em>advanced</em>
</a>
$k1CPnewCell
<a href="$*SITEROOT/customize/advanced/layers.bml">
<em>layers</em>
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/customize/advanced/styles.bml">
<em>styles</em>
</a>
$k1CPnewCell
<a href="$*SITEROOT/manage/links.bml">
<em>link lists</em>
</a>
$k1CPnewCell
<a href="$*SITEROOT/update.bml?mode=full">
update
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/editjournal.bml">
edit entries
</a>
$k1CPnewCell
<a href="$*SITEROOT/friends/">
edit friends
</a>
$k1CPnewCell
<a href="$*SITEROOT/editinfo.bml">
edit info
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/changepassword.bml">
edit pass
</a>
$k1CPnewCell
<a href="$*SITEROOT/editpics.bml">
edit pics
</a>
$k1CPnewCell
<a href="$*SITEROOT/memories.bml">
memories
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/misc/whereami.bml">
my cluster
</a>
$k1CPnewCell
<a href="$*SITEROOT/portal/">
my portal
</a>
$k1CPnewCell
<a href="$*SITEROOT/site/">
site map
</a>
$k1CPcloseRow
$k1CPopenRow
<a href="$*SITEROOT/stats.bml">
site stats
</a>
$k1CPnewCell
<a href="$*SITEROOT/birthdays.bml">
birthdays
</a>
$k1CPnewCell
<a href="$*SITEROOT/logout.bml">
logout
</a>
$k1CPcloseRow
</table>
""";
} else {
print_comp_header("$k1CPloggedOutTitle");
"""
<form action='$*SITEROOT/login.bml' method='post'>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td>$k1CPusername</td><td><input type='text' name='user' size='15' maxlength='15' /></td></tr>
<tr><td valign='top'>$k1CPpassword</td><td><input type='password' name='password' size='15' maxlength='30' /><br /><a href='$*SITEROOT/lostinfo.bml'><font size='1'>$k1CPforgot</font></a></td></tr>
<tr valign='top'><td>$k1CPexpiration:</td><td>
<input type='radio' name='expire' value='close' checked='checked' id='close' /> <label for='close'>$k1CPclose</label><br />
<input type='radio' name='expire' value='never' id='never' /> <label for='never'>$k1CPnever</label>
</td></tr>
<tr valign='top'><td>Bind to IP address:</td><td>
<input type='radio' name='bindip' value='yes' id='bindyes' /> <label for='bindyes'>$k1CPy</label><br />
<input type='radio' name='bindip' value='no' checked='checked' id='bindipno' /> <label for='bindipno'>$k1CPn</label>
</td></tr>
<tr><td colspan='2' align='center'><input name='action:login' type='submit' value='$k1CPsubmit' /></td></tr>
</table>
</form>
""";
}
print_comp_footer();
#####################
# CONTROL PANEL END #
#####################
}
function print_my_entries(Page p, string title) {
"""<td valign="top" width="100%">""";
$p->print_body();
} # end of Function print_my_entries
function Page::print_linklist() {
var string height = "130px"; # height of component
var int count = 0;
var string return = "";
var string compBR = """<div class="medLine">"""
+ """<img src="$*SITEROOT/palimg/component/clear.gif" width="1" height="1" alt="" border="0" />"""
+ """</div>"""
+ """<div class="ltLine">"""
+ """<img src="$*SITEROOT/palimg/component/clear.gif" width="1" height="1" alt="" border="0" />"""
+ """</div>\n""";
if (size $.linklist <= 0) {
return;
} elseif (not $*linklist_support) {
return;
}

var bool section_open = false;
$return = $return + """<div id="Layer1" style="position:relative; height:$height; z-index:1; overflow: auto;">""";

foreach var UserLink l ($.linklist) {
$count = $count + 1;
if ($l.title) {
if ($l.is_heading) {
if ($section_open) {
$return = $return + "<br />";
}
$return = $return + """<span style="font-weight: bold;">$l.title</span>$compBR""";
$section_open = true;
} else {
$return = $return + """<a href="$l.url">$l.title</a>""";
if($count < size($.linklist)){
$return = $return + $compBR;
}
}
}
}
$return = $return + "</div>";
"""$return""";
}
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 3 comments