Page 1 of 1

A little help please?

Posted: Wed May 26, 2004 12:00 pm
by NotDead
hey guys.

whats the easiest way to keep updates with the strips they go with like id i have a may 5th strip and i have a text update/news thing for that week how do i get them to stay with that strip when you go from strip to strip?? whats the easiest way?

chris.

Posted: Wed May 26, 2004 12:32 pm
by Mercury Hat
For a comic that's 20040505.whatever then make a text file, put all the news in it, save it as 20040505b.txt and put it in the comic folder like you're putting in a new comic. Run a manual update and they'll be on the same page together if I've got this right.

Posted: Wed May 26, 2004 1:10 pm
by NotDead
will it fit in with my layout or do i just put the whole source code in the text file and put the update text where i want it or what? how do i get iyt to fit in with the layout?

Posted: Wed May 26, 2004 1:47 pm
by Mercury Hat
It should conform to the layout of the page, it'll get put under the comic. You can add in html in the file to put up links, format it differently and what-have-you if you want.

Posted: Thu May 27, 2004 7:08 pm
by NotDead
ok i got the updates working on my archive likeyou said but i cant get it to look quite like the front page "indextemp" heres the index temp

http://notdead.keenspace.com/

and heres my archive page for that same strip

http://notdead.keenspace.com/d/20040525.html

notice the difference? the directionals are in different places i want them all like the indextemp.

oh and also for my archive i have it listed by date is there any way i can get them to list it by title of comic say if i had titles?

thanks guys

Posted: Thu May 27, 2004 9:49 pm
by Joel Fagin
NotDead wrote:oh and also for my archive i have it listed by date is there any way i can get them to list it by title of comic say if i had titles?
Nope. Not unless you make and update the archive page manually - which isn't too much work, really. It's possible you might be able to wrangle it through Javascript but I don't think so. Well, if you can, then it's certainly beyond me.

- Joel Fagin

Posted: Sat May 29, 2004 4:23 am
by YarpsDat
NotDead wrote: notice the difference? the directionals are in different places i want them all like the indextemp.
The only difference I see is the lack of "Howdy all.." ect. on the archived page.
BTW, you still have that silly thing:

Code: Select all

<div id="Layer1" style="position:absolute; left:265px; top:9px; width:140px; height:6px; z-index:1"> 
As far as I can tell (well, your html is complicated so I can't be sure) this is the <div> that contains the main body of your site. (the comic, navigation and rant)
Notice the "width:140px;" - it makes no sence!
The first thing you put in is a 720px wide image, so the browser inflates the div to be wide.
BUT, it is possible for the browser to have a different defaults set, and it could just clip your image to the size.

Next thing:

Code: Select all

<div id="Layer2" style="position:absolute; left:112px; top:104px; width:152px; height:129px; z-index:2"> 
this is the div with the votebuttons and other links.
Notice the "left:112px;" - it makes very little sence!
For some reason you want 112px of white space on the left side of your comic. What for dude?
BTW, what is your screen resolution? Because I suspect you did it to center the site on screen, but for me it almost pushes the comic off the screen, and it looks annoing.


I don't see a reason for you to use the position:absolute;
What would be wrong with a setting like this (apart from it using tables, and <center> tag...):

Code: Select all

<center><table>
<tr><td colspan="2">***advertisement***</td></tr>
<tr><td>ADVERTISE, vote buttons, and other stuff</td>
<td>The comic, navigation, rant</td></tr></table></center>

Posted: Sat May 29, 2004 5:20 am
by RPin
I assume you must be using Dreamweaver to design your page.

Div layers are to complicated too work without it. Anyways, like Yarps Said, I see no difference between the two except for the lack of rant.

To make the rants in your archive look like your main page, you should put all the code that goes below the ***todays_comic*** in a txt file (say, 20040225b.txt) so it gets included in your html.

It's what I do. The navigation bar of my comic is not part of the indextemplate, they go in two txt files named yyyymmdda.text and yyyymmddc.txt, being yyyymmddb the comic itself.