Click to See Complete Forum and Search --> : Help!! Need Help!


uhhmike
07-15-2003, 11:59 AM
hi i have a website:
db.etree.org/uhhmike

its a site for my music trading - to list the shows that i have...the thing is:

i want a list of links on top of the page in which i will list the names of the band, and when the person clicks the band, it will take them to see their collection of shows. you know what i mean?

the person clicks the link "elliott smith" and it takes them to see the elliott smith shows that i have on my website. so they dont have to scroll all the way down to see each band's show...

is there any way to do this? thanks if you can help me

AdamGundry
07-15-2003, 12:31 PM
If you put a named anchor next to each name, for example:
<a name="elliott_smith"></a>

you can then hyperlink to it using:
<a href="#elliott_smith">elliott smith</a>

Adam

uhhmike
07-15-2003, 12:41 PM
I dont have access to the bottom code of the page, cos i didnt write that part...it's like a website where you enter show info, and they do the rest for you -- so i didnt write the html code for anything but the part of the website where it speaks of my rules...

any way to do it still?

even tho i cant change the html code below the "my music list"??

AdamGundry
07-15-2003, 12:48 PM
I suppose you could experiment with the Javascript method window.scrollTo(), but that would depend on the page always being the same length, which will probably not always be the case. You would use something like this:

<a href="#" onclick="window.scrollTo(0, 500)">Go to the point 500px down the page</a>

Adam

uhhmike
07-15-2003, 12:51 PM
thatd be great but how do i know what point elliott smith is at?

thanks

uhhmike
07-15-2003, 12:55 PM
is there a way that i can maybe --
just have a piece of code that searches for the words "Elliott Smith" and then it'll go and find it?

like the find command on web browsers, only in html code

thanks

AdamGundry
07-15-2003, 03:19 PM
You can probably search the code and find the name, but I can't think of any way to find the screen position of the name. I'm afraid I don't think you can do this without editing the code you don't have access to - perhaps you could contact the webmaster and ask for named anchors to be added to it.

Adam