kunzite ([info]kunzite1) wrote in [info]component_help,
@ 2004-07-25 21:32:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:admin: deprecated, user: kunzite1

Shrinking and Centering/Header Image
this is both a public apology to [info]missjecka and a tutorial.
i would first like to apologize to [info]missjecka to how my previous entry was presented. i know that what i intended it to mean isnt as powerful as what it actually meant to her.

if you notice, i removed the links that directly linked to the other page.
my intent for that entry of mine was to state that i was annoyed at the reposting of questions that happens constantly at times.
this is in no way directed at only her, but all of you guys who dont go back and read.
i would also like to think that those people who come up with new nifty ideas would post a top level entry (like this) that says "hey! heres how you do this nifty thing that i came up with in comments on another entry!"

... putting that aside... i have a new tutorial.

i nabbed the base of this from [info]masterslacker's recreating the navbar tutorial.

and i got a spiffy tip from [info]eduthepenguin to just put everything in one bigass table... awesome.
i dont understand you people. :P

update [mar 30, 2005]:
removed warnings for header image junk. added vars to top for header image url and alt text.
completely re-did nav links section to hopefully make it easier to add custom links.
</update>

update [jan 30, 2005]:
if the content of your entries is wider than the width you have set for your journal, it will expand. period. you need to fix your entries so that the overflow is set to auto so scrollbars will activate when needed.
</update>

<update datetime="20051214T150000">
add border="0", cellpadding="0" and cellspacing="0" to $k1Swidth <table>. w00t.
</update>


# <CODE>

################################### # SHRINKING AND CENTERING # # kunzite1, component-help/248593 # # overrides page_layout(Page p) # ###################################
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 (70%) or number of pixels (700px). var string k1Swidth = "70%"; var string k1Sheader_url = ""; # optional header image url var string k1Sheader_alt = ""; # optional header image alt text # 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(); """ <html> <head> <link rel="stylesheet" href="$p.stylesheet_url" type="text/css"/> """; $p->print_head(); """ <title>$title</title> </head> """; # Start the body section of the html document which controls the visible parts of the page. """<body style="text-align:center;">"""; if($k1Sheader_url != "") { """<div align="center"><img src="$k1Sheader_url" alt="$k1Sheader_alt" title="$k1Sheader_alt" /></div>"""; } if($k1Swidth != "") { """<table border="0" cellpadding="0" cellspacing="0" style="border: 0px; margin: auto; padding: 0px; width:$k1Swidth;"><tr><td>"""; } # 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 <body> tag above. if (not $*comp_navbar or $*comp_state=="none") { """ <div class="header">"""; var string[] views_order = ["recent", "friends", "archive", "userinfo"]; # view order # "recent" = recent view # "friends" = friends view # "archive" = calendar view # "userinfo" = userinfo link var string{} view_text = { # build text hash "recent" => $*nav_entries_text, "friends" => $p.journal_type != "C" ? $*nav_friends_text : $*text_view_friends_comm, "archive" => $*nav_calendar_text, "userinfo" => $*nav_info_text }; var string base_url = $p.journal->base_url(); # get base url var string{} view_url = { # build url hash "recent" => "$base_url/", "friends" => "$base_url/friends/", "archive" => "$base_url/calendar/", "userinfo" => "$*SITEROOT/userinfo.bml?user=$p.journal.username&mode=full" }; foreach var string v ($views_order) { print """<span class="header-item"><a href="$view_url{$v}" class="headerLinks">$view_text{$v}</a></span>"""; } # to add your own links you can use these as a templates # print """<span class="header-item"><a href="$*SITEROOT/tools/memories.bml?user=$p.journal.username" class="headerLinks">memories</a></span>"""; # print """<span class="header-item"><a href="http://www.yahoo.com/" class="headerLinks">yahoo!</a></span>"""; if ($p.journal.website_url != "") { print "<span class=\"header-item\"><a href=\"$p.journal.website_url\" class=\"headerLinks\">$p.journal.website_name</a></span>"; } $p->lay_viewspec_nav(); # prints previous / next links including arrow images """ </div> """; } # Print a spacer at the top of the page above the components and main area. """<div><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt="" border="0" /></div>"""; # Start the table which lays out the components and main area in side-by-side layout """ <table cellspacing="0" cellpadding="0" valign="top"> <tr valign="top" width="100%"> <td width="3"> <img src="$*PALIMGROOT/component/clear.gif" width="3" height="1" alt="" border="0" /> </td> """; # 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); """ <td width="3"> <img src="$*PALIMGROOT/component/clear.gif" width="3" height="1" alt="" border="0" /> </td> """; } # 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") { """ <td width="3"> <img src="$*PALIMGROOT/component/clear.gif" width="3" height="1" alt="" border="0" /> </td> """; print_my_components($p); } # Finish off the table for the body """ <td width="3"> <img src="$*PALIMGROOT/component/clear.gif" width="3" height="1" alt="" border="0" /> </td> </tr> </table> """; if($k1Swidth != "") { """</td></tr></table>"""; } # End the body section and end the html document """ </body> </html> """; }

