I need help with something I thought wouldn't be too hard to do. It's weird so get set
I want to make sort of a scrollbar myself (only the arrows). This is how:
I make several tables in one html-document and give them names:
<a name=a_name>whole table to diplay</a>
so I should be able to link to them with #a_name or filename.html#a_name
I make the tables fit exactly in an <iframe> window.
The problem: linking within the file works, but not always. In the second table I made 2 links. One to go back up and one to 'scroll' further down to another table. The last one of the two won't work. I link them all with javascript by onClick="window.location.href='#3';return true;"
As I said, it works for button 1 in table 1. It works for button 2 in table 2. It DOES NOT work for button 3 in table 2. It does work for button 4 in table 3.
A strange thing is that when I open the file in a normal IE5 browser window (that's how I found out) it also doesn't work but when I scroll a little bit with the browser scrollbar, so that the top of table 2 is not exactly at the top of the browser window, then button 3 works!
I know I may sound confusing but it's a weird thing to me too.
I had this problem before and I could solve it by placing (empty) tables above everything else in the document. Every table I put in would cause the problem to move down 1 button/link. So I placed a bunch of empty tables till none of the buttons had the problem. Unfortunately not this time.
I'm making the homepage at
The scroll-thing isn't up cause it doesn't work. If my description above isn't clear, please let me know and I'll upload or send the html file so you can see.
Loads of thanks in advance!
Serge.
I want to make sort of a scrollbar myself (only the arrows). This is how:
I make several tables in one html-document and give them names:
<a name=a_name>whole table to diplay</a>
so I should be able to link to them with #a_name or filename.html#a_name
I make the tables fit exactly in an <iframe> window.
The problem: linking within the file works, but not always. In the second table I made 2 links. One to go back up and one to 'scroll' further down to another table. The last one of the two won't work. I link them all with javascript by onClick="window.location.href='#3';return true;"
As I said, it works for button 1 in table 1. It works for button 2 in table 2. It DOES NOT work for button 3 in table 2. It does work for button 4 in table 3.
A strange thing is that when I open the file in a normal IE5 browser window (that's how I found out) it also doesn't work but when I scroll a little bit with the browser scrollbar, so that the top of table 2 is not exactly at the top of the browser window, then button 3 works!
I know I may sound confusing but it's a weird thing to me too.
I had this problem before and I could solve it by placing (empty) tables above everything else in the document. Every table I put in would cause the problem to move down 1 button/link. So I placed a bunch of empty tables till none of the buttons had the problem. Unfortunately not this time.
I'm making the homepage at
The scroll-thing isn't up cause it doesn't work. If my description above isn't clear, please let me know and I'll upload or send the html file so you can see.
Loads of thanks in advance!
Serge.