View Full Version : link to somewhere on the same page


mashacealde
08-01-2003, 11:06 AM
ok. i dunno how exactly i'm going to explain this but i'll try my best.

you know those pages with the link "back to to top" (just like with lissa's pages) or something like that? does it work on sidescroll pages? but instead of back to top, it's back to left or back to start or something like that?

please help!!

Sheila
08-01-2003, 11:23 AM
I would think the page anchors (http://www.lissaexplains.com/html4.shtml#anchor) work that way too.

mashacealde
08-01-2003, 12:51 PM
oh, ok. thanks. but what if for example, my navigation is on a different frame and then i want it to appear on the mainframe on the certain part of the page, is it gonna work?

i tried it but it didn't work. but i asked it anyway 'cause i'm not sure if it's just me or it really doesn't work.

pb&j
08-01-2003, 03:14 PM
yup.
with frames, just make sure the TARGET is still set to the correct value in the links.
then add the anchor to the end of the webpage filename.

example...

<a href="pagename.html#anchorname" target="mainframe">
text or image
</a>

mashacealde
08-02-2003, 12:23 AM
yeah. i targeted it on the frame where i want it to appear but it doesn't work. i don't know if there's something wrong with the code... if you want, you may check it here (http://www.freewebs.com/sharina_blog/index.htm). by the way, not all links work yet 'cause the page is still under construction.

and umm, could you please also notify me if there are javascript errors on the page so i can fix it up? thanks!

pb&j
08-02-2003, 09:20 AM
it may have problems considering the link is to the "right" instead of "down". dunno really, haven't come across a situation like that before.

mashacealde
08-02-2003, 10:32 AM
ok, thanks. hmm... anybody else have any idea?