# </CODE>



Page 1 of 5
<<[1] [2] [3] [4] [5] >>

(Post a new comment)


[info]zzyzx
2004-07-25 09:49 pm UTC (link)
Please please use proper XHTML! <img src="" />

(Reply to this) (Thread)(Expand)


[info]kunzite1
2004-07-25 10:10 pm UTC (link)
yes sir! ^_^

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]zzyzx, 2004-07-25 10:24 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-07-26 04:07 am UTC (Expand)
(no subject) - [info]tjackson, 2004-07-25 10:36 pm UTC (Expand)
(no subject) - [info]zzyzx, 2004-07-25 10:44 pm UTC (Expand)

[info]mods2cool
2004-08-04 10:09 am UTC (link)
And what if I want everything to be thin, but not centered... How can I do that?

(Reply to this) (Thread)


[info]kunzite1
2004-08-04 10:12 am UTC (link)
up with the <body> tag, you wanna take the css out.

like this:
"""<body style="text-align:center;">""";

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]mods2cool, 2004-08-04 10:20 am UTC (Expand)
(no subject) - [info]kunzite1, 2004-08-04 10:56 am UTC (Expand)
(no subject) - [info]kurai_mori, 2005-02-22 12:23 am UTC (Expand)
(no subject) - [info]kurai_mori, 2005-02-22 12:26 am UTC (Expand)
(no subject) - [info]kunzite1, 2005-02-22 08:38 am UTC (Expand)
(no subject) - [info]nyguen9, 2005-05-13 04:27 pm UTC (Expand)
(no subject) - [info]the_wordspinner, 2005-10-06 01:06 am UTC (Expand)

[info]_inzilbeth_
2004-08-08 12:54 pm UTC (link)
I can really appreciate the time and effort that you all take to respond to our questions and create these turorials. Thank you!! I realize that typing them out where html is accepted is not easy. And I hate to ask for help...

But I have studied these tutorials and read enties for over 5 hours now and am still lost. Looking at the above tutorial, I can not tell which parts to copy and paste.

Then I am confused where to put them. I followed this tutorial http://www.livejournal.com/community/component_help/52880.html and created my theme layer tiled simply "my theme," is this where I start by typing in - function Page::print_custom_head() {
and then type the code for shrinking and centering my journal size?

And lastly by doing this, do all the colors I selected go away and have to be re-entered.

Sorry this is so long and thanks for the help in advance. I can give you my email address if that is easier.

(Reply to this) (Thread)


[info]kunzite1
2004-08-08 04:56 pm UTC (link)
short answer: yes.

long answer: take a look at this. mainly starting at the "once you have done that" part.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]_inzilbeth_, 2004-08-22 05:58 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-08-22 06:54 pm UTC (Expand)
(no subject) - [info]_inzilbeth_, 2004-08-22 08:28 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-08-22 08:36 pm UTC (Expand)

[info]xksoftballgrlxk
2004-08-23 08:01 am UTC (link)
hey...great tutorial! but i was wondering how i can change my text to align to the left but keep the entries and all that centered. whenever i change the text-align:center to text-align:left the entire journal moves over. can you help?

(Reply to this) (Thread)


[info]kunzite1
2004-08-23 08:32 am UTC (link)
  # Start the body section of the html document which controls the visible parts of the page.
  """<body style="text-align:center;">""";
  if($k1Swidth != "") {
    """<table style="border: 0px; margin: auto; padding: 0px; width:$k1Swidth;"><tr><td>""";
  }
to
  # Start the body section of the html document which controls the visible parts of the page.
  """<body>""";
  """<div style="text-align:center;">""";

  if($k1Swidth != "") {
    """<table style="border: 0px; margin: auto; padding: 0px; width:$k1Swidth;"><tr><td>""";
  }


  if($k1Swidth != "") {
    """</td></tr></table>""";
  }

  # End the body section and end the html document
  """
  </body>
  </html>
  """;
}
to
  if($k1Swidth != "") {
    """</td></tr></table>""";
  }

  # End the body section and end the html document
  """
  </div>
  </body>
  </html>
  """;
}

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]xksoftballgrlxk, 2004-08-23 08:41 am UTC (Expand)
(no subject) - [info]kunzite1, 2004-08-23 08:56 am UTC (Expand)
1 of 2
[info]windswept
2004-08-25 08:06 am UTC (link)
Hi Kunzite1 - I'm back w/a question. I want to shrink the width and add a header graphic, but I still want everything aligned on the left, not centered. Here's what I've done, but it doesn't seem to be working quite right... help, pretty please? (Also, please don’t mock my graphic, it’s just a stand-in for now…) ;^)

Oops, looks like I have to break this up into 2 comments...


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 (70%) or number of pixels (700px).

  var string k1Swidth = "800px";



  # 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();

  """

  <html>

  <head>

    <link rel="stylesheet" href="$p.stylesheet_url" type="text/css"/>

    $p.head_content

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

    <title>$title</title>

  </head>

  """;

  

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

  """<body>""";



  if($k1Swidth != "") {

    """<table style="border: 0px; margin: auto; padding: 0px; width:$k1Swidth;"><tr><td>""";

  }




(Reply to this) (Thread)

Re: 1 of 2
[info]kunzite1
2004-08-25 10:21 am UTC (link)
this was actually answered here.

(Reply to this) (Parent)(Thread)(Expand)

Re: 1 of 2 - [info]windswept, 2004-08-25 10:23 am UTC (Expand)
Re: 1 of 2 - [info]kunzite1, 2004-08-25 10:23 am UTC (Expand)

[info]missjecka
2004-08-26 07:31 am UTC (link)
I just recently got back from vacation, and this solved my problem. Thanks for the help, and for apologizing! You're an awesome member of this community.

(Reply to this) (Thread)


[info]kunzite1
2004-08-26 07:50 am UTC (link)
you're welcome. thanks you.

(Reply to this) (Parent)


[info]galaxynumber5
2004-09-09 06:22 am UTC (link)
Ok, so I know a bit of CSS and HTML and JSscript, but only a bit, and I'm lost. I got stuck the same way with the other tuts, so this is also a general pleading. Can you tell me what to do with this code? I assume that I'm supposed to copy it excluding the green lines and stick it in my layer, and of course change stuff if needed (such as links). Unless I'm way off, this sounds logical to me. So why doesn't it work? I get errors when I try to compile, but I can't locate the problem.

Oh, and what I want is to have the table less wide both on my recent entries and on my friends' page (right now it's only thin on my recent entries page). ::despair::

(Reply to this) (Thread)


[info]kunzite1
2004-09-18 11:11 pm UTC (link)
javascript is not allowed on livejournal.

the green lines are comments in the code and can stay in there, they wont hurt anything.

this tutorial is not supposed to go into your print_free_text(Page p) (it will break things if you do), it stands alone.

if it turns out how you want on your recent page but not your friends page it means that you have successfully made posts compatible with the width but your friends page has entries with which have large objects (such as images) that dont allow the width to shrink (so the whole entry width is as wide as the widest object on the page).

if you use the horizontal and vertical scrollbars in entries tutorial, itll help a little.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]galaxynumber5, 2004-09-19 12:28 am UTC (Expand)
thank you
[info]alexanderwolf
2004-09-27 09:33 pm UTC (link)
This has been a huge help to me.

Thank You - very much.

(Reply to this) (Thread)

Re: thank you
[info]kunzite1
2004-09-27 09:37 pm UTC (link)
yer welcome. :)

(Reply to this) (Parent)


[info]sarea_okelani
2004-09-30 10:57 pm UTC (link)
Thanks very much! This has helped me shrink down my recent entries and friends pages. Any idea how I can get my permalink pages to do the same?

(See http://www.livejournal.com/users/sarea_okelani/109425.html for example of how it's the full screen width.)

Thank you for any suggestions you might have...

(Reply to this) (Thread)


[info]kunzite1
2004-09-30 11:02 pm UTC (link)
the header of this comment in the whole entry view is condensed as far as it can go and is stretching the layout.

the only way to fix this is to alter entrypage::print_body() so it puts the comments inside a scrolling <div>

in other words, too much work.

sorry. :/

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]sarea_okelani, 2004-09-30 11:08 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-09-30 11:09 pm UTC (Expand)

[info]cenedrawood
2004-10-03 03:53 pm UTC (link)
i'm a little confused. can you just tell me what i should put in to make it so that my journal is shurnk? i'm really sorry if i'm asking a stupid question. i just dont understand. thanks...

(Reply to this) (Thread)


[info]kunzite1
2004-10-03 04:12 pm UTC (link)
you seem to already be using a definition of page_layout()

this will replace that definition.

be sure to put the url of your header image into the section for it.

the url is: http://www.cenedrawood.net/images/keira/bannerkeiraprincess.gif
you may also wish to use the alt/title text.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]cenedrawood, 2004-10-03 04:13 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-10-03 04:16 pm UTC (Expand)
(no subject) - [info]cenedrawood, 2004-10-03 04:20 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-10-03 04:21 pm UTC (Expand)

[info]angelfinn
2004-11-02 07:08 am UTC (link)
I hope I'm not bothering you with this question, but a friend of mine sent me to your tutorial and I can't get it to do what I want.

I have a banner already at the top of my journal. This is the code I have in there:
layerinfo "type" = "theme";
layerinfo "name" = "banner";
function Page::print_custom_head() {
"""

""";
}

What I'm trying to do now is move the side margins inward. Please tell me, if you can, exactly what code I need to accomplish this and where I need to put it in the existing layer.

Thanks in advance. :)

(Reply to this)


[info]pink_socks
2004-11-05 12:05 am UTC (link)
I did everything and I have no entry box and my other boxes are in an odd position. o.O;;

Heeeeelp! :)

(Reply to this) (Thread)


[info]kunzite1
2004-11-05 12:09 am UTC (link)
something is wrong with your page_layout() and if you copied this exactly, itd be fine.

maybe you already have a definition of page_layout() in one of your layers.

check both your user layer and your theme layer to make sure that this new code is not conflicting with any other code that you have.

this tutorial should do exactly as it says.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]pink_socks, 2004-11-05 12:11 am UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-05 12:13 am UTC (Expand)
(no subject) - [info]pink_socks, 2004-11-05 12:15 am UTC (Expand)
uhh
[info]shoppingcart
2004-11-06 08:50 am UTC (link)
i have the shrinking code copied and it works fine, but everytime i go to my edit customizations page to change the position of the components on the right side of my page (such as which comes first or second) the page just gos back to its original size. then i try to go back in and make it shrink again and then the same thing happens. ive tried this about 4 times already, what am i doing wrong?

(Reply to this) (Thread)

Re: uhh
[info]kunzite1
2004-11-06 09:12 am UTC (link)
as a general rule, if you are going to use the wizard to change stuff, you need to put your custom code into a theme layer.

all of the set commands should be in the user layer and anything else should be in the theme layer.

(Reply to this) (Parent)(Thread)(Expand)

Re: uhh - [info]shoppingcart, 2004-11-06 03:01 pm UTC (Expand)

[info]ricanprincesa
2004-11-08 03:11 pm UTC (link)
thanks for this ..but I'm having problems shrinking this.

I'm not sure what all I need to copy..so far I copied this part
}

function page_layout(Page p) {
var string k1Swidth = "381px";
}

& what else do I need to do?

(Reply to this) (Thread)(Expand)


[info]kunzite1
2004-11-08 03:18 pm UTC (link)
start at function page_layout(Page p) { and go all the way down.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]ricanprincesa, 2004-11-08 04:05 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-08 04:12 pm UTC (Expand)
(no subject) - [info]ricanprincesa, 2004-11-08 04:38 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-08 04:40 pm UTC (Expand)
(no subject) - [info]ricanprincesa, 2004-11-08 04:46 pm UTC (Expand)
(no subject) - [info]ricanprincesa, 2004-11-08 04:29 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-08 04:32 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-08 03:55 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-08 03:56 pm UTC (Expand)
(no subject) - [info]onedozenroses, 2005-06-14 04:39 pm UTC (Expand)

[info]xokisha
2004-11-09 04:10 pm UTC (link)
this tutorial is very confusing for me
so i need a bit of help

all i want to do is center the page not the next
and size my enitre component to a fixed size
how would i do that?

thanks in advance!

(Reply to this) (Thread)


