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:

lost....

Ok I got this code from mirax_terrak (thanks!)

anyway, can you tell me what's wrong with it? it's for an unattatched nav bar...seperated. maybe rounded too which I hope



function page_layout(Page p) {
var string title = $p->title();
var Color header = $*header_bgcolor;
var Color headerMinus5 = $header->darker(50);
var Color headerPlus3 = $header->lighter(30);
var string corner_color =
"/p0"+$headerPlus3->substr(1,6)+"1"+$headerMinus5->substr(1,6)+"2"+$header->substr(1,6);

"""


""";

"""









""";

if (not $*comp_navbar or $*comp_state=="none") {
"""


valign="top">








width="100%">

width="5">

width="5">





















width="5">

width="5">
















""";
}

"""
""";

valign="top">




""";


if ($*comp_state == "left") {
print_my_components($p);
"""



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



""";
print_my_components($p);
}
"""








""";
}

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments