Hi,
I have directory named 'Library'. This contains a subfolder named 'Books', i.e., 'Library/Books'. In the 'Books' folder I have placed 70 html-files, dubbed 1, 2, 3, ... 68, 69, 70. What I would like to do is when I type in the page number '154' in an input field it knows in which of the 70 files where the anchor tag '<a name="154"> is located and subsequently takes me to the place in the specific file containing this tag.
It is possible with this code:
<input type="text" value="" onchange="window.location = 'EntireBook.html/#' +
this.value;" />
However, this code requires that all the chapters of a certain book is placed in the 'EntireBook.html' file. But to make the editing of files more managable, easier to overview, and the files not so big I prefer to have each chapter in seperate files.
I hope someone can help and that I have clarified it well enough.
Cheers Philip
I have directory named 'Library'. This contains a subfolder named 'Books', i.e., 'Library/Books'. In the 'Books' folder I have placed 70 html-files, dubbed 1, 2, 3, ... 68, 69, 70. What I would like to do is when I type in the page number '154' in an input field it knows in which of the 70 files where the anchor tag '<a name="154"> is located and subsequently takes me to the place in the specific file containing this tag.
It is possible with this code:
<input type="text" value="" onchange="window.location = 'EntireBook.html/#' +
this.value;" />
However, this code requires that all the chapters of a certain book is placed in the 'EntireBook.html' file. But to make the editing of files more managable, easier to overview, and the files not so big I prefer to have each chapter in seperate files.
I hope someone can help and that I have clarified it well enough.
Cheers Philip