ghost nav not working! oh no!

The Gear is deprecated, use the Help forum or CG Wiki.
Locked
User avatar
Hale
Regular Poster
Posts: 264
Joined: Wed Sep 28, 2005 5:11 pm
Location: Gainesville, FL
Contact:

ghost nav not working! oh no!

Post by Hale »

Look directly to the right of the navigation buttons. Do you see it?
http://tofustyle.comicgenesis.com

Because the ghost of the next_day.gif image isn't showing up, that <td> cell has collapsed and the image to the right of it has moved to the left.

I want the next_day_ghosted.gif image to be there because of the overall look of the nav itself so I put the "next_day_ghosted.gif" into the /workspace/images and updated so that it moved into /public_html/images (I double checked, it's there) and performed a full site update.I don't think my html is at fault here. Check out the screenshot:

Image

Does anybody see something I've done wrong here?
ImageImage

User avatar
Hale
Regular Poster
Posts: 264
Joined: Wed Sep 28, 2005 5:11 pm
Location: Gainesville, FL
Contact:

Post by Hale »

*bump*

Come on, I'm in a bind here. Can't anyone help me out?
ImageImage

User avatar
Cope
Incompetent Monster
Posts: 7377
Joined: Sat Jul 31, 2004 8:37 pm
Location: Masked man of mystery
Contact:

Post by Cope »

I've known people to solve the problem of non-appearing ghosted images by simply embedding them manually, i.e: using "<img src="/images/next_day_ghosted.gif">" instead of "***next_day***".

It may take a little more fiddling around with to get right than I know, but it's worth a shot.
Image Image
"I've always been fascinated by failure!" -Charlie Brown

User avatar
Hale
Regular Poster
Posts: 264
Joined: Wed Sep 28, 2005 5:11 pm
Location: Gainesville, FL
Contact:

Post by Hale »

since keenspace derrives the comic index archive from copies of the current index, all the previous comic pages will have an embedded Image image next to the real one (in the archives) if I did that.

how do they get around that?
ImageImage

User avatar
Cope
Incompetent Monster
Posts: 7377
Joined: Sat Jul 31, 2004 8:37 pm
Location: Masked man of mystery
Contact:

Post by Cope »

Although I'm not sure what you mean exactly, my advice is to only use the "<img src="/images/next_day_ghosted.gif">" in your indextemplate code. Keep the ***next_day*** tag in your dailytemplate code.
Image Image
"I've always been fascinated by failure!" -Charlie Brown

User avatar
Hale
Regular Poster
Posts: 264
Joined: Wed Sep 28, 2005 5:11 pm
Location: Gainesville, FL
Contact:

Post by Hale »

Sorry, I don't think I explained that correctly. Leme try again.

when keenspace updates your page, it takes the current index and moves it into the archives. If my current index has both the Image image AND the Image navigational keen tag (+ its assigned image), then both will appear in every page before the current one in my archive.

so basically, the nav for every page in my archive would look like this (if I used an img src instead of a ghost)

Image

(where the first "next_day" would be just an image and the second "next_day" image be the real tag. Regardless two will show up in my archive if I put the img src command in there WITH the keen tag. If I only put the img src command, then the option to go forward will not appear.)

is that a little more clear?
ImageImage

User avatar
Rianeva
Regular Poster
Posts: 616
Joined: Tue Mar 01, 2005 8:31 pm
Location: Seattle
Contact:

Post by Rianeva »

The index page of your comic site is based on indextemplate.html. All archive pages are based on dailytemplate.html. When you update your comic, CG creates a _new_ page for the second-to-last comic (which was previously the latest) from the dailytemplate. Putting an image in your indextemplate will not automatically move it to the archive pages when the comic updates unless you're using txt files for rants and putting the navigation tags in there. Code doesn't get transferred between the two files, and indextemplate.html is not used to create pages for old comics as you seem to be thinking.

User avatar
Hale
Regular Poster
Posts: 264
Joined: Wed Sep 28, 2005 5:11 pm
Location: Gainesville, FL
Contact:

Post by Hale »

oh neat! thanks!
ImageImage

User avatar
Cope
Incompetent Monster
Posts: 7377
Joined: Sat Jul 31, 2004 8:37 pm
Location: Masked man of mystery
Contact:

Post by Cope »

After scratching my head for quite some time, I'm guessing you must be using text files to display your buttons. If that's the case, the remedy mentioned above will indeed be no good for you. Sorry.

EDIT: Whoops, nevermind!
Image Image
"I've always been fascinated by failure!" -Charlie Brown

User avatar
Cope
Incompetent Monster
Posts: 7377
Joined: Sat Jul 31, 2004 8:37 pm
Location: Masked man of mystery
Contact:

Post by Cope »

Oh, and as a preemptive measure:

If you want to know why images in your archived pages are appearing as broken, this might help.
Image Image
"I've always been fascinated by failure!" -Charlie Brown

Locked