Stephaniexx
03-22-2003, 11:22 AM
Ok, i've been working on a site, and i have a table in it
in one of the tables is a scrollbox-thingy
i wanted to create the following thing:
page ancors so that I could click in the table thingy and then it would go to a place in the scrollbox. it doesnt seem to work though :( does anyone know why, and how i can solve this, cuz ive seen it on sites before.. :S
~thanks
What type of scrollbox-thingy do you have - is it an iframe?
page anchors (http://www.lissaexplains.com/html4.shtml#anchor)?
I'd really help if you posted a code or a link.
zangerbanger
03-23-2003, 02:54 AM
I think what you're looking for is Iframes. I know it looks like it uses page anchors but really it doesn't (it's just a sub-window). For more information on Iframes go here:
http://www.lissaexplains.com/frames.shtml#inline
Hope it helps!
Stephaniexx
03-23-2003, 12:28 PM
Yes, I know about that. but i wanted
something like this
(links) (scrollbox here)
Welcome
About me
and when i'd click welcome i'd go to a place in the scrollbox, but appearently it doesnt work o.o
Stephaniexx
03-23-2003, 12:31 PM
Here's an example
http://www.speedis.org/images/118430.jpg
Can someone help me with this :)
it doesnt have to look like that at all, but when you click the "about her" button you get redirected to a place in the scrollbox, how do i do that?
MaGiCSuN
03-23-2003, 12:40 PM
well we can't help on that picture, because we don't know if it's an iframe or div box. I coded something for you, that is almost similar to what you where looking for. I did put it in a table so you can have the scrollthing on one side and the links on the other side.
<table border=0 width="100" cellspacing=0 cellpadding=0>
<tr><td valign="top">
links here!<br>
<a href="#blog">blog</a></td>
<td valign="top">
<DIV id="scrollthing" style="width:50px; height:100px; overflow: auto;">
put all your 'stuff' in here so that you can use those page anchors<p>
<p>
<a name="blog">now it should be at the blog part !</a></DIV>
</td></tr>
</table>
i took as example "blog" as page anchor, and i made a link of that. Now in the "div" (what is the scrollthing) i have some content and one part of the content is between a <a> and </a> tag, that will tell the 'page anchor' to go to that part when you click on "blog".
you can edit heights and widths to your own need :) The bold parts are the parts from the 'links' and the 'scrollthingy' parts wich you can edit fully. you can add more links (on the same way as i did blog!) and add more content. Make sure you add a <a name="NAMEHERE"> before it, so that the anchor knows where to jump to
[EDIT]: got the code uploaded, youcan see it here: http://mirna.ruptured.org/link/anchors.html
Love,
Mirna
Stephaniexx
03-23-2003, 12:42 PM
Yes, I think thats what I needed :)
thanks! (dankjewel! ;))