First/Previous/Next/Last Day Buttons

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Brian Young
Regular Poster
Posts: 472
Joined: Fri Jan 01, 1999 4:00 pm
Location: Upper Marlboro, MD USA
Contact:

Post by Brian Young »

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by me:
<B> Hmm, I have an idea of another way. I'm going to have to test it, though. You could use a table with the cells sized to the image size. Then put the grayed out version as the cell's backround so when the image doesn't cover it you'll see the grayed out one. Is that practical? At least they all would load at once so when you go through your pages the images would appear fairly quickly after the initial loading. I'll try and get back to you.
</B><HR></BLOCKQUOTE><P>I have implemented the above example on my page. It works!<P><a href="http://boygirlclub.keenspace.com" target="_BLANK">boygirlclub.keenspace.com</a><P>

Shay Caron
Regular Poster
Posts: 57
Joined: Fri Jan 01, 1999 4:00 pm
Location: MI, USA
Contact:

Post by Shay Caron »

Hmmm, that's weird. On my <A HREF="http://protection.keenspace.com" TARGET=_blank>index page</A>, it works for first, previous, and current, but not next! *<I>confused</I>* I'll have to do some tests on that.<P>------------------
-- Shay Caron
E-mail: <A HREF="mailto:Shay_Caron@letterbox.com">Shay_Caron@letterbox.com</A> or <A HREF="mailto:gleemoth@aol.com">gleemoth@aol.com</A>
Web site: <A HREF="http://protection.keenspace.com/" TARGET=_blank>http://protection.keenspace.com/</A>

Shay Caron
Regular Poster
Posts: 57
Joined: Fri Jan 01, 1999 4:00 pm
Location: MI, USA
Contact:

Post by Shay Caron »

Okay, so I've got all the buttons uploaded--first_day.gif, previous_day.gif, and so on. I notice that in the Keenspace archives, when the buttons aren't needed, they're just left out. I'd like to have a separate "grayed-out" button, so that the buttons stay in one place.<P>I dunno if I'm explaining this well. Take the K&K archive at kevinandkell.com as an example. On the archive page with the first strip:
<A HREF="http://www.kevinandkell.com/1995/kk0904.html" TARGET=_blank>http://www.kevinandkell.com/1995/kk0904.html</A> <P>...the "first day", "previous day", and "previous week" buttons are grayed out. Similarly, on the front page:
<A HREF="http://www.kevinandkell.com/" TARGET=_blank>http://www.kevinandkell.com/</A> <P>The same is true of the "next day", "next week", and "current strip" buttons.<P>If it's not too much trouble, I'd also like to be able to set the alt text for my buttons. I'm a control freak over my site design, you see.<P>------------------
-- Shay Caron
E-mail: <A HREF="mailto:Shay_Caron@letterbox.com">Shay_Caron@letterbox.com</A> or <A HREF="mailto:gleemoth@aol.com">gleemoth@aol.com</A>
Web site: <A HREF="http://protection.keenspace.com/" TARGET=_blank>http://protection.keenspace.com/</A>

Frauke
Regular Poster
Posts: 36
Joined: Fri Jan 01, 1999 4:00 pm
Location: Welwyn Garden City
Contact:

Post by Frauke »

Ok, here's a quick thought. Greyed out buttons should be easy enough for your current page - just add the images by hand to your indextemplate.htm file rather than adding the tags.<P>Have a look at the source code for your index and one of your archive pages, that'll give you an idea on what format the next_day etc. links are generated by the script. Then just add something similar for your greyed out images.<P>I don't know how to do that for your first archive page, though. Other than modifying the file in the public html folder, and I don't know if you can/may do that...<P>WHOA! This just in!<P>I just had a look at the source code that was generated for my first archive page. It seems to be looking for two images /images/first_day_ghosted.gif and /images/previous_day_ghosted.gif
this looks suspiciously like the thing you need - just try to upload the ghosted images with these names and you may be in for a winner...<P>I'm going to try it today <IMG SRC="http://www.keenspace.com/forums/smile.gif"> My first page looks silly with two missing images...<P>
Frauke<p>[This message has been edited by Frauke (edited 08-27-2000).]

Tirdun
Regular Poster
Posts: 684
Joined: Fri Jan 01, 1999 4:00 pm
Location: MD, USA
Contact:

Post by Tirdun »

You are correct, sir.<P>Add "_ghoted" to the end of your files, such as "next_day_ghosted.jpg" and that file will load for ***next_day*** if there's no next day, instead of next_day.jpg<P>------------------
Brian West
aka Tirdun
tirdun at yahoo dot com
farawaystars.keenspace.com
- There is no spoon -<p>[This message has been edited by Tirdun (edited 08-27-2000).]

User avatar
Brian Young
Regular Poster
Posts: 472
Joined: Fri Jan 01, 1999 4:00 pm
Location: Upper Marlboro, MD USA
Contact:

Post by Brian Young »

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Shay Caron:
<B>Okay, so I've got all the buttons uploaded--first_day.gif, previous_day.gif, and so on. I notice that in the Keenspace archives, when the buttons aren't needed, they're just left out. I'd like to have a separate "grayed-out" button, so that the buttons stay in one place.
</B><HR></BLOCKQUOTE><P>Hmm, I have an idea of another way. I'm going to have to test it, though. You could use a table with the cells sized to the image size. Then put the grayed out version as the cell's backround so when the image doesn't cover it you'll see the grayed out one. Is that practical? At least they all would load at once so when you go through your pages the images would appear fairly quickly after the initial loading. I'll try and get back to you.
<P>------------------
Brian E. Young
http://mobius5.comicpage.com

Post Reply