anchor links; it WAS workin...what happened?

message from jsullysix on 16 Jul 2004
hi all, sorry if this is a moronic question, but here i go.

i'm building a guitar gallery consisting of two long pages; the first page has
thumbnails of each guitar,
and the second has each guitar's description and additional pictures.

here is a link to the "thumbnail page"
http://www.gilaguitars.com/guitargallery/individualgtr.htm

when you click a guitar's thumbnail (on the first page), it should go to that
particular guitar's description and additional pictures (on the second page),
but sadly, it's not working out that way! the problem i'm having is that no
matter what guitar you click on the thumbnail page, it always goes to the very
top anchor on the description page. it was working the other day, and i don't
believe i've done anything to change the anchors.

i'm using mx2004, and i've put anchors on the "description page" for each
individual guitar by selecting insert ->anchor link, then typing the name of
the anchor. i then went to the "thumbnail page" and linked each thumbnail to
its corresponding anchor link. (and i was certain to type the name of the page,
then #, then the name of the anchor correctly)

i'm goin outta my mind, any suggestions? other than "ditch the idea
altogether" that is...
thanks,
sully
 
whatalotofrubbish replied to jsullysix on 17 Jul 2004
I have just looked at the source code on your description page and cannot find
any of your hidden anchors.
When you click on a thumbnail, the page is generating the guitar numbers
correctly but they are not on the second page - at least I can't find them.
(eg - http://www.gilaguitars.com/guitargallery/individualgtr.htm#ltd199
#ltd199 is not found on the page.
Which is why it defaults to the top of the screen.

You do not need an anchor for every guitar on the description page. Most
likely one for every couple of rows, as when it is working, the page will only
scroll down to the level of the anchor. As you can get more than one row of
guitars on the screen, (I see 2 and a half, but some people will only see
less). Just put an anchor on the row end. That saves on anchors and also
perhaps some link directions.

I can only assume that after setting up the anchors, you did not save the file.
 
jsullysix replied to whatalotofrubbish on 17 Jul 2004
thanks for the reply, i appreciate it! good idea about not putting anchors for
each guitar.

the weird thing though, is that when i open the page in DW, i can see all the
anchor tag icons, which would lead me to believe they're there, no? it's
strange that's the case.

thanks again for your help.

sully
 

Archived message: anchor links; it WAS workin...what happened? (Macromedia Dreamweaver Web Design)