[info]kunzite1
2004-11-09 04:14 pm UTC (link)
"centering the page" sounds a lot like "centering the journal" which is what this tutorial does.

you can set it to be a width in terms of pixels or percentage.

pixels would be a fixed width and a percentage would be proportional to the width of the window.

(Reply to this) (Parent)


[info]cutipi908
2004-11-12 10:47 am UTC (link)
Ok, I've looked at this tutorial for quite a bit now, and have tried it out but can't seem to get it to work. I'm using the Page::print_custom_head, so does this code get rid of that whole code or does it go after/before it? For the stylesheet section, do I actually have to put the code of my stylesheet? Or do I just leave the code as is with the ? I'm going to keep playing around with it to see if I can get somewhere but I don't see that occuring any time soon Any help would be greatly appreciated. :)

(Reply to this) (Thread)


[info]kunzite1
2004-11-12 11:30 am UTC (link)
this doesnt do anything to print_stylesheet() ... only page_layout()

(Reply to this) (Parent)


[info]evening_star
2004-11-13 03:16 am UTC (link)
Ok so I followed this tutorial to get my journal width shrunken & centered but I keep getting this error,

31: }
32: """
""";

with line 32 in red. When I tried just removing line 32 thinking that would fix the problem, snice I assumed this was only a space providing url other errors would pop up. Could someone help? Thanks so much :)

(Reply to this) (Thread)


[info]evening_star
2004-11-13 03:20 am UTC (link)
the url text didn't show up on my comment. I'm gonna try again with it abrivated this time,

w.livejournal.com/palimg/component/clear.gif" width="1" height="3" alt="" border="0"

this line came before the table cellspacing="0" cellpadding stuff if that helps.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]kunzite1, 2004-11-13 04:19 am UTC (Expand)

(Screened Post)

[info]kunzite1
2004-11-13 09:01 am UTC (link)
im am going to screen your previous comment cuz it has bad html in it and its messing up the layout.

your information is as follows:
LJ Username:  [info]evening_star
Account Type: Paid
Style System: S2
Layout:       Component
S2id:         4306182
User layer:   2731805 (browse, source)
Theme layer:  2840725 (browse, source)
IM info on userinfo.
you also havent placed layerinfo "source_viewable" = 1; in your layers.
the square components should work on either side. but not both.
someone will have to come up with their own code to make it work on both sides.
the code to put it on the left or the right is the way it should be in the tutorial. it does not need modification.
set comp_state = "right"; should be in your user layer and it will place the components on the right.
set comp_state = "left"; will place the components on the left.
set comp_state = "none"; will remove the components.

(Reply to this) (Parent)


[info]uniquewonders
2004-11-14 07:56 am UTC (link)
That's great! But it worked perfectly for everything except my Friends Page because I've allowed user pics on this one so the component for the entries is wider. Is there a way to shrink it too. Sorry if this has been asked before but this was left unanswered and that wasn't helpful.

By the way thank you for all the work you're doing here. This community rocks!

(Reply to this) (Thread)


[info]uniquewonders
2004-11-14 08:46 am UTC (link)
ETA : Strangely, I don't have any pb when I wanna post a comment whereas I do have a userpic on that one so I guess this has nothing to do with it... but i have the problem when I load the page with all the comments.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]kunzite1, 2004-11-15 07:59 pm UTC (Expand)

[info]lilbreck
2004-11-25 05:40 pm UTC (link)
I just have one quick {hopefully} question. I've been trying for the past couple of days, but I can't quiet seem to get this to combine with the square components tutorial. Is there a quick way to do it?

And yes, I realize the answer is probably staring me in the face, but I just can't see it.


Tonya

(Reply to this) (Thread)


[info]kunzite1
2004-11-25 07:50 pm UTC (link)
square components does not include a page_layout() definition.
shrinking and centering is page_layout()

check for another page_layout() definition in your code.
otherwise, you might be trying to put this into the wrong place such as into the middle of another function, which would be bad.

other than that, id have to take a look at your layer.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]lilbreck, 2004-11-25 08:14 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-25 08:19 pm UTC (Expand)
(no subject) - [info]lilbreck, 2004-11-25 08:28 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-25 08:44 pm UTC (Expand)

[info]_coquettish
2004-11-25 06:02 pm UTC (link)
Alright, I'm using the code now (and it is so wonderful of you to come up with these, thank you!)...but I can't get my image to appear. The only thing I changed in your code was the image URL and the caption. Help, please?

(Reply to this) (Thread)(Expand)


[info]kunzite1
2004-11-25 07:52 pm UTC (link)
ok. you got the other part done.

there is a # in front of the part with the image stuffs. remove the # before the <div>

(Reply to this) (Parent)

(no subject) - [info]kunzite1, 2004-11-25 07:52 pm UTC (Expand)
(no subject) - [info]_coquettish, 2004-11-25 07:58 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-11-25 08:12 pm UTC (Expand)

[info]seriouslyso
2004-12-07 01:25 pm UTC (link)
I copy and pasted everything and my journal resized to 70%, I altered it to 50%, but I can seem to get the entry page any smaller than the 70% and my friends page changed.

Any tips on how to get everything working?

(Reply to this) (Thread)


[info]kunzite1
2004-12-07 05:05 pm UTC (link)
youll need to implement scrolling entries.
vertical and horizontal scrollies can be found in the tutorials.

(Reply to this) (Parent)


[info]korlange
2004-12-14 05:00 pm UTC (link)
hi. alright. i pasted the code, and then clicked back to my main page but nothing seemed to have changed. then i clicked over to my friends page and that was where the change took place. so, i took out the style="text-align:center;" so that it would align to the left and then attempted to change the var string k1Swidth from 70% to 90% but nothing happened. my friends page won't get larger or smaller and my main page doesn't change at all.

i hope that makes sense. >.

(Reply to this) (Thread)


[info]kunzite1
2004-12-14 05:06 pm UTC (link)
my guess is that you post wide entries and there are wide entries on your friends page.

try the scrolling entries tutorials as well.

(Reply to this) (Parent)


[info]meremeremere
2004-12-17 04:32 am UTC (link)
Okay, I finally figured out my problem.
It does work on internet explorer but the alignment always stays at center with Mozilla. I normally use Mozilla, any suggestions on how to fix the alignment for BOTH browsers.
Thanks again for such a wonderful tutorial!

(Reply to this) (Thread)


[info]kunzite1
2004-12-17 09:09 am UTC (link)
the solution is that ie is dumb.

i just tell people to deal with that and move on.

*shrug*

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]meremeremere, 2004-12-17 03:54 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-12-17 04:09 pm UTC (Expand)

(Screened Post)
(no subject) - [info]kunzite1, 2004-12-17 04:29 pm UTC (Expand)

(Deleted post)
(no subject) - [info]kunzite1, 2004-12-17 04:55 pm UTC (Expand)
(no subject) - [info]thicklikasnicka, 2004-12-24 04:03 pm UTC (Expand)

[info]immortal_spirit
2004-12-24 05:18 pm UTC (link)
Hello,

I'm still new at this, but I need help and I have a very stupid question!

Where exactly do I put all of this? And do I just copy and paste it, without changing anything? Thanks!

I know the ideal thing to do right now is ignore me completely, but please, I need help!

(Reply to this) (Thread)


[info]kunzite1
2004-12-24 07:21 pm UTC (link)
it seems that you are using the theme called bluetiful.
edit your user layer and add layerinfo "source_viewable" = 1; into the top and give me the layerid number.

we'll go from there.

(Reply to this) (Parent)(Thread)(Expand)

(no subject) - [info]immortal_spirit, 2004-12-25 06:08 am UTC (Expand)
(no subject) - [info]kunzite1, 2004-12-25 11:00 pm UTC (Expand)
(no subject) - [info]immortal_spirit, 2004-12-26 01:39 am UTC (Expand)
(no subject) - [info]kunzite1, 2004-12-26 09:14 am UTC (Expand)
(no subject) - [info]immortal_spirit, 2004-12-26 11:44 am UTC (Expand)
(no subject) - [info]kunzite1, 2004-12-26 12:05 pm UTC (Expand)
(no subject) - [info]immortal_spirit, 2004-12-26 12:47 pm UTC (Expand)
(no subject) - [info]kunzite1, 2004-12-26 12:51 pm UTC (Expand)
(no subject) - [info]sintron, 2005-08-20 01:33 am UTC (Expand)
(no subject) - [info]kunzite1, 2005-08-20 01:40 am UTC (Expand)
(no subject) - [info]sintron, 2005-08-20 01:59 am UTC (Expand)
(no subject) - [info]kunzite1, 2005-08-20 02:02 am UTC (Expand)

Page 1 of 5
<<[1] [2] [3] [4] [5] >>

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…